aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-19 01:39:45 +0800
committermarcus <marcus@FreeBSD.org>2003-12-19 01:39:45 +0800
commitb4f546ec780b09f7d358627aafbbc19fbb2c4d9e (patch)
tree91c20fd8b5dec62cfcace5d96bca09ecf357bf9e
parent39531386706e50f2d7b1c2cd15554fcfb399209a (diff)
downloadfreebsd-ports-gnome-b4f546ec780b09f7d358627aafbbc19fbb2c4d9e.tar.gz
freebsd-ports-gnome-b4f546ec780b09f7d358627aafbbc19fbb2c4d9e.tar.zst
freebsd-ports-gnome-b4f546ec780b09f7d358627aafbbc19fbb2c4d9e.zip
Re-add the format feature from slib 2d5. This is needed for GnuCash.
Submitted by: maintainer
-rw-r--r--lang/slib/Makefile14
-rw-r--r--lang/slib/distinfo1
-rw-r--r--lang/slib/pkg-plist1
3 files changed, 14 insertions, 2 deletions
diff --git a/lang/slib/Makefile b/lang/slib/Makefile
index fe874e07cf30..009f7e2b5df2 100644
--- a/lang/slib/Makefile
+++ b/lang/slib/Makefile
@@ -7,18 +7,28 @@
PORTNAME= slib
PORTVERSION= 3a1
+PORTREVISION= 1
CATEGORIES= lang scheme
-MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
-DISTNAME= slib${PORTVERSION}
+MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ \
+ http://swissnet.ai.mit.edu/ftpdir/scm/OLD/:old
+DISTFILES= slib2d5${EXTRACT_SUFX}:old \
+ slib${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= fuyuki@nigredo.org
COMMENT= A portable scheme library
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/slib
USE_GMAKE= yes
ALL_TARGET= slib.info
INFO= slib
+post-extract:
+ ${RM} ${WRKSRC}/formatst.scm ${WRKSRC}/report.scm
+
+post-patch:
+ ${REINPLACE_CMD} -e 's/;;(format/(format/' ${WRKSRC}/mklibcat.scm
+
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init *.txt *.xyz *.ps ${DATADIR}
diff --git a/lang/slib/distinfo b/lang/slib/distinfo
index 3578a24da7d6..fb3be100d322 100644
--- a/lang/slib/distinfo
+++ b/lang/slib/distinfo
@@ -1 +1,2 @@
MD5 (slib3a1.tar.gz) = dc1aa0ffb9e2414223ceefc315f6baf9
+MD5 (slib2d5.tar.gz) = e76f8d3b52ccd5c0f9c559310ecf6f68
diff --git a/lang/slib/pkg-plist b/lang/slib/pkg-plist
index baa74db5d97a..e23ed8c54e18 100644
--- a/lang/slib/pkg-plist
+++ b/lang/slib/pkg-plist
@@ -49,6 +49,7 @@
%%DATADIR%%/factor.scm
%%DATADIR%%/fft.scm
%%DATADIR%%/fluidlet.scm
+%%DATADIR%%/format.scm
%%DATADIR%%/gambit.init
%%DATADIR%%/genwrite.scm
%%DATADIR%%/getopt.scm