summaryrefslogtreecommitdiff
path: root/graphics/libgii/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-02 23:15:44 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-02 23:15:44 +0000
commit161491bfbe7ff5b365c7a893111b87ddcd5df330 (patch)
treef3560ca54677a3f00c39a8718c975ee4241947cb /graphics/libgii/Makefile
parentb3da55bb9a1db2ae1d59a051a3d8c3ed587b6f81 (diff)
downloadpkgsrc-161491bfbe7ff5b365c7a893111b87ddcd5df330.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"