Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 08:14:04 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350064 - head/ftp/ftpsync
Message-ID:  <201404040814.s348E4WX069908@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404040814.s348E4WX069908>