diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:32:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:32:30 +0000 |
commit | f847dc9588e5531e66098b93bbc0c6e3812a799d (patch) | |
tree | be7fb221de1b1a2204c821c7626a52e6f564036b /multimedia/ns-flash/Makefile | |
parent | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (diff) | |
download | pkgsrc-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/ns-flash/Makefile')
-rw-r--r-- | multimedia/ns-flash/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/ns-flash/Makefile b/multimedia/ns-flash/Makefile index cd83f615bb3..22f65e21a20 100644 --- a/multimedia/ns-flash/Makefile +++ b/multimedia/ns-flash/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/12/23 22:27:15 tnn Exp $ +# $NetBSD: Makefile,v 1.28 2008/03/04 19:32:30 jlam Exp $ CATEGORIES= multimedia www MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/ @@ -18,6 +18,8 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${WRKNAME} BUILD_DIRS= # empty DIST_SUBDIR= flash/${FLASH_VERS} @@ -52,7 +54,7 @@ NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins .include "options.mk" do-install: - ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} - ${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR} + ${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${DESTDIR}${NS_PLUGINS_DIR} .include "../../mk/bsd.pkg.mk" |