summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-01 19:24:19 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-01 19:24:19 +0000
commite5463e76a443ae592bda4a8f24e946a8aa7a7f6b (patch)
treeb8eb6cd5b25a451c325a4346260c1da21fba4654 /graphics/tuxpaint/Makefile
parent6be9267f2f4ff5307d1b96984b513f05061dc180 (diff)
downloadpkgsrc-e5463e76a443ae592bda4a8f24e946a8aa7a7f6b.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/tuxpaint/Makefile')
-rw-r--r--graphics/tuxpaint/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/tuxpaint/Makefile b/graphics/tuxpaint/Makefile
index 1af55339ca6..a5e0951f9e6 100644
--- a/graphics/tuxpaint/Makefile
+++ b/graphics/tuxpaint/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2002/12/24 06:10:09 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2003/01/01 19:24:19 jmmv Exp $
#
DISTNAME= tuxpaint-2002.10.26
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/
@@ -15,8 +15,13 @@ USE_PKGLOCALEDIR= YES
USE_GMAKE= YES
MANCOMPRESSED= YES
+MAKE_ENV+= CONFDIR="${PKG_SYSCONFDIR}"
+EGDIR= ${PREFIX}/share/examples/tuxpaint
+CONF_FILES= ${EGDIR}/tuxpaint.conf ${PKG_SYSCONFDIR}/tuxpaint.conf
+
.include "../../audio/SDL-mixer/buildlink2.mk"
.include "../../devel/SDL/buildlink2.mk"
.include "../../devel/SDL_ttf/buildlink2.mk"
.include "../../graphics/SDL-image/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"