summaryrefslogtreecommitdiff
path: root/audio/gkrellm-volume
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-01 00:59:27 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-01 00:59:27 +0000
commit31ee0a19516c5ad98cc28c98fc457aa37335b6eb (patch)
tree3d82cc6015cb672ec4375d108cad6c1630a78d7b /audio/gkrellm-volume
parent907f9b7fa39aa49d9f7b773a80d7bca8f6f3a7d3 (diff)
downloadpkgsrc-31ee0a19516c5ad98cc28c98fc457aa37335b6eb.tar.gz
DESTDIR support
Diffstat (limited to 'audio/gkrellm-volume')
-rw-r--r--audio/gkrellm-volume/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/gkrellm-volume/Makefile b/audio/gkrellm-volume/Makefile
index 8f0feaf9b4b..1d5c4fe196b 100644
--- a/audio/gkrellm-volume/Makefile
+++ b/audio/gkrellm-volume/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2010/01/17 12:02:04 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2010/02/01 01:10:28 joerg Exp $
DISTNAME= gkrellm-volume-2.1.13
PKGREVISION= 6
@@ -9,6 +9,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://gkrellm.luon.net/volume.phtml
COMMENT= Gkrellm2 volume mixer plugin
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= YES
WRKSRC= ${WRKDIR}/gkrellm-volume
@@ -16,6 +18,10 @@ WRKSRC= ${WRKDIR}/gkrellm-volume
MAKE_ENV+= LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
enable_nls=1
+INSTALLATION_DIRS+= lib/gkrellm2/plugins
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
+ LOCALEDIR=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale
+
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"