summaryrefslogtreecommitdiff
path: root/www/ies4linux
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-13 22:00:12 +0000
committerabs <abs@pkgsrc.org>2009-02-13 22:00:12 +0000
commitdc268aa8fbb8da2e6135d7ddb026427f0edb5c3b (patch)
tree7496fc4f35161e644f8d777f9e2e72ba0d178b2a /www/ies4linux
parent67a23a6e3fce87c7bee944f28cf44f2c061c6a78 (diff)
downloadpkgsrc-dc268aa8fbb8da2e6135d7ddb026427f0edb5c3b.tar.gz
Switch to using INSTALLATION_DIRS
Diffstat (limited to 'www/ies4linux')
-rw-r--r--www/ies4linux/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/ies4linux/Makefile b/www/ies4linux/Makefile
index 09619a5d58c..7cb5a9aa110 100644
--- a/www/ies4linux/Makefile
+++ b/www/ies4linux/Makefile
@@ -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 @@ PKG_DESTDIR_SUPPORT= user-destdir
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"