diff options
author | pawel <pawel@FreeBSD.org> | 2014-08-03 17:15:42 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-08-03 17:15:42 +0800 |
commit | 46aeac168f46b2eab91bf7e8c76c7e7e4264812f (patch) | |
tree | 9462fab72e6797ecad14f122df00c2e400356a88 /sysutils | |
parent | 6f955294287a2ed267b002b09b31e24dc68222b5 (diff) | |
download | freebsd-ports-gnome-46aeac168f46b2eab91bf7e8c76c7e7e4264812f.tar.gz freebsd-ports-gnome-46aeac168f46b2eab91bf7e8c76c7e7e4264812f.tar.zst freebsd-ports-gnome-46aeac168f46b2eab91bf7e8c76c7e7e4264812f.zip |
- Add staging support
- Convert to new options framework
- Switch to PLIST_FILES
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rsyncmanager/Makefile | 20 | ||||
-rw-r--r-- | sysutils/rsyncmanager/pkg-message | 1 | ||||
-rw-r--r-- | sysutils/rsyncmanager/pkg-plist | 2 |
3 files changed, 8 insertions, 15 deletions
diff --git a/sysutils/rsyncmanager/Makefile b/sysutils/rsyncmanager/Makefile index 0fa648cca55c..b1e1f2e146a2 100644 --- a/sysutils/rsyncmanager/Makefile +++ b/sysutils/rsyncmanager/Makefile @@ -16,26 +16,22 @@ USE_RUBY_FEATURES= ruby18 NO_BUILD= yes +PLIST_FILES= bin/rsyncmanager.rb etc/rsyncmanager.xml.sample PORTDOCS= README USE_RC_SUBR= ${PORTNAME} SUB_LIST= RUBY_WITHOUT_SUFFIX="${RUBY_WITHOUT_SUFFIX}" -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.rb ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/documentation/${PORTNAME}.xml ${PREFIX}/etc/${PORTNAME}.xml.sample -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for docfile in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/documentation/${docfile} ${DOCSDIR} -.endfor -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.rb ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/documentation/${PORTNAME}.xml \ + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.xml.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/documentation/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/rsyncmanager/pkg-message b/sysutils/rsyncmanager/pkg-message index a8232c8e2e37..677591e20248 100644 --- a/sysutils/rsyncmanager/pkg-message +++ b/sysutils/rsyncmanager/pkg-message @@ -7,4 +7,3 @@ To use rsyncmanager, be sure to include rsyncmanager_enable="YES" in rc.conf - diff --git a/sysutils/rsyncmanager/pkg-plist b/sysutils/rsyncmanager/pkg-plist deleted file mode 100644 index 5b310d9abe22..000000000000 --- a/sysutils/rsyncmanager/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/rsyncmanager.rb -etc/rsyncmanager.xml.sample |