summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-01-11 00:00:04 +0000
committerjoerg <joerg@pkgsrc.org>2013-01-11 00:00:04 +0000
commit9463da95cdc69ec28452f5d5da692e82eaf19b26 (patch)
tree12844458d5a22ca8109caa65057774f8b4223301 /math
parentffd06c68c3a3f584ae4421bdcbe0326f29dd6c02 (diff)
downloadpkgsrc-9463da95cdc69ec28452f5d5da692e82eaf19b26.tar.gz
Prefer in-tree bsdtar over gtar. Simplify.
Diffstat (limited to 'math')
-rw-r--r--math/gap/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile
index 318986cc596..90389edffaf 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2012/09/11 23:04:20 asau Exp $
+# $NetBSD: Makefile,v 1.28 2013/01/11 00:00:04 joerg Exp $
#
DISTNAME= gap4r3
@@ -19,7 +19,7 @@ LICENSE= no-commercial-use
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
SITES.fix4r3n5.tar.gz= ${MASTER_SITES:=bugfixes/}
-USE_TOOLS+= gtar
+USE_TOOLS+= bsdtar
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
@@ -33,15 +33,12 @@ PLIST_SUBST+= GAP_PLATFORM=${GAP_PLATFORM:Q}
CHECK_INTERPRETER_SKIP+= lib/gap4.3/pkg/example/make_zoo
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin ${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
post-extract:
- ( cd ${WRKSRC} && ${GTAR} zxf ${DISTDIR}/fix4r3n5.tar.gz )
+ cd ${WRKSRC} && ${TOOLS_PATH.bsdtar} zxf ${DISTDIR}/fix4r3n5.tar.gz
do-install:
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GAP_DIRECTORY}
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GAP_DIRECTORY}/bin
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${GAP_PLATFORM}/gap \
${DESTDIR}${GAP_DIRECTORY}/bin/${GAP_PLATFORM}
${INSTALL_SCRIPT} ${WRKSRC}/bin/${GAP_PLATFORM}/gac \