pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ies4linux Switch to using INSTALLATION_DIRS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba8f8f8587c5
branches:  trunk
changeset: 554387:ba8f8f8587c5
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 13 22:00:12 2009 +0000

description:
Switch to using INSTALLATION_DIRS

diffstat:

 www/ies4linux/Makefile |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r d0f2efaf73a3 -r ba8f8f8587c5 www/ies4linux/Makefile
--- a/www/ies4linux/Makefile    Fri Feb 13 21:47:02 2009 +0000
+++ b/www/ies4linux/Makefile    Fri Feb 13 22:00:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/02/09 22:56:27 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2009/02/13 22:00:12 abs Exp $
 #
 
 DISTNAME=      ies4linux-2.99.0.1
@@ -22,20 +22,20 @@
 USE_LANGUAGES= # none
 USE_TOOLS+=    pax
 
-SHAREDIR=              ${PREFIX}/share/ies4linux
+SHAREDIR=              share/ies4linux
 
 SUBST_CLASSES+=                sharedir
 SUBST_STAGE.sharedir=  post-patch
 SUBST_FILES.sharedir=  ${WRKSRC}/ies4linux
-SUBST_SED.sharedir=    -e "s|.dirname ..0..|${SHAREDIR}|g"
+SUBST_SED.sharedir=    -e "s|.dirname ..0..|${PREFIX}/${SHAREDIR}|g"
+
+INSTALLATION_DIRS      = bin ${SHAREDIR}
 
 do-install:
        cd ${WRKSRC} && rm -f lib/functions.sh.orig
        cd ${WRKSRC} && rm -fr ui/.svn
-       ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
-       cd ${WRKSRC} && pax -rwppm . ${DESTDIR}${SHAREDIR}
-       ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
-       mv ${DESTDIR}${SHAREDIR}/ies4linux ${DESTDIR}${PREFIX}/bin
+       cd ${WRKSRC} && pax -rwppm . ${DESTDIR}${PREFIX}/${SHAREDIR}
+       mv ${DESTDIR}${PREFIX}/${SHAREDIR}/ies4linux ${DESTDIR}${PREFIX}/bin
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index