summaryrefslogtreecommitdiff
path: root/multimedia/openquicktime/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 19:53:03 +0000
committerjoerg <joerg>2010-02-11 19:53:03 +0000
commit115a763a8397cfd0f2eb5634e1815afed3f96fbc (patch)
treefac9e1a76e2748059bc89f2c407a796b2faa634e /multimedia/openquicktime/Makefile
parent48bec191e338316f0286dbdc4d9aae1019ad492b (diff)
downloadpkgsrc-115a763a8397cfd0f2eb5634e1815afed3f96fbc.tar.gz
DESTDIR support
Diffstat (limited to 'multimedia/openquicktime/Makefile')
-rw-r--r--multimedia/openquicktime/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/openquicktime/Makefile b/multimedia/openquicktime/Makefile
index 11efbbaba17..a8393b0e2f0 100644
--- a/multimedia/openquicktime/Makefile
+++ b/multimedia/openquicktime/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2010/01/18 09:59:18 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2010/02/11 20:08:00 joerg Exp $
#
DISTNAME= ${PKGNAME_NOREV}-src
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openquicktime.org/
COMMENT= Portable library for handling QuickTime(TM) media files
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
@@ -27,6 +29,9 @@ CONFIGURE_ENV+= my_cv_comment=""
USE_TOOLS+= gsed
.endif
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+INSTALLATION_DIRS+= bin lib
+
pre-configure:
${ECHO} '#!${SH}' > ${BUILDLINK_DIR}/bin/glib-config-2.0
${ECHO} '${PREFIX}/bin/pkg-config glib-2.0 "$$@"' \