aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 21:30:49 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 21:30:49 +0800
commit23e5a8c854724e903fe0aa5f69b41265e869b0c7 (patch)
treebe2166e54c816941b2f0da2ac2fa3ecfe51e7c4c /sysutils
parent37177b631a85bfa2a4bad75d8b63686a1c08a7ab (diff)
downloadfreebsd-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/Makefile20
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>