summaryrefslogtreecommitdiffstats
path: root/net/pmf/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-08-25 14:07:35 +0000
committerkevlo <kevlo@FreeBSD.org>2000-08-25 14:07:35 +0000
commitfef306defd1983ca8a7230de043cc6260b4250c3 (patch)
treef0c80c95f148001f3ea8b82d67b3b9b311233ac7 /net/pmf/Makefile
parentd54ca814786af0268974f11a6382800440714093 (diff)
downloadFreeBSD-ports-fef306defd1983ca8a7230de043cc6260b4250c3.zip
FreeBSD-ports-fef306defd1983ca8a7230de043cc6260b4250c3.tar.gz
- Support NOPORTDOCS
- Change location of data files from libdata/ to share/ PR: 20840 Submitted by: Ports Fury
Diffstat (limited to 'net/pmf/Makefile')
-rw-r--r--net/pmf/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/net/pmf/Makefile b/net/pmf/Makefile
index c66cbf9..b41da70 100644
--- a/net/pmf/Makefile
+++ b/net/pmf/Makefile
@@ -20,19 +20,22 @@ XMPSRC= ${WRKSRC}/../examples
post-patch:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/pmfrc.default.in \
- > ${WRKSRC}/../system_dir/pmfrc.default
+ > ${SYSSRC}/pmfrc.default
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pmf ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/libdata/pmf/helpfiles
- ${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${PREFIX}/libdata/pmf
- ${INSTALL_DATA} ${SYSSRC}/NEWS ${PREFIX}/libdata/pmf
- ${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${PREFIX}/libdata/pmf/helpfiles
- ${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${PREFIX}/libdata/pmf/helpfiles
- @${MKDIR} ${PREFIX}/share/doc/pmf
- ${INSTALL_DATA} ${DOCSRC}/../doc/* ${PREFIX}/share/doc/pmf
+ @${MKDIR} ${PREFIX}/share/pmf
+ ${INSTALL_DATA} ${SYSSRC}/NEWS ${PREFIX}/share/pmf
+ ${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${PREFIX}/share/pmf
+ @${MKDIR} ${PREFIX}/share/pmf/helpfiles
+ ${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${PREFIX}/share/pmf/helpfiles
+ ${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${PREFIX}/share/pmf/helpfiles
@${MKDIR} ${PREFIX}/share/examples/pmf
- ${INSTALL_DATA} ${XMPSRC}/.pmfrc ${PREFIX}/share/examples/pmf
+ ${INSTALL_DATA} ${XMPSRC}/.pmfrc ${PREFIX}/share/examples/pmf/dot.pmfrc
${INSTALL_DATA} ${XMPSRC}/* ${PREFIX}/share/examples/pmf
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/pmf
+ ${INSTALL_DATA} ${DOCSRC}/* ${PREFIX}/share/doc/pmf
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud