aboutsummaryrefslogtreecommitdiffstats
path: root/cad/klayout
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-04-29 02:55:05 +0800
committerhrs <hrs@FreeBSD.org>2007-04-29 02:55:05 +0800
commit088c43d29cfbebe27b326a6d85c109e58847317e (patch)
treecc67877b5f166a49c883b4ccfc4628b7b7deff11 /cad/klayout
parent95dba42d552f13227d7be645b5e10b132717206d (diff)
downloadfreebsd-ports-gnome-088c43d29cfbebe27b326a6d85c109e58847317e.tar.gz
freebsd-ports-gnome-088c43d29cfbebe27b326a6d85c109e58847317e.tar.zst
freebsd-ports-gnome-088c43d29cfbebe27b326a6d85c109e58847317e.zip
KLayout is a Qt-based GDS2 viewer.
Diffstat (limited to 'cad/klayout')
-rw-r--r--cad/klayout/Makefile32
-rw-r--r--cad/klayout/distinfo3
-rw-r--r--cad/klayout/files/patch-build.sh17
-rw-r--r--cad/klayout/files/patch-config-Makefile.conf17
-rw-r--r--cad/klayout/files/patch-src-Makefile.main13
-rw-r--r--cad/klayout/pkg-descr3
6 files changed, 85 insertions, 0 deletions
diff --git a/cad/klayout/Makefile b/cad/klayout/Makefile
new file mode 100644
index 000000000000..7ccfd23e981b
--- /dev/null
+++ b/cad/klayout/Makefile
@@ -0,0 +1,32 @@
+# Ports collection makefile for: klayout
+# Date created: Sat, Apr 28, 2007
+# Whom: Hiroki Sato <hrs@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= klayout
+PORTVERSION= 0.9
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= hrs
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A Qt-based GDS2 Viewer
+
+USE_GMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui network moc sql uic rcc qt3support xml
+PLIST_FILES= bin/klayout
+
+PLATFORMKEYWORD= freebsd-32-gcc-release
+
+do-build:
+ cd ${WRKSRC} \
+ && ${SH} build.sh -platform ${PLATFORMKEYWORD} -qt ${LOCALBASE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin.${PLATFORMKEYWORD}/klayout \
+ ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/cad/klayout/distinfo b/cad/klayout/distinfo
new file mode 100644
index 000000000000..6d9d54d225b3
--- /dev/null
+++ b/cad/klayout/distinfo
@@ -0,0 +1,3 @@
+MD5 (klayout-0.9.tar.gz) = baac1ef7c4bfc9807d3125c64e1a3d87
+SHA256 (klayout-0.9.tar.gz) = 99aae6d1342a8660088799f7eed1556105c9314f664f0cbacab4487a6bb57d4e
+SIZE (klayout-0.9.tar.gz) = 406626
diff --git a/cad/klayout/files/patch-build.sh b/cad/klayout/files/patch-build.sh
new file mode 100644
index 000000000000..20f99fc9134d
--- /dev/null
+++ b/cad/klayout/files/patch-build.sh
@@ -0,0 +1,17 @@
+--- build.sh.orig Sat Apr 28 23:13:29 2007
++++ build.sh Sat Apr 28 23:13:40 2007
+@@ -61,12 +61,12 @@
+ exit 1
+ fi
+
+-if [ ! -r $QTDIR/bin/moc ]; then
++if [ ! -r $QTDIR/bin/moc4 ]; then
+ echo "*** ERROR: unable to locate Qt MOC in $QTDIR/bin"
+ exit 1
+ fi
+
+-if [ ! -r $QTDIR/bin/uic ]; then
++if [ ! -r $QTDIR/bin/uic4 ]; then
+ echo "*** ERROR: unable to locate Qt UIC in $QTDIR/bin"
+ exit 1
+ fi
diff --git a/cad/klayout/files/patch-config-Makefile.conf b/cad/klayout/files/patch-config-Makefile.conf
new file mode 100644
index 000000000000..3d6143fe17c6
--- /dev/null
+++ b/cad/klayout/files/patch-config-Makefile.conf
@@ -0,0 +1,17 @@
+--- /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 @@
++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
++
++DEFS=
++
diff --git a/cad/klayout/files/patch-src-Makefile.main b/cad/klayout/files/patch-src-Makefile.main
new file mode 100644
index 000000000000..45087d421e6d
--- /dev/null
+++ b/cad/klayout/files/patch-src-Makefile.main
@@ -0,0 +1,13 @@
+--- 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/moc4
++UIC=$(QTDIR)/bin/uic4
+ RCC=$(QTDIR)/bin/rcc
+
+ INCFLAGS=\
diff --git a/cad/klayout/pkg-descr b/cad/klayout/pkg-descr
new file mode 100644
index 000000000000..bb65b0628b96
--- /dev/null
+++ b/cad/klayout/pkg-descr
@@ -0,0 +1,3 @@
+KLayout is a viewer for GDS2 files.
+
+WWW: http://www.klayout.de/index.html