aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/makefaq
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 17:03:17 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 17:03:17 +0800
commit70a3c39ba4c124ff442eb0a2be81e06d56a91b05 (patch)
tree74aadd600e81b1770b0ce6d567662af902d74d4a /textproc/makefaq
parenta9c0bb6bd30b51f9509369c81a3719e06d193cae (diff)
downloadfreebsd-ports-gnome-70a3c39ba4c124ff442eb0a2be81e06d56a91b05.tar.gz
freebsd-ports-gnome-70a3c39ba4c124ff442eb0a2be81e06d56a91b05.tar.zst
freebsd-ports-gnome-70a3c39ba4c124ff442eb0a2be81e06d56a91b05.zip
Support staging
Diffstat (limited to 'textproc/makefaq')
-rw-r--r--textproc/makefaq/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/textproc/makefaq/Makefile b/textproc/makefaq/Makefile
index dd67e62e8aca..04901208519e 100644
--- a/textproc/makefaq/Makefile
+++ b/textproc/makefaq/Makefile
@@ -13,21 +13,17 @@ COMMENT= Makefaq is a Python program that creates a (FAQ)
USE_PYTHON= yes
NO_BUILD= yes
-MAN1= makefaq.1
-PLIST_FILES= bin/makefaq.py
+PLIST_FILES= bin/makefaq.py man/man1/makefaq.1.gz
PORTDOCS= README UPGRADING faq.html
-NO_STAGE= yes
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/makefaq.py ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/makefaq.1 ${MAN1PREFIX}/man/man1
+OPTIONS_DEFINE= DOCS
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/makefaq.py ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/makefaq.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>