Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2016 12:43:52 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414053 - head/sysutils/feather
Message-ID:  <201604261243.u3QChqYR094570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Apr 26 12:43:52 2016
New Revision: 414053
URL: https://svnweb.freebsd.org/changeset/ports/414053

Log:
  Update to 1.2.0.
  
  PR:		209050
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Deleted:
  head/sysutils/feather/pkg-plist
Modified:
  head/sysutils/feather/Makefile   (contents, props changed)
  head/sysutils/feather/distinfo   (contents, props changed)

Modified: head/sysutils/feather/Makefile
==============================================================================
--- head/sysutils/feather/Makefile	Tue Apr 26 12:43:46 2016	(r414052)
+++ head/sysutils/feather/Makefile	Tue Apr 26 12:43:52 2016	(r414053)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	feather
-PORTVERSION=	1.0
+PORTVERSION=	1.2.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils python
-MASTER_SITES=	http://www.sourcehosting.net/freebsd/distfiles/ \
-		LOCAL/glarkin
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python script for managing tarsnap backups
@@ -13,13 +12,20 @@ COMMENT=	Python script for managing tars
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml \
 		tarsnap>=0:sysutils/tarsnap
 
-USES=		python
+USES=		python:2,run
 NO_BUILD=	yes
 NO_ARCH=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	danrue
+
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+PORTDOCS=	README.md
+PORTEXAMPLES=	feather.cron.d.example
+PLIST_FILES=	bin/feather etc/feather.yaml.dist
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/feather ${STAGEDIR}${PREFIX}/bin
@@ -27,17 +33,10 @@ do-install:
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-x-generate-tarball:
-	${SETENV} ${FETCH_ENV} ${FETCH_BINARY} -m -o ${PORTNAME}.tar.gz \
-		https://github.com/danrue/${PORTNAME}/tarball/master
-	target=`${TAR} -tvf ${PORTNAME}.tar.gz | head -n 1`; \
-	dir=`${ECHO} $${target} | ${AWK} '{print $$9}' | ${SED} -e 's|/$$||'`; \
-	${TAR} -zxf ${PORTNAME}.tar.gz; \
-	${RM} ${PORTNAME}.tar.gz; \
-	${MV} $${dir} ${PORTNAME}-${PORTVERSION}; \
-	${TAR} -zcf ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-${PORTVERSION}; \
-	${RM} -r ${PORTNAME}-${PORTVERSION}
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/sysutils/feather/distinfo
==============================================================================
--- head/sysutils/feather/distinfo	Tue Apr 26 12:43:46 2016	(r414052)
+++ head/sysutils/feather/distinfo	Tue Apr 26 12:43:52 2016	(r414053)
@@ -1,2 +1,2 @@
-SHA256 (feather-1.0.tar.gz) = a787bb73baa4377a375412c1882fd6f04c3f88a23b474fef4988b53dedef24a2
-SIZE (feather-1.0.tar.gz) = 4992
+SHA256 (danrue-feather-v1.2.0_GH0.tar.gz) = 9de98d3b88e50091c8ca64ad0142f2a18a73bfe12fa12195f8a5f0412ce17fb7
+SIZE (danrue-feather-v1.2.0_GH0.tar.gz) = 5480



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604261243.u3QChqYR094570>