aboutsummaryrefslogtreecommitdiff
path: root/sysutils/extipl
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-09 05:55:32 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-09 05:55:32 +0000
commit39d5af83c189f5fd2a356573035faa69bd3cadb0 (patch)
tree666cd8ef425e5f38a8cd8d83c1d8770b37fa3582 /sysutils/extipl
parent58b502f5283ed78b7be43219d976ab7b4faa8198 (diff)
downloadports-39d5af83c189f5fd2a356573035faa69bd3cadb0.tar.gz
ports-39d5af83c189f5fd2a356573035faa69bd3cadb0.zip
Notes
Diffstat (limited to 'sysutils/extipl')
-rw-r--r--sysutils/extipl/Makefile18
-rw-r--r--sysutils/extipl/pkg-plist11
2 files changed, 19 insertions, 10 deletions
diff --git a/sysutils/extipl/Makefile b/sysutils/extipl/Makefile
index 9f3d5a0c68c8..6d8cab93d316 100644
--- a/sysutils/extipl/Makefile
+++ b/sysutils/extipl/Makefile
@@ -14,12 +14,10 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+OPTIONS_DEFINE= DOCS
-MAN8= ${PORTNAME}.8
-PORTDOCS= *
-PLIST_FILES= sbin/${PORTNAME}
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-patch:
cd ${WRKSRC}; \
${SED} -e 's|!!DOCDIR!!|${DOCSDIR}|g' \
@@ -28,13 +26,13 @@ post-patch:
-e 's/(DIR)[\t]*[?]=/$$1=/;' Makefile
do-install:
- ${INSTALL_PROGRAM} -m 700 ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8
+ ${INSTALL_PROGRAM} -m 700 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/English
- ${INSTALL_DATA} ${WRKSRC}/../doc/English/*.txt ${DOCSDIR}/English
- @${MKDIR} ${DOCSDIR}/Japanese
- ${INSTALL_DATA} ${WRKSRC}/../doc/Japanese/*.txt ${DOCSDIR}/Japanese
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/English
+ ${INSTALL_DATA} ${WRKSRC}/../doc/English/*.txt ${STAGEDIR}${DOCSDIR}/English
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/Japanese
+ ${INSTALL_DATA} ${WRKSRC}/../doc/Japanese/*.txt ${STAGEDIR}${DOCSDIR}/Japanese
.endif
.include <bsd.port.mk>
diff --git a/sysutils/extipl/pkg-plist b/sysutils/extipl/pkg-plist
new file mode 100644
index 000000000000..9500656114de
--- /dev/null
+++ b/sysutils/extipl/pkg-plist
@@ -0,0 +1,11 @@
+man/man8/extipl.8.gz
+sbin/extipl
+%%PORTDOCS%%%%DOCSDIR%%/English/extipl.txt
+%%PORTDOCS%%%%DOCSDIR%%/English/scorpius.txt
+%%PORTDOCS%%%%DOCSDIR%%/English/techical.txt
+%%PORTDOCS%%%%DOCSDIR%%/Japanese/extipl.txt
+%%PORTDOCS%%%%DOCSDIR%%/Japanese/scorpius.txt
+%%PORTDOCS%%%%DOCSDIR%%/Japanese/techical.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/Japanese
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/English
+%%PORTDOCS%%@dirrm %%DOCSDIR%%