summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-24 19:01:28 +0000
committerijliao <ijliao@FreeBSD.org>2001-05-24 19:01:28 +0000
commitca665297e2e67420f7982ae1643f489191e0bc9d (patch)
treec84cb820997423596040db1b6ac38e1040fa53f2 /math
parent4a5402c86b529020e3fcf6cb6d48155a26172bbd (diff)
downloadFreeBSD-ports-ca665297e2e67420f7982ae1643f489191e0bc9d.zip
FreeBSD-ports-ca665297e2e67420f7982ae1643f489191e0bc9d.tar.gz
upgrade to 0.2.1
drop maintainership
Diffstat (limited to 'math')
-rw-r--r--math/rascal/Makefile18
-rw-r--r--math/rascal/distinfo2
-rw-r--r--math/rascal/files/patch-Makefile43
-rw-r--r--math/rascal/pkg-plist8
4 files changed, 53 insertions, 18 deletions
diff --git a/math/rascal/Makefile b/math/rascal/Makefile
index 1caac4b..065432e 100644
--- a/math/rascal/Makefile
+++ b/math/rascal/Makefile
@@ -7,12 +7,14 @@
#
PORTNAME= rascal
-PORTVERSION= 0.1.7
+PORTVERSION= 0.2.1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_BISON= yes
@@ -20,15 +22,7 @@ WRKSRC= ${WRKDIR}/Rascal-${PORTVERSION}
USE_GMAKE= yes
ALL_TARGET=
-DOCS= modules.pdf modules.ps rascal.pdf rascal.ps
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/rascal ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/rascal
-.for file in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/rascal
-.endfor
-.endif
+post-patch:
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/math/rascal/distinfo b/math/rascal/distinfo
index fe170c9..ee256f1 100644
--- a/math/rascal/distinfo
+++ b/math/rascal/distinfo
@@ -1 +1 @@
-MD5 (rascal-0.1.7.tar.gz) = 7adffebc552bacadc5bdc79250dee17b
+MD5 (rascal-0.2.1.tar.gz) = 1a742577265a78ebd98bf6ebe4aba73a
diff --git a/math/rascal/files/patch-Makefile b/math/rascal/files/patch-Makefile
new file mode 100644
index 0000000..71d3cf8
--- /dev/null
+++ b/math/rascal/files/patch-Makefile
@@ -0,0 +1,43 @@
+--- Makefile.orig Wed May 23 09:25:03 2001
++++ Makefile Fri May 25 02:58:44 2001
+@@ -15,23 +15,25 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ #
+-PREFIX=/usr/local
+
+ VERSION=0.2.1
+
+-CC=g++
+-CFLAGS=-O0 -fno-default-inline -g -DVERSION=\"$(VERSION)\"
++CXXFLAGS+=-fno-default-inline -DVERSION=\"$(VERSION)\" -I%%LOCALBASE%%/include
+ INSTALL=install -m 755
+ STRIP=strip -g
+ RM=rm -f
+ RMDIR=rm -rf
+ INSTDIR=install -d
+
+-LIBS=-lm -lreadline -lcurses
++LIBS=-lm -lreadline -lcurses -L%%LOCALBASE%%/lib -lgnugetopt
+ OBJS=y.tab.o lex.yy.o symtab.o value.o
+
+ -include value.mak
+
++.SUFFIXES: .o .c
++
++.c.o: ; ${CXX} ${CXXFLAGS} -c $*.c
++
+ rascal: $(OBJS)
+ g++ -o rascal $(CFLAGS) $(OBJS) $(LIBS)
+ test: rascal
+@@ -64,10 +66,8 @@
+ $(INSTALL) ./rascal $(PREFIX)/bin/
+ $(INSTALL) ./rascal.rc $(PREFIX)/bin/
+ $(STRIP) $(PREFIX)/bin/rascal
+- $(INSTDIR) $(PREFIX)/doc/rascal
+ $(INSTALL) rascal.ps $(PREFIX)/doc/rascal
+ $(INSTALL) rascal.pdf $(PREFIX)/doc/rascal
+- -$(INSTDIR) $(PREFIX)/doc/rascal/html
+ -$(INSTALL) rascal_html/index.html rascal_html/*.gif rascal_html/*.css $(PREFIX)/doc/rascal/html
+
+ source-archive: clean
diff --git a/math/rascal/pkg-plist b/math/rascal/pkg-plist
index 33b97a9..4e17b56 100644
--- a/math/rascal/pkg-plist
+++ b/math/rascal/pkg-plist
@@ -1,6 +1,4 @@
bin/rascal
-%%PORTDOCS%%share/doc/rascal/modules.pdf
-%%PORTDOCS%%share/doc/rascal/modules.ps
-%%PORTDOCS%%share/doc/rascal/rascal.pdf
-%%PORTDOCS%%share/doc/rascal/rascal.ps
-%%PORTDOCS%%@dirrm share/doc/rascal
+share/doc/rascal/rascal.pdf
+share/doc/rascal/rascal.ps
+@dirrm share/doc/rascal
OpenPOWER on IntegriCloud