pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nspluginwrapper Add PKG_DESTDIR_SUPPORT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f52a7806212e
branches:  trunk
changeset: 554195:f52a7806212e
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Feb 10 12:44:24 2009 +0000

description:
Add PKG_DESTDIR_SUPPORT

diffstat:

 www/nspluginwrapper/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 621caf728417 -r f52a7806212e www/nspluginwrapper/Makefile
--- a/www/nspluginwrapper/Makefile      Tue Feb 10 12:41:06 2009 +0000
+++ b/www/nspluginwrapper/Makefile      Tue Feb 10 12:44:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/01/29 09:57:59 sborrill Exp $
+# $NetBSD: Makefile,v 1.15 2009/02/10 12:44:24 abs Exp $
 #
 
 DISTNAME=       nspluginwrapper-1.2.2
@@ -30,11 +30,13 @@
 SUBST_FILES.npviewer=  ${PLUGIN_SRCDIR}/npviewer
 SUBST_SED.npviewer=    -e "s|/usr/|${PREFIX}/|g"
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS=     ${PLUGIN_INSTDIR}
+
 post-install:
-       ${INSTALL_LIB_DIR} ${PLUGIN_INSTDIR}
-       ${INSTALL_LIB} ${PLUGIN_SRCDIR}/libxpcom.so ${PLUGIN_INSTDIR}
-       ${INSTALL_SCRIPT} ${PLUGIN_SRCDIR}/npviewer ${PLUGIN_INSTDIR}
-       ${INSTALL_LIB} ${PLUGIN_SRCDIR}/npviewer.bin ${PLUGIN_INSTDIR}
+       ${INSTALL_LIB} ${PLUGIN_SRCDIR}/libxpcom.so ${DESTDIR}${PLUGIN_INSTDIR}
+       ${INSTALL_SCRIPT} ${PLUGIN_SRCDIR}/npviewer ${DESTDIR}${PLUGIN_INSTDIR}
+       ${INSTALL_LIB} ${PLUGIN_SRCDIR}/npviewer.bin ${DESTDIR}${PLUGIN_INSTDIR}
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index