summaryrefslogtreecommitdiff
path: root/audio/snd
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 22:17:24 +0000
committerjoerg <joerg>2009-07-07 22:17:24 +0000
commit43d83fad749e061fcaa5fd6d96d290a4c7bca672 (patch)
tree3b99534c3df848cc3df6d11505de1c9819144bcb /audio/snd
parentd39b2656f259b5e0b994639e6a35de0171704071 (diff)
downloadpkgsrc-43d83fad749e061fcaa5fd6d96d290a4c7bca672.tar.gz
user-destdir support
Diffstat (limited to 'audio/snd')
-rw-r--r--audio/snd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index a4a68c903ad..866761261ae 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2008/04/28 12:47:44 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2009/07/07 22:19:01 joerg Exp $
#
DISTNAME= snd-9.9
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ccrma.stanford.edu/software/snd/
COMMENT= X based sound editor
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= flac-[0-9]*:../../audio/flac
DEPENDS+= speex-[0-9]*:../../audio/speex
DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
@@ -21,9 +23,12 @@ BUILD_TARGET= snd
MAKE_FILE= makefile
WRKSRC= ${WRKDIR}/snd-9
+INSTALLATION_DIRS= ${PKGLOCALEDIR}/locale/de/LC_MESSAGES
+INSTALL_MAKE_FLAGS+= localedir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale
+
post-install:
${INSTALL_DATA} ${WRKSRC}/po/de.gmo \
- ${PREFIX}/${PKGLOCALEDIR}/locale/de/LC_MESSAGES/snd.mo
+ ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/de/LC_MESSAGES/snd.mo
.include "options.mk"