diff options
author | jlam <jlam> | 2008-03-04 19:32:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:32:30 +0000 |
commit | 05429946f7145ae1023594943f5884ac9703c8aa (patch) | |
tree | be7fb221de1b1a2204c821c7626a52e6f564036b /multimedia/mplayer-plugin-firefox | |
parent | 476429c9f7b93362ea027fafcaa1bb835868c0d1 (diff) | |
download | pkgsrc-05429946f7145ae1023594943f5884ac9703c8aa.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'multimedia/mplayer-plugin-firefox')
-rw-r--r-- | multimedia/mplayer-plugin-firefox/Makefile.common | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/multimedia/mplayer-plugin-firefox/Makefile.common b/multimedia/mplayer-plugin-firefox/Makefile.common index 0cb47eb7971..691e182e653 100644 --- a/multimedia/mplayer-plugin-firefox/Makefile.common +++ b/multimedia/mplayer-plugin-firefox/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.18 2007/12/11 21:46:51 xtraeme Exp $ +# $NetBSD: Makefile.common,v 1.19 2008/03/04 19:32:30 jlam Exp $ # DISTNAME= mplayerplug-in-${DIST_VER} @@ -12,6 +12,8 @@ COMMENT= Mplayer plug-in for ${BROWSER} DEPENDS+= mplayer>=0.92:../../multimedia/mplayer +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/mplayerplug-in GNU_CONFIGURE= yes USE_TOOLS+= gmake pkg-config msgfmt @@ -56,14 +58,12 @@ CONF_FILES+= ${EGDIR}/mplayerplug-in.${f} \ .endfor do-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.types ${EGDIR} -.if !exists(${PREFIX}/lib/${BROWSER}/plugins) - ${INSTALL_DATA_DIR} ${PREFIX}/lib/${BROWSER}/plugins -.endif - ${INSTALL_LIB} ${WRKSRC}/*.so ${PREFIX}/lib/${BROWSER}/plugins - ${INSTALL_DATA} ${WRKSRC}/*.xpt ${PREFIX}/lib/${BROWSER}/plugins + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.types ${DESTDIR}${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/${BROWSER}/plugins + ${INSTALL_LIB} ${WRKSRC}/*.so ${DESTDIR}${PREFIX}/lib/${BROWSER}/plugins + ${INSTALL_DATA} ${WRKSRC}/*.xpt ${DESTDIR}${PREFIX}/lib/${BROWSER}/plugins .include "../../x11/libXpm/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" |