summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorminskim <minskim>2004-05-09 17:27:53 +0000
committerminskim <minskim>2004-05-09 17:27:53 +0000
commite334ed669c89d37238e14ba1fe9f4b5e366e7218 (patch)
tree6e06a0e971fe9b6f55f1cb8b87477435084d2c5f /audio
parentc323284a86f1365e954d85ad8c6fe41a3dcdba95 (diff)
downloadpkgsrc-e334ed669c89d37238e14ba1fe9f4b5e366e7218.tar.gz
Install .mo into ${PKGLOCALEDIR}/locale, not /usr/local.
Add them to PLIST and Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/muse/Makefile5
-rw-r--r--audio/muse/PLIST4
-rw-r--r--audio/muse/distinfo3
-rw-r--r--audio/muse/patches/patch-ae11
4 files changed, 20 insertions, 3 deletions
diff --git a/audio/muse/Makefile b/audio/muse/Makefile
index 1c3e6fd819a..935bca125d1 100644
--- a/audio/muse/Makefile
+++ b/audio/muse/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2004/05/07 16:34:14 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/09 17:27:53 minskim Exp $
#
DISTNAME= MuSE-0.9
PKGNAME= ${DISTNAME:S/MuSE/muse/}
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \
http://www.ljudmila.org/~jaromil/muse/releases/ \
@@ -16,10 +17,12 @@ GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_X11= yes
+USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --disable-ncurses
CONFIGURE_ARGS+= --enable-gtk2
LIBS+= ${LIBOSSAUDIO}
+MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
SUBST_CLASSES= dsp
SUBST_STAGE.dsp= post-patch
diff --git a/audio/muse/PLIST b/audio/muse/PLIST
index 499fc540707..b0507ebe351 100644
--- a/audio/muse/PLIST
+++ b/audio/muse/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/02 22:59:16 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/05/09 17:27:53 minskim Exp $
bin/muse
doc/MuSE/AUTHORS
doc/MuSE/COPYING
@@ -9,5 +9,7 @@ doc/MuSE/README
doc/MuSE/TODO
doc/MuSE/USAGE
man/man1/muse.1
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/muse.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/muse.mo
@dirrm doc/MuSE
@dirrm doc
diff --git a/audio/muse/distinfo b/audio/muse/distinfo
index b42ab3ce569..635867379f9 100644
--- a/audio/muse/distinfo
+++ b/audio/muse/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/05/02 22:59:16 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/05/09 17:27:53 minskim Exp $
SHA1 (MuSE-0.9.tar.gz) = c73dfe6cf5a8da3430864a76d0bc8d9f2cb7d118
Size (MuSE-0.9.tar.gz) = 1363091 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-aa) = a30a5f2a76081b188c2859d5b77185a26e95fc7e
SHA1 (patch-ab) = fb6c26cd57534ebd82db21508a9cd9e98e0f6bc7
SHA1 (patch-ac) = f66b7f258cc765323f4ac3041aa7e43c8f8b7b08
SHA1 (patch-ad) = 5f2322a1c9c3c9ee4e4dbe3aa810c0f2c5d999fd
+SHA1 (patch-ae) = 1097b09eb842fe1d90ec28913ad511e515f55a8a
diff --git a/audio/muse/patches/patch-ae b/audio/muse/patches/patch-ae
new file mode 100644
index 00000000000..322073a3afc
--- /dev/null
+++ b/audio/muse/patches/patch-ae
@@ -0,0 +1,11 @@
+$NetBSD: patch-ae,v 1.1 2004/05/09 17:27:53 minskim Exp $
+
+--- po/Makefile.orig 2004-04-14 17:52:44.000000000 -0500
++++ po/Makefile
+@@ -1,5 +1,5 @@
+ INSTALL= /usr/bin/install -c
+-INSTALLNLSDIR=$(BASEDIR)/usr/local/share/locale
++INSTALLNLSDIR=$(BASEDIR)${PREFIX}/${PKGLOCALEDIR}/locale
+
+ PACKAGE = muse
+