summaryrefslogtreecommitdiff
path: root/multimedia/libflashsupport
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
commitf847dc9588e5531e66098b93bbc0c6e3812a799d (patch)
treebe7fb221de1b1a2204c821c7626a52e6f564036b /multimedia/libflashsupport
parent39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (diff)
downloadpkgsrc-f847dc9588e5531e66098b93bbc0c6e3812a799d.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'multimedia/libflashsupport')
-rw-r--r--multimedia/libflashsupport/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/libflashsupport/Makefile b/multimedia/libflashsupport/Makefile
index 135887b3c49..8409d061f34 100644
--- a/multimedia/libflashsupport/Makefile
+++ b/multimedia/libflashsupport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/08/23 18:20:33 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/04 19:32:30 jlam Exp $
PKGNAME= libflashsupport-1.0.2098
DISTNAME= libflashsupport-1-0-2098-i586
@@ -19,6 +19,8 @@ EMUL_PKG_FMT= rpm
RPM2PKG_STRIP= 3
RPM2PKG_PLIST= # empty
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
@@ -26,8 +28,8 @@ INSTALLATION_DIRS= share/doc
do-install:
${INSTALL_LIB} ${WRKDIR}/libflashsupport.so \
- ${PREFIX}/${EMULSUBDIR}/usr/lib
+ ${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/lib
${INSTALL_DATA} ${WRKDIR}/doc/libflashsupport-1.0/README \
- ${PREFIX}/share/doc/libflashsupport.README
+ ${DESTDIR}${PREFIX}/share/doc/libflashsupport.README
.include "../../mk/bsd.pkg.mk"