From fef306defd1983ca8a7230de043cc6260b4250c3 Mon Sep 17 00:00:00 2001 From: kevlo Date: Fri, 25 Aug 2000 14:07:35 +0000 Subject: - Support NOPORTDOCS - Change location of data files from libdata/ to share/ PR: 20840 Submitted by: Ports Fury --- net/pmf/Makefile | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'net/pmf/Makefile') 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 -- cgit v1.1