summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-03-31 22:33:25 +0000
committertron <tron@pkgsrc.org>2001-03-31 22:33:25 +0000
commit7c25b8d84cfde77e1097367f4cc9e936bdf5fb08 (patch)
treecaa17cd83621d86d95cb2afe0552ed02642c6b10 /graphics
parent3b2806a00cf886e61bcd18ddd96b57d2e776a411 (diff)
downloadpkgsrc-7c25b8d84cfde77e1097367f4cc9e936bdf5fb08.tar.gz
Add "lib/X11/doc/html/xpaint.1.html" to the package list dynamically
because XFree86 4.0.x installs this file.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpaint/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 7b45ca3ae4f..ec630eadaaa 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2001/03/30 21:44:48 hubertf Exp $
+# $NetBSD: Makefile,v 1.28 2001/03/31 22:33:25 tron Exp $
# FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp
DISTNAME= xpaint-2.6.1
@@ -19,6 +19,7 @@ USE_XPM= YES
USE_RMAN= YES
EVAL_PREFIX= XPMDIR=xpm
+PLIST_SRC= ${WRKDIR}/PLIST
pre-configure:
${MV} -f ${WRKSRC}/Local.config ${WRKSRC}/Local.config.save
@@ -27,4 +28,10 @@ pre-configure:
-e 's|\$${XPMDIR}|${XPMDIR}|g' \
${WRKSRC}/Local.config.save > ${WRKSRC}/Local.config
+post-install:
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ if [ -f ${PREFIX}/lib/X11/doc/html/xpaint.1.html ]; then \
+ ${ECHO} lib/X11/doc/html/xpaint.1.html >>${PLIST_SRC}; \
+ fi
+
.include "../../mk/bsd.pkg.mk"