diff options
author | jmmv <jmmv> | 2002-12-25 15:11:20 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2002-12-25 15:11:20 +0000 |
commit | 4f4c7207335a30b10b997ea1435a760c63b3d70b (patch) | |
tree | 168aa856d6509fb6540707866aad8d26d939e497 /databases | |
parent | c2ae365a69c24c9170546e50d6618ec24bd6fc17 (diff) | |
download | pkgsrc-4f4c7207335a30b10b997ea1435a760c63b3d70b.tar.gz |
Make this package install its configuration file inside the examples tree
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gnome-mime-data/Makefile | 9 | ||||
-rw-r--r-- | databases/gnome-mime-data/PLIST | 5 | ||||
-rw-r--r-- | databases/gnome-mime-data/distinfo | 3 | ||||
-rw-r--r-- | databases/gnome-mime-data/patches/patch-aa | 13 |
4 files changed, 26 insertions, 4 deletions
diff --git a/databases/gnome-mime-data/Makefile b/databases/gnome-mime-data/Makefile index 05e57c116d7..b77dee299d5 100644 --- a/databases/gnome-mime-data/Makefile +++ b/databases/gnome-mime-data/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2002/11/30 16:24:35 salo Exp $ +# $NetBSD: Makefile,v 1.5 2002/12/25 15:11:20 jmmv Exp $ # DISTNAME= gnome-mime-data-2.0.1 +PKGREVISION= 1 CATEGORIES= databases gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-mime-data/2.0/} EXTRACT_SUFX= .tar.bz2 @@ -19,6 +20,12 @@ USE_PKGLOCALEDIR= YES USE_PERL5= build GNU_CONFIGURE= YES +CONFIGURE_ARGS= --sysconfdir="${PKG_SYSCONFDIR}" + +EGDIR= ${PREFIX}/share/examples/gnome-mime-data +CONF_FILES= ${EGDIR}/gnome-vfs-mime-magic ${PKG_SYSCONFDIR}/gnome-vfs-mime-magic + .include "../../devel/gettext-lib/buildlink2.mk" .include "../../lang/perl5/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/gnome-mime-data/PLIST b/databases/gnome-mime-data/PLIST index 1b1ea0dc571..bcf4e309e34 100644 --- a/databases/gnome-mime-data/PLIST +++ b/databases/gnome-mime-data/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2002/09/05 16:41:18 wiz Exp $ -etc/gnome-vfs-mime-magic +@comment $NetBSD: PLIST,v 1.3 2002/12/25 15:11:20 jmmv Exp $ lib/pkgconfig/gnome-mime-data-2.0.pc man/man5/gnome-vfs-mime.5.gz share/application-registry/gnome-vfs.applications +share/examples/gnome-mime-data/gnome-vfs-mime-magic ${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gnome-mime-data.mo ${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gnome-mime-data.mo ${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-mime-data.mo @@ -216,4 +216,5 @@ share/pixmaps/document-icons/i-web.png share/pixmaps/document-icons/i-zipdisk.png @dirrm share/pixmaps/document-icons @unexec ${RMDIR} %D/share/mime-info 2>/dev/null || ${TRUE} +@dirrm share/examples/gnome-mime-data @dirrm share/application-registry diff --git a/databases/gnome-mime-data/distinfo b/databases/gnome-mime-data/distinfo index 3dae62269e2..072cffd04a4 100644 --- a/databases/gnome-mime-data/distinfo +++ b/databases/gnome-mime-data/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2002/09/05 16:41:19 wiz Exp $ +$NetBSD: distinfo,v 1.3 2002/12/25 15:11:20 jmmv Exp $ SHA1 (gnome-mime-data-2.0.1.tar.bz2) = ebf98230876b3d2e0f84db7c88ea33cd19f00ee3 Size (gnome-mime-data-2.0.1.tar.bz2) = 983361 bytes +SHA1 (patch-aa) = 31b97c4ac99e96caa0c95ddd530e384d09de9230 diff --git a/databases/gnome-mime-data/patches/patch-aa b/databases/gnome-mime-data/patches/patch-aa new file mode 100644 index 00000000000..2c2745af289 --- /dev/null +++ b/databases/gnome-mime-data/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2002/12/25 15:11:20 jmmv Exp $ + +--- Makefile.in.orig Thu Aug 29 06:41:25 2002 ++++ Makefile.in +@@ -23,7 +23,7 @@ bindir = @bindir@ + sbindir = @sbindir@ + libexecdir = @libexecdir@ + datadir = @datadir@ +-sysconfdir = @sysconfdir@ ++sysconfdir = @datadir@/examples/@PACKAGE@ + sharedstatedir = @sharedstatedir@ + localstatedir = @localstatedir@ + libdir = @libdir@ |