From cdc7e75add554f6126673bc2a7cf053726f26a55 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 4 Apr 2014 08:14:04 +0000 Subject: [PATCH] - Support staging - Use shebangfix - Convert USE_BZIP2=yes to USES=tar:bzip2 --- ftp/ftpsync/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/ftp/ftpsync/Makefile b/ftp/ftpsync/Makefile index a3545c67cbfc..0afefdc1f921 100644 --- a/ftp/ftpsync/Makefile +++ b/ftp/ftpsync/Makefile @@ -13,19 +13,18 @@ COMMENT= Synchronizes a local and a remote FTP directory trees 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