summaryrefslogtreecommitdiff
path: root/multimedia/gtranscode
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:32:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:32:30 +0000
commitff7e91e5aaa4457f3cc91c598d754cb7fed66099 (patch)
treebe7fb221de1b1a2204c821c7626a52e6f564036b /multimedia/gtranscode
parent2ff2716acf781c9b1b039a6b95e38ecb3d95ed08 (diff)
downloadpkgsrc-ff7e91e5aaa4457f3cc91c598d754cb7fed66099.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'multimedia/gtranscode')
-rw-r--r--multimedia/gtranscode/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/gtranscode/Makefile b/multimedia/gtranscode/Makefile
index 1baef79c610..24e0b54a9b1 100644
--- a/multimedia/gtranscode/Makefile
+++ b/multimedia/gtranscode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/10/04 21:50:08 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/04 19:32:30 jlam Exp $
#
DISTNAME= gtranscode-v0.3
@@ -13,12 +13,14 @@ COMMENT= GTK+ GUI front-end for transcode
DEPENDS+= transcode-[0-9]*:../../multimedia/transcode
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/gtranscode
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gtranscode ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/gtranscode ${DESTDIR}${PREFIX}/bin
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"