diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:53:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:53:03 +0000 |
commit | 392ec8dc4492cb300f4459e737964f0be3bae349 (patch) | |
tree | fac9e1a76e2748059bc89f2c407a796b2faa634e /multimedia/openquicktime | |
parent | ea1a639a923f5295dea62fbf9e6811aaa7058dec (diff) | |
download | pkgsrc-392ec8dc4492cb300f4459e737964f0be3bae349.tar.gz |
DESTDIR support
Diffstat (limited to 'multimedia/openquicktime')
-rw-r--r-- | multimedia/openquicktime/Makefile | 7 |
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 "$$@"' \ |