summaryrefslogtreecommitdiff
path: root/graphics/fnlib/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-02 14:20:49 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-02 14:20:49 +0000
commit8188847c3a5e4ee2ac3a57a85266f9ce7f88aac0 (patch)
tree5888f48758660bba88dbe96fbbd19618dc328a35 /graphics/fnlib/Makefile
parent69bd158e0da8e67c797cfb18aeaa60d7c3d89615 (diff)
downloadpkgsrc-8188847c3a5e4ee2ac3a57a85266f9ce7f88aac0.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 2.
Diffstat (limited to 'graphics/fnlib/Makefile')
-rw-r--r--graphics/fnlib/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/fnlib/Makefile b/graphics/fnlib/Makefile
index 32c7622f6e0..c2e2fdeada4 100644
--- a/graphics/fnlib/Makefile
+++ b/graphics/fnlib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2002/08/25 18:38:58 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2003/01/02 14:20:49 jmmv Exp $
DISTNAME= fnlib-0.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 graphics
MASTER_SITES= ftp://ftp.enlightenment.org/pub/e/enlightenment/libs/
@@ -15,9 +15,14 @@ GNU_CONFIGURE= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
+EGDIR= ${PREFIX}/share/examples/fnlib
+CONF_FILES= ${EGDIR}/fnrc ${PKG_SYSCONFDIR}/fnrc
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fnlib
${INSTALL_DATA} ${WRKSRC}/doc/fontinfo.README ${PREFIX}/share/doc/fnlib
.include "../../graphics/imlib/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"