summaryrefslogtreecommitdiff
path: root/audio/gtkmserv
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit33be9d571979426caf74e11b4f9a9f2be70808b5 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/gtkmserv
parent49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff)
downloadpkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/gtkmserv')
-rw-r--r--audio/gtkmserv/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/gtkmserv/Makefile b/audio/gtkmserv/Makefile
index 09be479899b..1dab7b60741 100644
--- a/audio/gtkmserv/Makefile
+++ b/audio/gtkmserv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/04 21:28:56 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:33 jlam Exp $
#
DISTNAME= gtkmserv-0.5.2
@@ -10,13 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://projects.ubertechnique.com/index.html
COMMENT= Gtk-based GUI client for the audio/mserv package
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+PKG_DESTDIR_SUPPORt= user-destdir
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= YES
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gtkMserv ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/gtkMserv ${DESTDIR}${PREFIX}/bin
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"