Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 08:44:44 +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: r345929 - head/net/zsync
Message-ID:  <201402250844.s1P8iiwJ004431@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 08:44:44 2014
New Revision: 345929
URL: http://svnweb.freebsd.org/changeset/ports/345929
QAT: https://qat.redports.org/buildarchive/r345929/

Log:
  Support staging

Modified:
  head/net/zsync/Makefile

Modified: head/net/zsync/Makefile
==============================================================================
--- head/net/zsync/Makefile	Tue Feb 25 08:40:09 2014	(r345928)
+++ head/net/zsync/Makefile	Tue Feb 25 08:44:44 2014	(r345929)
@@ -11,20 +11,21 @@ COMMENT=	A file transfer program
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-PLIST_FILES=	bin/zsync \
-		bin/zsyncmake
-BINS=		zsync zsyncmake
+
 PORTDOCS=	COPYING INSTALL NEWS README
-MAN1=		zsync.1 \
-		zsyncmake.1
+PLIST_FILES=	bin/zsync bin/zsyncmake \
+		man/man1/zsync.1.gz man/man1/zsyncmake.1.gz
+
+MANPAGE=	zsync.1 zsyncmake.1
+BINS=		zsync zsyncmake
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin
-	${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${MANPAGE:S,^,${WRKSRC}/doc/,} \
+		${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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