summaryrefslogtreecommitdiff
path: root/graphics/xpaint/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-12-16 05:14:27 +0000
committerdholland <dholland@pkgsrc.org>2011-12-16 05:14:27 +0000
commitccb8bd2484d6c8191472ede9e09fab7a23f3f9d6 (patch)
treec77f27022649c2cac57a6c1a5efa2726bca94efb /graphics/xpaint/Makefile
parent9d3f25a2d10ecefc3187cf26c31ee01e5549ad78 (diff)
downloadpkgsrc-ccb8bd2484d6c8191472ede9e09fab7a23f3f9d6.tar.gz
Yet another package that thinks it's a good idea to conditionalize on
X headers' include guards, which changed at some point. Hack it to recognize what's there nowadays as well as the old symbol. While here, deploy INSTALLATION_DIRS to work around apparent dir permission problems in the package's own install logic.
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r--graphics/xpaint/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 368a142cdcf..8359f4fa807 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2011/07/14 09:52:59 shattered Exp $
+# $NetBSD: Makefile,v 1.68 2011/12/16 05:14:27 dholland Exp $
DISTNAME= xpaint-2.7.8.1
PKGREVISION= 7
@@ -25,6 +25,19 @@ SUBST_SED.foo= -e "s|@LOCALBASE@|${LOCALBASE}|g" \
-e "s|@XAWDIR@|${BUILDLINK_PREFIX.Xaw3d}|g" \
-e "s|@XPMDIR@|${BUILDLINK_PREFIX.libXpm}|g"
+INSTALLATION_DIRS+= bin lib/X11/app-defaults ${PKGMANDIR}/cat1
+INSTALLATION_DIRS+= share/xpaint
+INSTALLATION_DIRS+= share/xpaint/include
+INSTALLATION_DIRS+= share/xpaint/c_scripts
+INSTALLATION_DIRS+= share/xpaint/c_scripts/3d_surfaces
+INSTALLATION_DIRS+= share/xpaint/c_scripts/filters
+INSTALLATION_DIRS+= share/xpaint/c_scripts/images
+INSTALLATION_DIRS+= share/xpaint/c_scripts/layers
+INSTALLATION_DIRS+= share/xpaint/c_scripts/procedures
+INSTALLATION_DIRS+= share/xpaint/c_scripts/3d_curves
+INSTALLATION_DIRS+= share/xpaint/help
+INSTALLATION_DIRS+= share/xpaint/messages
+
pre-configure:
cd ${WRKSRC} && ./configure xaw3dg