diff options
author | issei <issei@FreeBSD.org> | 2000-12-24 16:23:04 +0800 |
---|---|---|
committer | issei <issei@FreeBSD.org> | 2000-12-24 16:23:04 +0800 |
commit | 2fc45b702d28cfb455c15c22ac4ff5c66f9a5303 (patch) | |
tree | 12cab1673c14674888fddceb90f6812bfa231486 /math/topaz | |
parent | 606883eb900859ce902f0886f4462af74c5b443b (diff) | |
download | freebsd-ports-gnome-2fc45b702d28cfb455c15c22ac4ff5c66f9a5303.tar.gz freebsd-ports-gnome-2fc45b702d28cfb455c15c22ac4ff5c66f9a5303.tar.zst freebsd-ports-gnome-2fc45b702d28cfb455c15c22ac4ff5c66f9a5303.zip |
Update to 3.30
Change MAINTAINER line. Now the maintainer is committer.
Submitted by: tkato@prontomail.ne.jp
Diffstat (limited to 'math/topaz')
-rw-r--r-- | math/topaz/Makefile | 22 | ||||
-rw-r--r-- | math/topaz/distinfo | 2 | ||||
-rw-r--r-- | math/topaz/files/patch-aa | 225 | ||||
-rw-r--r-- | math/topaz/files/patch-ab | 12 |
4 files changed, 239 insertions, 22 deletions
diff --git a/math/topaz/Makefile b/math/topaz/Makefile index 7e7b6eb12e0b..b887cf284fe5 100644 --- a/math/topaz/Makefile +++ b/math/topaz/Makefile @@ -6,21 +6,25 @@ # PORTNAME= topaz -PORTVERSION= 3.25 +PORTVERSION= 3.30 CATEGORIES= math MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/ -DISTFILES= topaz-3_25-src.tar.gz +DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}-src -MAINTAINER= issei@jp.FreeBSD.ORG +MAINTAINER= issei@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - ncurses.5:${PORTSDIR}/devel/ncurses +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -CXX?= c++ -MAKEFILE= Makefile.freebsd +.include<bsd.port.pre.mk> +.if ${OSVERSION} < 400010 +LIB_DEPENDS+= ncurses:${PORTNAME}/devel/ncurses +.endif + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_XLIB= yes +MAKEFILE= Makefile.freebsd post-install: - ${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${PREFIX}/bin/topaz + ${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${PREFIX}/bin/topaz -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/topaz/distinfo b/math/topaz/distinfo index fc6792eefa2c..52a8759e41c9 100644 --- a/math/topaz/distinfo +++ b/math/topaz/distinfo @@ -1 +1 @@ -MD5 (topaz-3_25-src.tar.gz) = 35395c16ac0ae5f94744e048f84e006d +MD5 (topaz-3_30-src.tar.gz) = af8ad774d178eb03c438c2e5a69b6958 diff --git a/math/topaz/files/patch-aa b/math/topaz/files/patch-aa index 273705754bf7..0e02f97f59bb 100644 --- a/math/topaz/files/patch-aa +++ b/math/topaz/files/patch-aa @@ -1,5 +1,5 @@ ---- topaz/Makefile.freebsd.orig Tue Oct 26 20:29:25 1999 -+++ topaz/Makefile.freebsd Sat Oct 30 16:22:05 1999 +--- topaz/Makefile.freebsd.orig Sun Oct 22 21:00:30 2000 ++++ topaz/Makefile.freebsd Sat Nov 25 03:49:20 2000 @@ -2,16 +2,16 @@ clean: cleantopaz cleanview cleanps @@ -12,12 +12,225 @@ # for FreeBSD -CFLAGS= -I/usr/local/include -I/usr/local/include/ncurses -I/usr/X11R6/include -O2 -Wall -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC --TOPAZLIB= -L/usr/local/lib -lm -lncurses -lgnugetopt -+CFLAGS+= -I$(PREFIX)/include -I$(PREFIX)/include/ncurses -I$(X11BASE)/include -O2 -Wall -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC -+TOPAZLIB= -L$(PREFIX)/lib -lm -lncurses -lgnugetopt +-TOPAZLIB= -L/usr/local/lib -lm -lncurses -lgnugetopt -lreadline -lhistory ++CXXFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ncurses -I${X11BASE}/include -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC ++TOPAZLIB= -L${LOCALBASE}/lib -lm -lncurses -lgnugetopt -lreadline -lhistory PSLIB= -lm -VIEWLIB= -lm -L/usr/X11R6/lib -lX11 -+VIEWLIB= -lm -L$(X11BASE)/lib -lX11 ++VIEWLIB= -lm -L${X11BASE}/lib -lX11 # obj OBJ=topaz.o plobj.o graph.o axis.o frame.o frame2.o valbuff.o script.o funcs.o\ +@@ -29,150 +29,150 @@ + $(CXX) -o topaz $(OBJ) $(TOPAZLIB) + + topaz.o: topaz.cc script.h frame.h menudef.h cui.h msgbuff.h filepoint.h jmenudef_euc.h topazcurses.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c topaz.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c topaz.cc + + plobj.o: plobj.cc plobj.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c plobj.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c plobj.cc + + graph.o: graph.cc graph.h frame.h data.h vect.h vectdefs.h col.h styledisp.h \ + browse.h gdi.h filepoint.h linearfit.h system.h convtxt.h regexpress.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c graph.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c graph.cc + + axis.o: axis.cc axis.h frame.h graph.h col.h gdi.h minmax.h pointdefs.h naninf.h \ + filepoint.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c axis.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c axis.cc + + frame.o: frame.cc frame.h graph.h axis.h data.h gdi.h vectdefs.h pointdefs.h \ + filepoint.h system.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c frame.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c frame.cc + + frame2.o: frame2.cc frame.h graph.h axis.h data.h gdi.h vectdefs.h pointdefs.h \ + topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c frame2.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c frame2.cc + + valbuff.o: valbuff.cc valbuff.h buffarray.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c valbuff.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c valbuff.cc + + script.o: script.cc script.h system.h tokenbuff.h graph.h buffarray.h cui.h \ + browse.h objectlist.h pipecall.h minmax.h gamma.h filepoint.h convtxt.h msgbuff.h \ + topazvalues.h regexpress.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c script.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c script.cc + + funcs.o: funcs.cc script.h system.h tokenbuff.h graph.h buffarray.h cui.h \ + browse.h objectlist.h pipecall.h minmax.h gamma.h filepoint.h convtxt.h \ + msgbuff.h kanji.h topazvalues.h paths.h topazprintf.h + +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c funcs.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c funcs.cc + + conttoken.o: conttoken.cc script.h system.h tokenbuff.h graph.h buffarray.h \ + cui.h browse.h objectlist.h pipecall.h topazvalues.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c conttoken.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c conttoken.cc + + parsetoken.o: parsetoken.cc script.h system.h tokenbuff.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c parsetoken.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c parsetoken.cc + + buffarray.o: buffarray.cc buffarray.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c buffarray.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c buffarray.cc + + system.o: system.cc convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c system.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c system.cc + + tokenbuff.o: tokenbuff.cc tokenbuff.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c tokenbuff.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c tokenbuff.cc + + cui.o: cui.cc cui.h script.h buffarray.h gdi.h msgbuff.h filepoint.h kanji.h completion.h topazcurses.h frame.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c cui.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c cui.cc + + msgbuff.o: msgbuff.cc msgbuff.h kanji.h topazcurses.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c msgbuff.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c msgbuff.cc + + styleline.o: styleline.cc vectdefs.h pointdefs.h col.h gdi.h graph.h naninf.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c styleline.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c styleline.cc + + gdi.o: gdi.cc vectdefs.h pointdefs.h filepoint.h graph.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c gdi.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c gdi.cc + + data.o: data.cc data.h gdi.h vectdefs.h pointdefs.h graph.h frame.h topazvalues.h \ + convtxt.h paths.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c data.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c data.cc + + browse.o: browse.cc browse.h vectdefs.h cui.h convtxt.h regexpress.h topazcurses.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c browse.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c browse.cc + + objectlist.o: objectlist.cc objectlist.h graph.h cui.h script.h vectdefs.h \ + styledisp.h data.h parts.h gdi.h frame.h filepoint.h regexpress.h topazcurses.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c objectlist.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c objectlist.cc + + styledisp.o: styledisp.cc styledisp.h col.h data.h frame.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c styledisp.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c styledisp.cc + + loaddata.o: loaddata.cc data.h frame.h topazvalues.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c loaddata.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c loaddata.cc + + plotdata.o: plotdata.cc data.h frame.h axis.h vectdefs.h pointdefs.h gdi.h \ + spline.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c plotdata.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c plotdata.cc + + calc.o: calc.cc calc.h data.h gamma.h graph.h frame.h naninf.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c calc.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c calc.cc + + gamma.o: gamma.cc gamma.h naninf.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c gamma.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c gamma.cc + + dinvq.o: dinvq.cc +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c dinvq.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c dinvq.cc + + pspline.o: pspline.cc spline.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c pspline.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c pspline.cc + + bspline.o: bspline.cc spline.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c bspline.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c bspline.cc + + parts.o: parts.cc parts.h graph.h frame.h data.h defcharwidth.h gdi.h pointdefs.h \ + vectdefs.h spline.h minmax.h filepoint.h kanji.h topazvalues.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c parts.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c parts.cc + + filepoint.o: filepoint.cc filepoint.h pipecall.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c filepoint.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c filepoint.cc + + pipecall.o: pipecall.cc pipecall.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c pipecall.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c pipecall.cc + + naninf.o: naninf.cc naninf.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c naninf.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c naninf.cc + + autoscale.o: autoscale.cc frame.h axis.h naninf.h topazvalues.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c autoscale.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c autoscale.cc + + globalbuff.o: globalbuff.cc globalbuff.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c globalbuff.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c globalbuff.cc + + genxdata.o: genxdata.cc data.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c genxdata.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c genxdata.cc + + linearfit.o: linearfit.cc linearfit.h naninf.h calc.h graph.h frame.h data.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c linearfit.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c linearfit.cc + + nonlinearfit.o: nonlinearfit.cc data.h buffarray.h frame.h naninf.h graph.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c nonlinearfit.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c nonlinearfit.cc + + convtxt.o: convtxt.cc convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c convtxt.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c convtxt.cc + + kanji.o: kanji.cc kanji.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c kanji.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c kanji.cc + + paths.o: paths.cc paths.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c paths.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c paths.cc + + topazprintf.o: topazprintf.cc topazprintf.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c topazprintf.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c topazprintf.cc + + completion.o: completion.cc completion.h vectdefs.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c completion.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c completion.cc + + regexpress.o: regexpress.cc regexpress.h valbuff.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c regexpress.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c regexpress.cc + + cleantopaz: + -rm $(OBJ) topaz +@@ -181,7 +181,7 @@ + $(CXX) -o tpv2ps $(PSOBJ) $(PSLIB) + + tpv2ps.o: tpv2ps.cc vectdefs.h pointdefs.h col.h kanji.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c tpv2ps.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c tpv2ps.cc + + cleanps: + -rm tpv2ps.o tpv2ps +@@ -190,7 +190,7 @@ + $(CXX) -o tpvview tpvview.o kanji.o convtxt.o $(VIEWLIB) + + tpvview.o: tpvview.cc vectdefs.h pointdefs.h Xparray.h col.h kanji.h convtxt.h +- $(CXX) -I$(INCLUDE) $(CFLAGS) -c tpvview.cc ++ $(CXX) -I$(INCLUDE) $(CXXFLAGS) -c tpvview.cc + + cleanview: + -rm tpvview.o tpvview diff --git a/math/topaz/files/patch-ab b/math/topaz/files/patch-ab index 63cf2f473fc1..fc8d4faebba9 100644 --- a/math/topaz/files/patch-ab +++ b/math/topaz/files/patch-ab @@ -1,6 +1,6 @@ ---- Makefile.freebsd.orig Tue Oct 26 20:29:25 1999 -+++ Makefile.freebsd Sat Oct 30 16:51:41 1999 -@@ -1,50 +1,28 @@ +--- Makefile.freebsd.orig Sun Oct 22 21:00:30 2000 ++++ Makefile.freebsd Sun Dec 24 16:59:06 2000 +@@ -1,50 +1,29 @@ -INSTALLDIR=/usr/local/lib/topaz +INSTALLDIR=$(PREFIX)/lib/topaz @@ -53,7 +53,6 @@ - mkdir $(INSTALLDIR)/sample \ - ; fi - cp ./sample/* $(INSTALLDIR)/sample -- + -mkdir -p $(INSTALLDIR) + $(BSD_INSTALL_SCRIPT) ./topaz.sh $(INSTALLDIR) + $(BSD_INSTALL_DATA) ./head.ps $(INSTALLDIR) @@ -65,9 +64,10 @@ + $(BSD_INSTALL_PROGRAM) ./topaz/tpv2ps $(INSTALLDIR) + $(BSD_INSTALL_PROGRAM) ./topaz/tpvview $(INSTALLDIR) + -mkdir -p $(INSTALLDIR)/_topaz -+ $(BSD_INSTALL_SCRIPT) ./_topaz/* $(INSTALLDIR)/_topaz ++ $(BSD_INSTALL_DATA) ./_topaz/* $(INSTALLDIR)/_topaz + $(BSD_INSTALL_DATA) ./cuirc.lnx $(INSTALLDIR)/_topaz/cui.rc + $(BSD_INSTALL_DATA) ./topazfontmap $(INSTALLDIR)/_topaz + $(BSD_INSTALL_DATA) ./topazkfontmap $(INSTALLDIR)/_topaz + -mkdir -p $(PREFIX)/share/examples/topaz -+ cp ./sample/* $(PREFIX)/share/examples/topaz ++ $(BSD_INSTALL_DATA) ./sample/* ${PREFIX}/share/examples/topaz + |