aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-11-16 01:32:37 +0800
committerstas <stas@FreeBSD.org>2006-11-16 01:32:37 +0800
commit50a20494b83a2fe2aad97570849291c941d722e3 (patch)
tree5d76c27255829b5cd002792663592a5602cd1faf /cad
parent0dfb7dd08bd433da9fcd0ce8ddf8747d77689578 (diff)
downloadfreebsd-ports-graphics-50a20494b83a2fe2aad97570849291c941d722e3.tar.gz
freebsd-ports-graphics-50a20494b83a2fe2aad97570849291c941d722e3.tar.zst
freebsd-ports-graphics-50a20494b83a2fe2aad97570849291c941d722e3.zip
- Update to 0.8.90
- Change my email - Use new WX framework
Diffstat (limited to 'cad')
-rw-r--r--cad/gspiceui/Makefile12
-rw-r--r--cad/gspiceui/distinfo6
-rw-r--r--cad/gspiceui/files/patch-src_Makefile16
3 files changed, 19 insertions, 15 deletions
diff --git a/cad/gspiceui/Makefile b/cad/gspiceui/Makefile
index 15969c86793..2e3ebba869a 100644
--- a/cad/gspiceui/Makefile
+++ b/cad/gspiceui/Makefile
@@ -6,19 +6,19 @@
#
PORTNAME= gspiceui
-PORTVERSION= 0.8.55
+PORTVERSION= 0.8.90
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-v${PORTVERSION}
-MAINTAINER= ssedov@mbsd.msk.ru
+MAINTAINER= stas@FreeBSD.org
COMMENT= GUI frontend for gnucap/ng-spice circuit simulators
-LIB_DEPENDS= wx_gtk2u_core-2.6:${PORTSDIR}/x11-toolkits/wxgtk26-unicode
RUN_DEPENDS= gwave:${PORTSDIR}/cad/gwave
-USE_X_PREFIX= yes
+USE_WX= 2.6
+WX_UNICODE= yes
USE_GMAKE= yes
OPTIONS= NGSPICE "Use ng-spice as backend" on \
@@ -36,6 +36,10 @@ COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -E -e "s,%%WX_CONFIG%%,${WX_CONFIG},g" \
+ ${WRKSRC}/src/Makefile
+
.if !defined(WITHOUT_NGSPICE)
RUN_DEPENDS+= ngspice:${PORTSDIR}/cad/ngspice_rework
.endif
diff --git a/cad/gspiceui/distinfo b/cad/gspiceui/distinfo
index 94c776ebc85..68d58b4e4f5 100644
--- a/cad/gspiceui/distinfo
+++ b/cad/gspiceui/distinfo
@@ -1,3 +1,3 @@
-MD5 (gspiceui-v0.8.55.tar.gz) = 7a52d50456d21f259281350d88a926d3
-SHA256 (gspiceui-v0.8.55.tar.gz) = 31d39cfafc9af48139cb29b303eca76a082f1dd25cbb91b04c30a292d3effb48
-SIZE (gspiceui-v0.8.55.tar.gz) = 419458
+MD5 (gspiceui-v0.8.90.tar.gz) = 6e0de5b02a5b4707d197bd8648b2d8df
+SHA256 (gspiceui-v0.8.90.tar.gz) = 9618ba20a80baf054b5e0c25a75a6a5a6b54078e6e40ce196d0101a78b16d4d5
+SIZE (gspiceui-v0.8.90.tar.gz) = 438270
diff --git a/cad/gspiceui/files/patch-src_Makefile b/cad/gspiceui/files/patch-src_Makefile
index 178f913ce0d..04b76e552b1 100644
--- a/cad/gspiceui/files/patch-src_Makefile
+++ b/cad/gspiceui/files/patch-src_Makefile
@@ -1,24 +1,24 @@
---- src/Makefile.orig Wed Jan 11 23:09:15 2006
-+++ src/Makefile Sat Apr 29 19:29:09 2006
+--- src/Makefile.orig Tue Oct 17 12:17:20 2006
++++ src/Makefile Wed Nov 15 19:14:19 2006
@@ -23,7 +23,7 @@
PROG = gspiceui
# wxWidgets configuration utility
-WXCFG = wx-config
-+WXCFG = wxgtk2u-2.6-config
++WXCFG = %%WX_CONFIG%%
# Directories
#ROOT := $(shell cd .. ; pwd)
@@ -45,10 +45,10 @@
+ endif
# Includes
- INCLUDES =-I/usr/include -I/usr/X11R6/include -I. -Ibase -Imain -Inetlist \
---Ignucap -Ingspice -Iprocess -Iutility
-+-Ignucap -Ingspice -Iprocess -Iutility $(shell wxgtk2u-2.6-config --cxxflags)
+-INCLUDES =-I/usr/include -I/usr/X11R6/include -I.
++INCLUDES =-I/usr/include -I/usr/X11R6/include -I. $(shell %%WX_CONFIG%% --cxxflags)
# Libraries
--LIB := $(shell wx-config --libs)
-+LIB := $(shell wxgtk2u-2.6-config --libs)
+-LIB := $(shell wx-config --libs) $(shell pkg-config --libs pangox)
++LIB := $(shell %%WX_CONFIG%% --libs) $(shell pkg-config --libs pangox)
# Sources & headers
SRCS = *.cpp