From d28ed3742e4df43d1d5b1e62fdfa622a3ddbdb62 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 22:17:24 +0000 Subject: user-destdir support --- audio/snd/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'audio/snd') 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" -- cgit v1.2.3