aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-07-02 15:37:23 +0800
committermiwi <miwi@FreeBSD.org>2011-07-02 15:37:23 +0800
commitb2b38420807fb10c6bbe3e76517f7193ba048769 (patch)
treee032dabd030207c1be395007827beebb7cbaf9de
parent2cf212577dcf57da263aa5a52bc547d8debc48f3 (diff)
downloadfreebsd-ports-gnome-b2b38420807fb10c6bbe3e76517f7193ba048769.tar.gz
freebsd-ports-gnome-b2b38420807fb10c6bbe3e76517f7193ba048769.tar.zst
freebsd-ports-gnome-b2b38420807fb10c6bbe3e76517f7193ba048769.zip
- Update to 3.41
PR: 158486 Submitted by: Ports Fury
-rw-r--r--math/topaz/Makefile9
-rw-r--r--math/topaz/distinfo4
-rw-r--r--math/topaz/files/patch-aa2
-rw-r--r--math/topaz/files/patch-ab4
-rw-r--r--math/topaz/pkg-plist16
5 files changed, 18 insertions, 17 deletions
diff --git a/math/topaz/Makefile b/math/topaz/Makefile
index fe05bd6d4fd8..3241996677fc 100644
--- a/math/topaz/Makefile
+++ b/math/topaz/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= topaz
-PORTVERSION= 3.40
-PORTREVISION= 2
+PORTVERSION= 3.41
CATEGORIES= math
MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}-src
@@ -15,8 +14,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= A command driven graph plotting system for scientists and engineers
-BROKEN= Does not fetch
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_XORG= x11
@@ -24,5 +21,9 @@ MAKEFILE= Makefile.freebsd
post-install:
${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${PREFIX}/bin/topaz
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff --git a/math/topaz/distinfo b/math/topaz/distinfo
index 4a714a1d7df3..696d7af45598 100644
--- a/math/topaz/distinfo
+++ b/math/topaz/distinfo
@@ -1,2 +1,2 @@
-SHA256 (topaz-3_40-src.tar.gz) = 1f98be654d9b9c74feee90bf4d19ecc3002f836a47e5e2c5c1c547c4058e59ed
-SIZE (topaz-3_40-src.tar.gz) = 283253
+SHA256 (topaz-3_41-src.tar.gz) = df364c549c9fbc6ed470ce3bd6c253a0f2272e712609ba884229c466c45e54e1
+SIZE (topaz-3_41-src.tar.gz) = 283783
diff --git a/math/topaz/files/patch-aa b/math/topaz/files/patch-aa
index d80194621d21..d3eb255d1e6a 100644
--- a/math/topaz/files/patch-aa
+++ b/math/topaz/files/patch-aa
@@ -13,7 +13,7 @@
# 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 -lreadline -lhistory
-+CXXFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
++CXXFLAGS+= -I${LOCALBASE}/include -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
+TOPAZLIB= -lm -lncurses -lreadline -lhistory
PSLIB= -lm
-VIEWLIB= -lm -L/usr/X11R6/lib -lX11
diff --git a/math/topaz/files/patch-ab b/math/topaz/files/patch-ab
index fc8d4faebba9..542bbc4b1b10 100644
--- a/math/topaz/files/patch-ab
+++ b/math/topaz/files/patch-ab
@@ -68,6 +68,6 @@
+ $(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
-+ $(BSD_INSTALL_DATA) ./sample/* ${PREFIX}/share/examples/topaz
++# -mkdir -p $(PREFIX)/share/examples/topaz
++# $(BSD_INSTALL_DATA) ./sample/* ${PREFIX}/share/examples/topaz
diff --git a/math/topaz/pkg-plist b/math/topaz/pkg-plist
index 22ef19db8306..dc00c3177818 100644
--- a/math/topaz/pkg-plist
+++ b/math/topaz/pkg-plist
@@ -27,13 +27,13 @@ lib/topaz/topaz
lib/topaz/topaz.sh
lib/topaz/tpv2ps
lib/topaz/tpvview
-share/examples/topaz/fit.tpz
-share/examples/topaz/parts.tpz
-share/examples/topaz/sample.txt
-share/examples/topaz/stdfontset.tpz
-share/examples/topaz/step.tpz
-share/examples/topaz/symbolfontset.tpz
-share/examples/topaz/text.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fit.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stdfontset.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/step.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/symbolfontset.tpz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text.tpz
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm lib/topaz/_topaz
@dirrm lib/topaz
-@dirrm share/examples/topaz