ports/77404: [maintainer] math/gap: update to 4.4.4.20050131
Johan van Selst
johans at stack.nl
Sun Feb 13 18:40:14 UTC 2005
The following reply was made to PR ports/77404; it has been noted by GNATS.
From: Johan van Selst <johans at stack.nl>
To: Volker Stolz <vs at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: ports/77404: [maintainer] math/gap: update to 4.4.4.20050131
Date: Sun, 13 Feb 2005 19:38:01 +0100
Volker Stolz wrote:
> Since gap seems to be completely self-contained inside its directory, you
> might want to consider generating the plist dynamically if you expect the
> same large diffs on future updates.
I do expect more large diffs. Hadn't thought about dynamic plists
before, but it sure makes maintaining this port easier.
Here is a patch for gap to live without a static pkg-plist (please
remove the file if this patch is acceptable).
P.S. This patch is inspired by devel/cppunit.
diff -u gap/Makefile gap/Makefile
--- gap/Makefile Sun Feb 13 04:01:02 2005
+++ gap/Makefile Sun Feb 13 18:28:18 2005
@@ -6,11 +6,11 @@
#
PORTNAME= gap
-PORTVERSION= 4.4.4
+PORTVERSION= 4.4.4.20050131
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-2004_12_07-12_33_UTC.tar.bz2:old \
+DISTFILES= packages-2005_01_31-19_34_UTC.tar.bz2:new \
gap4r4p4.tar.bz2:new \
xtom1r1.tar.bz2:new
DIST_SUBDIR= gap
@@ -23,7 +23,7 @@
GAP_VERSION= gap4r4
GAP_WRKSRC= ${WRKSRC}/${GAP_VERSION}
GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION}
-PLIST_SUB= GAP_LIBDIR=lib/${GAP_VERSION}
+PLIST_FILES= bin/gap
do-extract:
(${MKDIR} ${WRKSRC}; \
@@ -31,7 +31,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-2004_12_07-12_33_UTC.tar.bz2 )
+ ${TAR} xyf ${DISTDIR}/${DIST_SUBDIR}/packages-2005_01_31-19_34_UTC.tar.bz2 )
do-configure:
(cd ${GAP_WRKSRC}; ./configure)
@@ -45,8 +45,15 @@
@${MKDIR} ${GAP_LIBDIR} ${GAP_LIBDIR}/bin
@${INSTALL_PROGRAM} ${GAP_WRKSRC}/bin/*/gap ${GAP_LIBDIR}/bin
@${INSTALL_SCRIPT} ${GAP_WRKSRC}/bin/*/gac ${GAP_LIBDIR}/bin
+ @${INSTALL_DATA} ${GAP_WRKSRC}/sysinfo.gap ${GAP_LIBDIR}
.for subdir in doc etc grp lib pkg prim small trans tst
@${CP} -R ${GAP_WRKSRC}/${subdir} ${GAP_LIBDIR}/
.endfor
+
+post-install:
+ @${FIND} ${GAP_LIBDIR} ! -type d | \
+ ${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${GAP_LIBDIR} -type d -depth | \
+ ${SED} 's,${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>
diff -u gap/distinfo gap/distinfo
--- gap/distinfo Wed Jan 12 06:45:35 2005
+++ gap/distinfo Fri Feb 11 19:59:00 2005
@@ -2,5 +2,5 @@
SIZE (gap/gap4r4p4.tar.bz2) = 41036793
MD5 (gap/xtom1r1.tar.bz2) = 6652a904930696d7a9f9cfef2828d224
SIZE (gap/xtom1r1.tar.bz2) = 9443654
-MD5 (gap/packages-2004_12_07-12_33_UTC.tar.bz2) = f43f71bdc680358abbd1a89c72783794
-SIZE (gap/packages-2004_12_07-12_33_UTC.tar.bz2) = 24841081
+MD5 (gap/packages-2005_01_31-19_34_UTC.tar.bz2) = 885ac7e2a882abf688acb48143602038
+SIZE (gap/packages-2005_01_31-19_34_UTC.tar.bz2) = 27985668
More information about the freebsd-ports-bugs
mailing list