aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tgif-nls/Makefile14
-rw-r--r--graphics/tgif-nls/distinfo2
-rw-r--r--graphics/tgif-nls/files/patch-aa4
-rw-r--r--graphics/tgif-nls/files/patch-ab10
-rw-r--r--graphics/tgif-nls/pkg-plist26
5 files changed, 46 insertions, 10 deletions
diff --git a/graphics/tgif-nls/Makefile b/graphics/tgif-nls/Makefile
index b7cc69c8121f..49cddf3b23a8 100644
--- a/graphics/tgif-nls/Makefile
+++ b/graphics/tgif-nls/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= tgif
-PORTVERSION= 4.1.34
+PORTVERSION= 4.1.38
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.cs.umd.edu/pub/tgif/ \
- ftp://ftp.cs.ucla.edu/pub/tgif/
+ ftp://ftp.cs.ucla.edu/pub/tgif/ \
+ ftp://download.sourceforge.net/tgif/
PKGNAMESUFFIX= -nls
MAINTAINER= one@netlab.is.tsukuba.ac.jp
@@ -28,6 +29,11 @@ TGIFDEMO= ${PREFIX}/share/examples/tgif
DEMO_FILES= an-sr-flip-flop.obj launch-demo-1.obj \
fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
READMES= Copyright HISTORY README
+SPICE_FILES= README BZ.mod DN.mod DN.sym MN.mod MN.sym MP.mod MP.sym \
+ SN.mod SN.sym SP.mod SP.sym capacitor.sym connection.sym \
+ demo.obj gauge.sym ground.sym in.sym out.sym port.sym \
+ resistor.0tc.sym resistor.2tc.sym resistor.h.2tc.sym \
+ resistor.h.sym resistor.sym
.endif
post-extract:
@@ -50,6 +56,10 @@ post-install:
${INSTALL_DATA} ${DEMO_FILES} ${TGIFDEMO} ;\
${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\
)
+ ${MKDIR} ${TGIFDEMO}/spice
+ (cd ${WRKSRC}/spice ;\
+ ${INSTALL_DATA} ${SPICE_FILES} ${TGIFDEMO}/spice \
+ )
.endif
${LN} -fs tgif ${PREFIX}/bin/tgif-nls
diff --git a/graphics/tgif-nls/distinfo b/graphics/tgif-nls/distinfo
index feda15200018..c93d49c75a83 100644
--- a/graphics/tgif-nls/distinfo
+++ b/graphics/tgif-nls/distinfo
@@ -1 +1 @@
-MD5 (tgif-4.1.34.tar.gz) = 23f3d00d69370fc39bdc516cb11961ab
+MD5 (tgif-4.1.38.tar.gz) = 64a35f9735aac4de39eeaf7e75416849
diff --git a/graphics/tgif-nls/files/patch-aa b/graphics/tgif-nls/files/patch-aa
index c489f04fb376..1ebf8a3fd2e7 100644
--- a/graphics/tgif-nls/files/patch-aa
+++ b/graphics/tgif-nls/files/patch-aa
@@ -4,8 +4,8 @@
.\"
.\"
.\"
--.TH tgif n "Version 4.1 Patchlevel 34 and Above" "Tgif"
-+.TH tgif 1L "Version 4.1 Patchlevel 34 and Above" "Tgif"
+-.TH tgif n "Version 4.1 Patchlevel 35 and Above" "Tgif"
++.TH tgif 1L "Version 4.1 Patchlevel 35 and Above" "Tgif"
.\"
.SH NAME
.\"
diff --git a/graphics/tgif-nls/files/patch-ab b/graphics/tgif-nls/files/patch-ab
index 602db77353b5..6ff663209176 100644
--- a/graphics/tgif-nls/files/patch-ab
+++ b/graphics/tgif-nls/files/patch-ab
@@ -1,5 +1,5 @@
---- Tgif.tmpl.orig Sat Jun 17 03:43:39 2000
-+++ Tgif.tmpl Sat Jun 17 03:44:15 2000
+--- Tgif.tmpl.orig Fri Aug 25 05:21:24 2000
++++ Tgif.tmpl Fri Aug 25 05:27:31 2000
@@ -41,6 +41,9 @@
XIMPDEFINES =
#endif
@@ -19,10 +19,10 @@
DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-DLOCALEDIR=\"$(LOCALEDIR)\" \@@\
-DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\
-@@ -59,14 +62,16 @@
- -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\"
+@@ -60,14 +63,16 @@
+ -DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\"
MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
- -D_USE_PS_ADOBE_STRING=\"3.0/3.0\"
+ -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP
-MOREDEFINES =
+MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS -DA4PAPER
diff --git a/graphics/tgif-nls/pkg-plist b/graphics/tgif-nls/pkg-plist
index 2392cd11454c..b273b9f87c70 100644
--- a/graphics/tgif-nls/pkg-plist
+++ b/graphics/tgif-nls/pkg-plist
@@ -21,9 +21,35 @@ share/examples/tgif/keys.obj
share/examples/tgif/launch-demo.obj
share/examples/tgif/launch-demo-1.obj
share/examples/tgif/slide-demo.obj
+share/examples/tgif/spice/BZ.mod
+share/examples/tgif/spice/DN.mod
+share/examples/tgif/spice/DN.sym
+share/examples/tgif/spice/MN.mod
+share/examples/tgif/spice/MN.sym
+share/examples/tgif/spice/MP.mod
+share/examples/tgif/spice/MP.sym
+share/examples/tgif/spice/README
+share/examples/tgif/spice/SN.mod
+share/examples/tgif/spice/SN.sym
+share/examples/tgif/spice/SP.mod
+share/examples/tgif/spice/SP.sym
+share/examples/tgif/spice/capacitor.sym
+share/examples/tgif/spice/connection.sym
+share/examples/tgif/spice/demo.obj
+share/examples/tgif/spice/gauge.sym
+share/examples/tgif/spice/ground.sym
+share/examples/tgif/spice/in.sym
+share/examples/tgif/spice/out.sym
+share/examples/tgif/spice/port.sym
+share/examples/tgif/spice/resistor.0tc.sym
+share/examples/tgif/spice/resistor.2tc.sym
+share/examples/tgif/spice/resistor.h.2tc.sym
+share/examples/tgif/spice/resistor.h.sym
+share/examples/tgif/spice/resistor.sym
share/locale/fr/LC_MESSAGES/tgif.mo
share/locale/ja/LC_MESSAGES/tgif.mo
share/locale/ru/LC_MESSAGES/tgif.mo
@dirrm share/doc/tgif
+@dirrm share/examples/tgif/spice
@dirrm share/examples/tgif
@dirrm lib/X11/tgif