summaryrefslogtreecommitdiff
path: root/graphics/libgii/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-01-02 23:15:44 +0000
committerjmmv <jmmv>2003-01-02 23:15:44 +0000
commit3bbdda3cb81500ffaf791725415e19bc56433a9f (patch)
treef3560ca54677a3f00c39a8718c975ee4241947cb /graphics/libgii/Makefile
parent78d26c99eb79410e4a648ccad0a5bf8e9d5fadd4 (diff)
downloadpkgsrc-3bbdda3cb81500ffaf791725415e19bc56433a9f.tar.gz
Make this package install its configuration file under the examples tree
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'graphics/libgii/Makefile')
-rw-r--r--graphics/libgii/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/libgii/Makefile b/graphics/libgii/Makefile
index 3b1f453baef..d7ff8b53e5f 100644
--- a/graphics/libgii/Makefile
+++ b/graphics/libgii/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/11/25 20:16:26 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2003/01/02 23:15:44 jmmv Exp $
#
DISTNAME= libgii-0.6
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/current/
@@ -18,5 +19,11 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --enable-mutexes=int
CONFIGURE_ARGS+= --with-x
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
+PKG_SYSCONFSUBDIR= ggi
+EGDIR= ${PREFIX}/share/examples/ggi
+CONF_FILES= ${EGDIR}/libgii.conf ${PKG_SYSCONFDIR}/libgii.conf
+
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"