svn commit: r350064 - head/ftp/ftpsync
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Apr 4 08:14:04 UTC 2014
Author: ehaupt
Date: Fri Apr 4 08:14:04 2014
New Revision: 350064
URL: http://svnweb.freebsd.org/changeset/ports/350064
QAT: https://qat.redports.org/buildarchive/r350064/
Log:
- Support staging
- Use shebangfix
- Convert USE_BZIP2=yes to USES=tar:bzip2
Modified:
head/ftp/ftpsync/Makefile
Modified: head/ftp/ftpsync/Makefile
==============================================================================
--- head/ftp/ftpsync/Makefile Fri Apr 4 08:11:32 2014 (r350063)
+++ head/ftp/ftpsync/Makefile Fri Apr 4 08:14:04 2014 (r350064)
@@ -13,19 +13,18 @@ COMMENT= Synchronizes a local and a remo
RUN_DEPENDS= p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww
+USES= perl5 tar:bzip2 shebangfix
NO_BUILD= yes
-USE_BZIP2= yes
-USES= perl5
+
PLIST_FILES= bin/${PORTNAME}.pl
+SHEBANG_FILES= ftpsync.pl
PORTDOCS= README
-NO_STAGE= yes
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/
+OPTIONS_DEFINE= DOCS
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list