diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2013-10-06 22:06:43 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2013-10-06 22:06:43 +0000 |
commit | c30feda81acccaee294d2a1a8d99024abc8e5f50 (patch) | |
tree | 811f0903f98323055f7380457cf6637cec1cf2f9 /ftp | |
parent | Update to 2.67 release candidate #3. (diff) |
Support staging; cleanup !NOPORTDOCS -> PORT_OPTIONS:MDOCS
Notes
Notes:
svn path=/head/; revision=329633
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ftpcopy/Makefile | 15 | ||||
-rw-r--r-- | ftp/ftpcopy/pkg-plist | 3 |
2 files changed, 10 insertions, 8 deletions
diff --git a/ftp/ftpcopy/Makefile b/ftp/ftpcopy/Makefile index f4a34b652b52..64fdc18f6233 100644 --- a/ftp/ftpcopy/Makefile +++ b/ftp/ftpcopy/Makefile @@ -14,9 +14,8 @@ USE_PERL5= build WRKSRC= ${WRKDIR}/web/${DISTNAME} -MAN1= ftpcopy.1 ftpcp.1 ftpls.1 +.include <bsd.port.options.mk> -NO_STAGE= yes pre-build: ${ECHO} "${CC}" >${WRKSRC}/src/conf-cc ${ECHO} "${CPPFLAGS} ${CFLAGS}" >${WRKSRC}/src/conf-cflags @@ -24,14 +23,14 @@ pre-build: do-install: cd ${WRKSRC}/compile && \ - ${INSTALL_PROGRAM} ftpcopy ftpls ${PREFIX}/bin && \ - ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 && \ - ${INSTALL_SCRIPT} ftpcp ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} && \ + ${INSTALL_PROGRAM} ftpcopy ftpls ${STAGEDIR}${PREFIX}/bin && \ + ${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/man/man1 && \ + ${INSTALL_SCRIPT} ftpcp ${STAGEDIR}${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ cd ${WRKSRC}/compile && \ ${INSTALL_DATA} ChangeLog NEWS \ - README THANKS ftpcopy.html ftpls.html ${DOCSDIR} + README THANKS ftpcopy.html ftpls.html ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/ftp/ftpcopy/pkg-plist b/ftp/ftpcopy/pkg-plist index 61be29ec3775..3399dd9500ff 100644 --- a/ftp/ftpcopy/pkg-plist +++ b/ftp/ftpcopy/pkg-plist @@ -1,6 +1,9 @@ bin/ftpcp bin/ftpcopy bin/ftpls +man/man1/ftpcopy.1.gz +man/man1/ftpcp.1.gz +man/man1/ftpls.1.gz %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README |