summaryrefslogtreecommitdiff
path: root/graphics/xpaint
diff options
context:
space:
mode:
authortron <tron>2001-03-31 22:33:25 +0000
committertron <tron>2001-03-31 22:33:25 +0000
commit2833bece08070fcb80b5b9d2cef8421a5934b199 (patch)
treecaa17cd83621d86d95cb2afe0552ed02642c6b10 /graphics/xpaint
parent9e83d8179efafc6291b7eaf8bec9c03a57404e17 (diff)
downloadpkgsrc-2833bece08070fcb80b5b9d2cef8421a5934b199.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/xpaint')
-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"