diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 22:17:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 22:17:24 +0000 |
commit | d28ed3742e4df43d1d5b1e62fdfa622a3ddbdb62 (patch) | |
tree | 3b99534c3df848cc3df6d11505de1c9819144bcb /audio/snd | |
parent | c09bcebb499f460207f23bd560172ccd996c46b7 (diff) | |
download | pkgsrc-d28ed3742e4df43d1d5b1e62fdfa622a3ddbdb62.tar.gz |
user-destdir support
Diffstat (limited to 'audio/snd')
-rw-r--r-- | audio/snd/Makefile | 9 |
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" |