Date: Sat, 18 Jan 2014 15:46:24 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340190 - head/sysutils/flexbackup Message-ID: <201401181546.s0IFkOEl018166@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sat Jan 18 15:46:24 2014 New Revision: 340190 URL: http://svnweb.freebsd.org/changeset/ports/340190 QAT: https://qat.redports.org/buildarchive/r340190/ Log: - Enable stagedir support - Add LICENSE - Simplify OPTIONS Modified: head/sysutils/flexbackup/Makefile head/sysutils/flexbackup/pkg-plist (contents, props changed) Modified: head/sysutils/flexbackup/Makefile ============================================================================== --- head/sysutils/flexbackup/Makefile Sat Jan 18 15:42:01 2014 (r340189) +++ head/sysutils/flexbackup/Makefile Sat Jan 18 15:46:24 2014 (r340190) @@ -11,14 +11,13 @@ MASTER_SITES= http://www.edwinh.org/flex MAINTAINER= mva@FreeBSD.org COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star -# FreeBSD 6.0 removed gtar -RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar - -TAR_CMD= ${PREFIX}/bin/gtar +LICENSE= GPLv2 -MAKE_ARGS= PERLPATH=${PERL} CONFFILE=${PREFIX}/etc/flexbackup.conf +RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar USES= perl5 +MAKE_ARGS= PERLPATH=${PERL} CONFFILE=${PREFIX}/etc/flexbackup.conf +TAR_CMD= ${PREFIX}/bin/gtar SUB_FILES+= pkg-message @@ -29,48 +28,30 @@ MBUFFER_DESC= Enable mbuffer support STAR_DESC= Enable star support ZIP_DESC= Enable zip support -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MAFIO} -RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio -.endif - -.if ${PORT_OPTIONS:MBUFFER} -RUN_DEPENDS+= buffer:${PORTSDIR}/misc/buffer -.endif - -.if ${PORT_OPTIONS:MMBUFFER} -RUN_DEPENDS+= mbuffer:${PORTSDIR}/misc/mbuffer -.endif - -.if ${PORT_OPTIONS:MSTAR} -RUN_DEPENDS+= star:${PORTSDIR}/archivers/star -.endif - -.if ${PORT_OPTIONS:MZIP} -RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip -.endif +AFIO_RUN_DEPENDS= afio:${PORTSDIR}/sysutils/afio +BUFFER_RUN_DEPENDS= buffer:${PORTSDIR}/misc/buffer +MBUFFER_RUN_DEPENDS= mbuffer:${PORTSDIR}/misc/mbuffer +STAR_RUN_DEPENDS= star:${PORTSDIR}/archivers/star +ZIP_RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip -MAN1= flexbackup.1 -MAN5= flexbackup.conf.5 +DOCLIST= CHANGES CREDITS README TODO faq.html post-patch: @${REINPLACE_CMD} -e 's|%%TAR_CMD%%|'${TAR_CMD}'|g' \ ${WRKSRC}/flexbackup.conf do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${PREFIX}/bin/flexbackup - @${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${PREFIX}/etc/flexbackup.conf.sample - @${INSTALL_MAN} ${WRKSRC}/flexbackup.1 ${MAN1PREFIX}/man/man1 - @${INSTALL_MAN} ${WRKSRC}/flexbackup.conf.5 ${MAN5PREFIX}/man/man5 - -DOCLIST= CHANGES CREDITS README TODO faq.html + @${INSTALL_SCRIPT} ${WRKSRC}/fb.install \ + ${STAGEDIR}${PREFIX}/bin/flexbackup + @${INSTALL_DATA} ${WRKSRC}/flexbackup.conf \ + ${STAGEDIR}${PREFIX}/etc/flexbackup.conf.sample + @${INSTALL_MAN} ${WRKSRC}/flexbackup.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/flexbackup.conf.5 \ + ${STAGEDIR}${MAN5PREFIX}/man/man5 post-install: -.if ${PORT_OPTIONS:MDOCS} - @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCLIST}" ${DOCSDIR} -.endif + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCLIST}" ${STAGEDIR}${DOCSDIR} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Modified: head/sysutils/flexbackup/pkg-plist ============================================================================== --- head/sysutils/flexbackup/pkg-plist Sat Jan 18 15:42:01 2014 (r340189) +++ head/sysutils/flexbackup/pkg-plist Sat Jan 18 15:46:24 2014 (r340190) @@ -1,5 +1,7 @@ bin/flexbackup etc/flexbackup.conf.sample +man/man1/flexbackup.1.gz +man/man5/flexbackup.conf.5.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401181546.s0IFkOEl018166>