diff options
author | vs <vs@FreeBSD.org> | 2004-12-06 16:07:18 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-12-06 16:07:18 +0800 |
commit | 6ca1f796c3c768d41a216fdcd15f9a6780f25e1e (patch) | |
tree | b925da04f268515753fca1c67e49c7780e265597 /math/gap/Makefile | |
parent | 4f770825dfe1ffbe321648feea0d7a754e3d0ec2 (diff) | |
download | freebsd-ports-gnome-6ca1f796c3c768d41a216fdcd15f9a6780f25e1e.tar.gz freebsd-ports-gnome-6ca1f796c3c768d41a216fdcd15f9a6780f25e1e.tar.zst freebsd-ports-gnome-6ca1f796c3c768d41a216fdcd15f9a6780f25e1e.zip |
- Update to 4.4.3
- License is now GPL
- Assign maintainership to submitter
PR: ports/74534
Submitted by: Johan van Selst
Diffstat (limited to 'math/gap/Makefile')
-rw-r--r-- | math/gap/Makefile | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile index 5d5d551236d4..0636b7338b39 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -6,44 +6,46 @@ # PORTNAME= gap -PORTVERSION= 4.3 -PORTREVISION= 1 +PORTVERSION= 4.4.3 CATEGORIES= math MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ -DISTFILES= gap4r3.tar.gz \ - accpkg4r3.tar.gz deppkg4r3.tar.gz xtom4r3.tar.gz +MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/ +DISTFILES= gap4r4p3.tar.bz2 xtom1r1.tar.bz2 \ + packages-2004_11_17-15_41_UTC.tar.bz2 DIST_SUBDIR= gap -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= GAP is a system for computational discrete algebra -NO_CDROM= "Don't sell for profit." - .include <bsd.port.pre.mk> +GAP_VERSION= gap4r4 +GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION} +GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION} +PLIST_SUB= GAP_LIBDIR=lib/${GAP_VERSION} + do-extract: (${MKDIR} ${WRKSRC}; \ cd ${WRKSRC}; \ - ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/gap4r3.tar.gz; \ - ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/xtom4r3.tar.gz ; \ - cd ${WRKSRC}/gap4r3/pkg; \ - ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/accpkg4r3.tar.gz; \ - ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/deppkg4r3.tar.gz ) + ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/gap4r4p3.tar.bz2; \ + ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/xtom1r1.tar.bz2 ; \ + cd ${GAP_WRKSRC}/pkg; \ + ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-2004_11_17-15_41_UTC.tar.bz2 ) do-configure: - (cd ${WRKSRC}/gap4r3; ./configure) + (cd ${GAP_WRKSRC}; ./configure) do-build: - (cd ${WRKSRC}/gap4r3; make) + (cd ${GAP_WRKSRC}; make) do-install: - (${SED} -e "s:GAP_DIR=.*:GAP_DIR=${PREFIX}/lib/gap4r3:g" -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${WRKSRC}/gap4r3/bin/gap.sh > ${PREFIX}/bin/gap; \ + (${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${GAP_WRKSRC}/bin/gap.sh > ${PREFIX}/bin/gap; \ ${CHMOD} 755 ${PREFIX}/bin/gap; ) - @${MKDIR} ${PREFIX}/lib/gap4r3 ${PREFIX}/lib/gap4r3/bin - @${INSTALL_PROGRAM} ${WRKSRC}/gap4r3/bin/*/gap ${PREFIX}/lib/gap4r3/bin - @${INSTALL_SCRIPT} ${WRKSRC}/gap4r3/bin/*/gac ${PREFIX}/lib/gap4r3/bin + @${MKDIR} ${GAP_LIBDIR} ${GAP_LIBDIR}/bin + @${INSTALL_PROGRAM} ${GAP_WRKSRC}/bin/*/gap ${GAP_LIBDIR}/bin + @${INSTALL_SCRIPT} ${GAP_WRKSRC}/bin/*/gac ${GAP_LIBDIR}/bin .for subdir in doc etc grp lib pkg prim small trans tst - @${CP} -R ${WRKSRC}/gap4r3/${subdir} ${PREFIX}/lib/gap4r3/ + @${CP} -R ${GAP_WRKSRC}/${subdir} ${GAP_LIBDIR}/ .endfor .include <bsd.port.post.mk> |