summaryrefslogtreecommitdiff
path: root/graphics/imlib/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-11-26 12:32:20 +0000
committerjmmv <jmmv@pkgsrc.org>2002-11-26 12:32:20 +0000
commit67318997cd125db344af54b12bbb9ee2436a85ff (patch)
tree6d2aa2cc88b793dfbc5bc81e245ebc3573a669c9 /graphics/imlib/Makefile
parent9011252b1a5f19f8c959371262c1aa1cb9cde05e (diff)
downloadpkgsrc-67318997cd125db344af54b12bbb9ee2436a85ff.tar.gz
Make this package install its configuration files in the examples directory
and use PKG_SYSCONFDIR stuff to copy them to the right place. Bump PKGREVISION to 2. Approved by wiz. This closes my own PR 18998.
Diffstat (limited to 'graphics/imlib/Makefile')
-rw-r--r--graphics/imlib/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 1c436d855e1..b106a0f50a9 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.71 2002/10/30 03:09:33 rh Exp $
+# $NetBSD: Makefile,v 1.72 2002/11/26 12:32:20 jmmv Exp $
#
DISTNAME= imlib-1.9.14
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/imlib/1.9/}
@@ -24,6 +24,18 @@ USE_BUILDLINK2= yes
CPPFLAGS+= -DENABLE_NLS
CONFIGURE_ENV+= ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert"
CONFIGURE_ENV+= X_LDFLAGS="${X_LDFLAGS}"
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
+
+PKG_SYSCONFSUBDIR= imlib
+
+EGDIR= ${PREFIX}/share/examples/imlib
+CONF_FILES= ${EGDIR}/imrc ${PKG_SYSCONFDIR}/imrc
+CONF_FILES+= ${EGDIR}/im_palette.pal \
+ ${PKG_SYSCONFDIR}/im_palette.pal
+CONF_FILES+= ${EGDIR}/im_palette-small.pal \
+ ${PKG_SYSCONFDIR}/im_palette-small.pal
+CONF_FILES+= ${EGDIR}/im_palette-tiny.pal \
+ ${PKG_SYSCONFDIR}/im_palette-tiny.pal
# The following ensures that `imlib-config --libs' includes the correct
# linker flags for linking the X11 libs.
@@ -46,4 +58,5 @@ post-install:
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"