diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2007-06-02 08:36:21 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2007-06-02 08:36:21 +0000 |
commit | 5328ce0f2868cefc4b9522c050819248e0f33820 (patch) | |
tree | a787029098ab21ab7ec825451880a727ab8f3e4f /cad/klayout | |
parent | bda9441c6a285790fe7d6a18415f206f7893e892 (diff) | |
download | ports-5328ce0f2868cefc4b9522c050819248e0f33820.tar.gz ports-5328ce0f2868cefc4b9522c050819248e0f33820.zip |
Notes
Diffstat (limited to 'cad/klayout')
-rw-r--r-- | cad/klayout/Makefile | 6 | ||||
-rw-r--r-- | cad/klayout/distinfo | 6 | ||||
-rw-r--r-- | cad/klayout/files/patch-build.sh | 37 | ||||
-rw-r--r-- | cad/klayout/files/patch-config-Makefile.conf | 27 | ||||
-rw-r--r-- | cad/klayout/files/patch-src-Makefile.main | 13 | ||||
-rw-r--r-- | cad/klayout/files/patch-src-Makefile.rules | 13 |
6 files changed, 55 insertions, 47 deletions
diff --git a/cad/klayout/Makefile b/cad/klayout/Makefile index 5fe7dd7bef0b..b914d3706d3c 100644 --- a/cad/klayout/Makefile +++ b/cad/klayout/Makefile @@ -6,11 +6,9 @@ # PORTNAME= klayout -PORTVERSION= 0.9 -PORTREVISION= 1 +PORTVERSION= 0.10 CATEGORIES= cad -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= hrs +MASTER_SITES= http://www.klayout.de/ MAINTAINER= hrs@FreeBSD.org COMMENT= A Qt-based GDS2 Viewer diff --git a/cad/klayout/distinfo b/cad/klayout/distinfo index 6d9d54d225b3..74a8f101bb7e 100644 --- a/cad/klayout/distinfo +++ b/cad/klayout/distinfo @@ -1,3 +1,3 @@ -MD5 (klayout-0.9.tar.gz) = baac1ef7c4bfc9807d3125c64e1a3d87 -SHA256 (klayout-0.9.tar.gz) = 99aae6d1342a8660088799f7eed1556105c9314f664f0cbacab4487a6bb57d4e -SIZE (klayout-0.9.tar.gz) = 406626 +MD5 (klayout-0.10.tar.gz) = b8bf7f9b3830840eabd245e9114ca6f6 +SHA256 (klayout-0.10.tar.gz) = a6a5bae4ffb4bedbd6b204b9c14d1355ad665bb47412800c6bea4f906516778c +SIZE (klayout-0.10.tar.gz) = 454804 diff --git a/cad/klayout/files/patch-build.sh b/cad/klayout/files/patch-build.sh index 00c838da0d60..e0d4374c06ef 100644 --- a/cad/klayout/files/patch-build.sh +++ b/cad/klayout/files/patch-build.sh @@ -1,6 +1,6 @@ ---- build.sh.orig Tue Mar 6 06:58:29 2007 -+++ build.sh Sat Jun 2 13:57:50 2007 -@@ -61,12 +61,12 @@ +--- build.sh.orig Tue May 8 04:41:18 2007 ++++ build.sh Sat Jun 2 16:43:04 2007 +@@ -77,12 +77,12 @@ exit 1 fi @@ -15,20 +15,21 @@ echo "*** ERROR: unable to locate Qt UIC in $QTDIR/bin" exit 1 fi -@@ -107,11 +107,11 @@ - - echo "Build done." - echo "Final binary is ready in ./$BIN/$EXEC_NAME." --echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" --echo "$QTDIR/lib" -+#echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" -+#echo "$QTDIR/lib" - --LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH --./$BIN/$EXEC_NAME -v --./$BIN/$EXEC_NAME -h -+#LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH -+#./$BIN/$EXEC_NAME -v -+#./$BIN/$EXEC_NAME -h +@@ -153,12 +153,12 @@ + echo "Build done." + echo "" + echo "Final binary is ready in $BIN/$EXEC_NAME." +- echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" +- echo "$QTDIR/lib" ++ #echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" ++ #echo "$QTDIR/lib" + +- LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH +- $BIN/$EXEC_NAME -v +- $BIN/$EXEC_NAME -h ++ #LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH ++ #$BIN/$EXEC_NAME -v ++ #$BIN/$EXEC_NAME -h + else diff --git a/cad/klayout/files/patch-config-Makefile.conf b/cad/klayout/files/patch-config-Makefile.conf index 3d6143fe17c6..18ebee5a12e1 100644 --- a/cad/klayout/files/patch-config-Makefile.conf +++ b/cad/klayout/files/patch-config-Makefile.conf @@ -1,17 +1,26 @@ ---- /dev/null Sat Apr 28 23:11:00 2007 -+++ config/Makefile.conf.freebsd-32-gcc-release Sat Apr 28 23:13:51 2007 -@@ -0,0 +1,14 @@ +--- /dev/null Sat Jun 2 16:46:55 2007 ++++ config/Makefile.conf.freebsd-32-gcc-release Sat Jun 2 16:49:48 2007 +@@ -0,0 +1,23 @@ +CC=gcc -+LINK=g++ + +CCOPT_DEP=-MM -MG -x c++ ++ +CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \ + -Wsign-promo -Wsynth -Wno-long-long -+LOPT= -+LIBS=-L$(QTDIR)/lib -pthread -lQt3Support -lQtGui -lQtCore -lQtXml -lstdc++ -+CCOPT=-O + -+INC=-I$(QTDIR)/include ++CCOPT=-c -O -x c++ -o ++CCOPT_SO=-fPIC $(CCOPT) ++ ++INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTDIR)/include ++ ++DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT + -+DEFS= ++# Linker options ++ ++LINK=g++ ++ ++LOPT=-Wl,-E -o ++LOPT_SO=-shared -fPIC -o ++ ++LIBS=-L$(QTDIR)/lib -pthread -lQt3Support -lQtGui -lQtCore -lQtXml -lstdc++ + diff --git a/cad/klayout/files/patch-src-Makefile.main b/cad/klayout/files/patch-src-Makefile.main deleted file mode 100644 index 395dbc29264c..000000000000 --- a/cad/klayout/files/patch-src-Makefile.main +++ /dev/null @@ -1,13 +0,0 @@ ---- src/Makefile.main.orig Sat Apr 28 23:22:53 2007 -+++ src/Makefile.main Sat Apr 28 23:23:04 2007 -@@ -142,8 +142,8 @@ - layRenderer.ut \ - dbArray.ut \ - --MOC=$(QTDIR)/bin/moc --UIC=$(QTDIR)/bin/uic -+MOC=$(QTDIR)/bin/moc-qt4 -+UIC=$(QTDIR)/bin/uic-qt4 - RCC=$(QTDIR)/bin/rcc - - INCFLAGS=\ diff --git a/cad/klayout/files/patch-src-Makefile.rules b/cad/klayout/files/patch-src-Makefile.rules new file mode 100644 index 000000000000..4bf96bf5ce62 --- /dev/null +++ b/cad/klayout/files/patch-src-Makefile.rules @@ -0,0 +1,13 @@ +--- src/Makefile.rules.orig Tue May 8 04:41:19 2007 ++++ src/Makefile.rules Sat Jun 2 16:45:56 2007 +@@ -16,8 +16,8 @@ + endif + CCOPTS=$(CCWARN) $(DEFS) $(CCOPT) + +-MOC=$(QTDIR)/bin/moc +-UIC=$(QTDIR)/bin/uic ++MOC=$(QTDIR)/bin/moc-qt4 ++UIC=$(QTDIR)/bin/uic-qt4 + RCC=$(QTDIR)/bin/rcc + + # this target must be first: |