ports/79642: math/gap: update to current version
Johan van Selst
johans at stack.nl
Thu Apr 7 19:00:16 UTC 2005
>Number: 79642
>Category: ports
>Synopsis: math/gap: update to current version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 07 19:00:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root at mud.stack.nl:/usr/obj/usr/src/sys/mud i386
>Description:
GAP packages update.
While we're at it, update the Makefile
- Put the package timestamp in a variable; beats 3 different updates.
- Remove site suffix: it will automatically use correct directory.
>How-To-Repeat:
>Fix:
diff -u gap/Makefile gap/Makefile
--- gap/Makefile Mon Feb 21 04:01:14 2005
+++ gap/Makefile Thu Apr 7 20:42:47 2005
@@ -6,13 +6,13 @@
#
PORTNAME= gap
-PORTVERSION= 4.4.4.20050214
+PORTVERSION= 4.4.4.${GAP_PKGDATE}
CATEGORIES= math
-MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/:new \
- ftp://ftp.gap-system.org/pub/gap/gap4/old/:old
-DISTFILES= packages-2005_02_14-19_42_UTC.tar.bz2:new \
- gap4r4p4.tar.bz2:new \
- xtom1r1.tar.bz2:new
+MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/ \
+ ftp://ftp.gap-system.org/pub/gap/gap4/old/
+DISTFILES= packages-${GAP_PKGTIME}.tar.bz2 \
+ gap4r4p4.tar.bz2 \
+ xtom1r1.tar.bz2
DIST_SUBDIR= gap
MAINTAINER= johans at stack.nl
@@ -21,6 +21,8 @@
.include <bsd.port.pre.mk>
GAP_VERSION= gap4r4
+GAP_PKGTIME= 2005_04_02-13_44_UTC
+GAP_PKGDATE= ${GAP_PKGTIME:C/-.*//:S/_//g}
GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION}
GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION}
PLIST_FILES= bin/gap
@@ -31,7 +33,7 @@
${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/gap4r4p4.tar.bz2; \
${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/xtom1r1.tar.bz2 ; \
cd ${GAP_WRKSRC}/pkg; \
- ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-2005_02_14-19_42_UTC.tar.bz2 )
+ ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-${GAP_PKGTIME}.tar.bz2 )
do-configure:
(cd ${GAP_WRKSRC}; ./configure)
diff -u gap/distinfo gap/distinfo
--- gap/distinfo Mon Feb 21 04:01:14 2005
+++ gap/distinfo Thu Apr 7 20:16:54 2005
@@ -1,5 +1,5 @@
-MD5 (gap/packages-2005_02_14-19_42_UTC.tar.bz2) = 8263d7249c5934f2d1536a8fa7c5ef64
-SIZE (gap/packages-2005_02_14-19_42_UTC.tar.bz2) = 27973143
+MD5 (gap/packages-2005_04_02-13_44_UTC.tar.bz2) = 7ecfae94e4753283f6fe193f13db9d35
+SIZE (gap/packages-2005_04_02-13_44_UTC.tar.bz2) = 33155239
MD5 (gap/gap4r4p4.tar.bz2) = c4fad14234bd226a03ebcfad8dfafd1c
SIZE (gap/gap4r4p4.tar.bz2) = 41036793
MD5 (gap/xtom1r1.tar.bz2) = 6652a904930696d7a9f9cfef2828d224
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list