diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 21:30:49 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 21:30:49 +0800 |
commit | 23e5a8c854724e903fe0aa5f69b41265e869b0c7 (patch) | |
tree | be2166e54c816941b2f0da2ac2fa3ecfe51e7c4c /sysutils | |
parent | 37177b631a85bfa2a4bad75d8b63686a1c08a7ab (diff) | |
download | freebsd-ports-gnome-23e5a8c854724e903fe0aa5f69b41265e869b0c7.tar.gz freebsd-ports-gnome-23e5a8c854724e903fe0aa5f69b41265e869b0c7.tar.zst freebsd-ports-gnome-23e5a8c854724e903fe0aa5f69b41265e869b0c7.zip |
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/filetype/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/sysutils/filetype/Makefile b/sysutils/filetype/Makefile index c6f7e633e00b..00f72c11c6ca 100644 --- a/sysutils/filetype/Makefile +++ b/sysutils/filetype/Makefile @@ -9,20 +9,18 @@ MASTER_SITES= http://www.pldaniels.com/filetype/ MAINTAINER= ismail.yenigul@endersys.com.tr COMMENT= New file-type detection system -MAN1= filetype.1 filetype-compile.1 PORTDOCS= README CHANGELOG CONTRIBUTORS INSTALL LICENSE TODO -PLIST_FILES= bin/filetype +PLIST_FILES= bin/filetype man/man1/filetype-compile.1.gz \ + man/man1/filetype.1.gz -NO_STAGE= yes -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/filetype ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/filetype.1 ${MANPREFIX}/man/man1/ - ${INSTALL_DATA} ${WRKSRC}/filetype-compile.1 ${MANPREFIX}/man/man1/ +OPTIONS_DEFINE= DOCS -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/filetype ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/filetype.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/filetype-compile.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |