summaryrefslogtreecommitdiff
path: root/audio
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
parent907f9b7fa39aa49d9f7b773a80d7bca8f6f3a7d3 (diff)
downloadpkgsrc-31ee0a19516c5ad98cc28c98fc457aa37335b6eb.tar.gz
DESTDIR support
Diffstat (limited to 'audio')
-rw-r--r--audio/daapd/Makefile14
-rw-r--r--audio/gkrellm-volume/Makefile8
-rw-r--r--audio/gkrellm-xmms/Makefile6
3 files changed, 21 insertions, 7 deletions
diff --git a/audio/daapd/Makefile b/audio/daapd/Makefile
index ccb43eabef5..c82bfa1d527 100644
--- a/audio/daapd/Makefile
+++ b/audio/daapd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/01/30 07:05:58 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2010/02/01 00:59:27 joerg Exp $
DISTNAME= daapd-0.2.4b
PKGREVISION= 1
@@ -10,6 +10,8 @@ MAINTAINER= nathanw@NetBSD.org
HOMEPAGE= http://www.deleet.de/projekte/daap/daapd/
COMMENT= Server for DAA protocol (iTunes)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
MAKE_FILE= makefile
@@ -31,16 +33,18 @@ SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= daapd.8 daapd.cc
SUBST_SED.paths= -e 's,/etc/,${PKG_SYSCONFDIR}/,g'
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man8 ${EGDIR}
+
post-extract:
for FILE in `${FIND} ${WRKSRC}/daaplib -type f -print`; do \
${TR} -d \\r <$${FILE} >$${FILE}.new; \
${MV} $${FILE}.new $${FILE}; \
done
-post-install:
- ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/daapd-example.conf ${EGDIR}/daapd.conf
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/daapd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/daapd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/daapd-example.conf ${DESTDIR}${EGDIR}/daapd.conf
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../net/howl/buildlink3.mk"
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"
diff --git a/audio/gkrellm-xmms/Makefile b/audio/gkrellm-xmms/Makefile
index 17db55e10fd..653f7a6417c 100644
--- a/audio/gkrellm-xmms/Makefile
+++ b/audio/gkrellm-xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2010/01/17 12:02:04 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2010/02/01 01:13:28 joerg Exp $
#
DISTNAME= gkrellmms-2.1.20
@@ -11,6 +11,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://gkrellm.luon.net/gkrellmms.phtml
COMMENT= GKrellM2 plugin to remotely control XMMS
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= YES
@@ -20,6 +22,8 @@ WRKSRC= ${WRKDIR}/gkrellmms
MAKE_ENV+= LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
enable_nls=1
+INSTALLATION_DIRS+= lib/gkrellm2/plugins
+
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"