summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz>2007-12-15 15:25:12 +0000
committerheinz <heinz>2007-12-15 15:25:12 +0000
commit0f622726f5b173df6e806e6552b807ac627b2551 (patch)
treed9882b8a0b9c8a2e5eab10bfec197a2586151328
parent22182d94f2932a1188975a61311d5e92d740e9c8 (diff)
downloadpkgsrc-0f622726f5b173df6e806e6552b807ac627b2551.tar.gz
The package supports installation to DESTDIR.
-rw-r--r--multimedia/win32-codecs/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/multimedia/win32-codecs/Makefile b/multimedia/win32-codecs/Makefile
index 2cabc2ad262..b76aaca3e99 100644
--- a/multimedia/win32-codecs/Makefile
+++ b/multimedia/win32-codecs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2007/12/02 11:25:02 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2007/12/15 15:25:12 heinz Exp $
#
DISTNAME= windows-all-20061022
@@ -18,7 +18,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mplayerhq.hu/MPlayer/releases/codecs/
COMMENT= Huge compilation of Win32 binary codecs
-USE_LANGUAGES= # empty
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
ONLY_FOR_PLATFORM= *-*-i386
@@ -33,9 +35,11 @@ NO_SRC_ON_CDROM=${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/win32
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/* ${PREFIX}/lib/win32
- ${INSTALL_DATA} ${WRKDIR}/qtextras-20041107/* ${PREFIX}/lib/win32
- ${INSTALL_DATA} ${WRKDIR}/rp9codecs-win32-20050115/*.dll ${PREFIX}/lib/win32
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/win32
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/* ${DESTDIR}${PREFIX}/lib/win32
+ ${INSTALL_DATA} ${WRKDIR}/qtextras-20041107/* \
+ ${DESTDIR}${PREFIX}/lib/win32
+ ${INSTALL_DATA} ${WRKDIR}/rp9codecs-win32-20050115/*.dll \
+ ${DESTDIR}${PREFIX}/lib/win32
.include "../../mk/bsd.pkg.mk"