diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-04-26 12:43:52 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-04-26 12:43:52 +0000 |
commit | b6bdaaea201ca590d4a76bb586a21da597b4feb6 (patch) | |
tree | 00d8a2f714ed898aea9f325ae8fb8dc5701d55d9 /sysutils/feather | |
parent | 41f66abee667dff3cc4bc4dea9ebc65f0b41356e (diff) |
Update to 1.2.0.
PR: 209050
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=414053
Diffstat (limited to 'sysutils/feather')
-rw-r--r-- | sysutils/feather/Makefile | 33 | ||||
-rw-r--r-- | sysutils/feather/distinfo | 4 | ||||
-rw-r--r-- | sysutils/feather/pkg-plist | 3 |
3 files changed, 18 insertions, 22 deletions
diff --git a/sysutils/feather/Makefile b/sysutils/feather/Makefile index a2b158f852e8..66105e60b596 100644 --- a/sysutils/feather/Makefile +++ b/sysutils/feather/Makefile @@ -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 tarsnap backups 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} - -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} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/sysutils/feather/distinfo b/sysutils/feather/distinfo index bbfe4c8fd495..412e7793b466 100644 --- a/sysutils/feather/distinfo +++ b/sysutils/feather/distinfo @@ -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 diff --git a/sysutils/feather/pkg-plist b/sysutils/feather/pkg-plist deleted file mode 100644 index b9f6be9ed14c..000000000000 --- a/sysutils/feather/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/feather -etc/feather.yaml.dist -%%PORTDOCS%%%%DOCSDIR%%/README |