aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
committerRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
commit66fee909266a1dedf3dfc1f03bb0841380d78805 (patch)
tree4c98d494bc4532b5dd5b19f4e47bcb3babf104c2 /cad
parenteec2cb8d7407c5628cc8016e7349abbee6c98e3f (diff)
downloadports-66fee909266a1dedf3dfc1f03bb0841380d78805.tar.gz
ports-66fee909266a1dedf3dfc1f03bb0841380d78805.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile4
-rw-r--r--cad/opencascade-tutorial/Makefile75
-rw-r--r--cad/opencascade-tutorial/distinfo2
-rw-r--r--cad/opencascade-tutorial/files/patch-configure38
-rw-r--r--cad/opencascade-tutorial/files/pkg-message.in5
-rw-r--r--cad/opencascade-tutorial/pkg-descr3
-rw-r--r--cad/opencascade-tutorial/pkg-plist65
-rw-r--r--cad/qcad/Makefile79
-rw-r--r--cad/qcad/distinfo2
-rw-r--r--cad/qcad/files/patch-aa10
-rw-r--r--cad/qcad/files/patch-ab9
-rw-r--r--cad/qcad/files/patch-ac9
-rw-r--r--cad/qcad/files/patch-ad28
-rw-r--r--cad/qcad/files/patch-ae10
-rw-r--r--cad/qcad/files/patch-zzz-autosave345
-rw-r--r--cad/qcad/files/patch-zzz-ioexcept109
-rw-r--r--cad/qcad/pkg-descr16
-rw-r--r--cad/qucs/Makefile21
-rw-r--r--cad/qucs/distinfo2
-rw-r--r--cad/qucs/pkg-descr7
-rw-r--r--cad/qucs/pkg-plist481
-rw-r--r--cad/vipec/Makefile47
-rw-r--r--cad/vipec/distinfo2
-rw-r--r--cad/vipec/files/patch-HelpWindow.cpp18
-rw-r--r--cad/vipec/files/patch-Setup.cpp22
-rw-r--r--cad/vipec/files/patch-include::Component.h24
-rw-r--r--cad/vipec/files/patch-include::DataVector.h10
-rw-r--r--cad/vipec/files/patch-include::Schematic.h13
-rw-r--r--cad/vipec/files/patch-vipec.pro13
-rw-r--r--cad/vipec/pkg-descr15
-rw-r--r--cad/vipec/pkg-plist61
31 files changed, 0 insertions, 1545 deletions
diff --git a/cad/Makefile b/cad/Makefile
index 15eac7d4a836..44dd6e98709c 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -65,7 +65,6 @@
SUBDIR += netgen
SUBDIR += ngspice_rework
SUBDIR += opencascade
- SUBDIR += opencascade-tutorial
SUBDIR += openscad
SUBDIR += openvsp
SUBDIR += p5-GDS2
@@ -73,12 +72,10 @@
SUBDIR += pcb
SUBDIR += pdnmesh
SUBDIR += pythoncad
- SUBDIR += qcad
SUBDIR += qcad-partslib
SUBDIR += qelectrotech
SUBDIR += qfsm
SUBDIR += qmls
- SUBDIR += qucs
SUBDIR += repsnapper
SUBDIR += salome
SUBDIR += salome-geom
@@ -106,7 +103,6 @@
SUBDIR += transcalc
SUBDIR += varkon
SUBDIR += verilog-mode.el
- SUBDIR += vipec
SUBDIR += xcircuit
SUBDIR += z88
diff --git a/cad/opencascade-tutorial/Makefile b/cad/opencascade-tutorial/Makefile
deleted file mode 100644
index bfe99fb30545..000000000000
--- a/cad/opencascade-tutorial/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-# New ports collection makefile for: opencascade-tutorial
-# Date created: 15 March 2007
-# Whom: Thierry Thomas <thierry@pompo.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= opencascade-tutorial
-PORTVERSION= 6.3
-PORTREVISION= 3
-CATEGORIES= cad
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
-DISTNAME= opencascade-${PORTVERSION}
-
-MAINTAINER= thierry@FreeBSD.org
-COMMENT= OpenCascade sample tutorial
-
-LIB_DEPENDS= GLU.1:${PORTSDIR}/graphics/libGLU \
- TKernel.0:${PORTSDIR}/cad/opencascade
-
-IGNORE= no instructions to build the tutorial
-
-USE_BZIP2= yes
-USE_GL= yes
-USE_QT_VER= 3
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gl-include=${LOCALBASE}/include \
- --with-gl-library=${LOCALBASE}/lib \
- --with-qt-dir=${QTDIR} \
- --enable-qt-mt \
- --with-cascade-dir=${CASROOT}
-LDFLAGS+= -pthread
-
-WRKSRC= ${WRKDIR}/opencascade-${PORTVERSION}/samples/tutorial
-CONFIGURE_LOG= adm/${OPSYS}/config.log
-
-QTDIR?= ${QT_PREFIX}
-
-LOCCROOT= OpenCAS
-OCCROOT= ${PREFIX}/${LOCCROOT}
-CASROOT= ${OCCROOT}/ros
-LINSTDIR= ${LOCCROOT}/samples/tutorial
-INSTDIR= ${PREFIX}/${LINSTDIR}
-
-SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-SUB_LIST= INSTDIR=${INSTDIR}
-PLIST_SUB= INSTDIR=${LINSTDIR}
-
-pre-configure:
- ${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
- ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
-
-do-install:
- ${MKDIR} ${INSTDIR}/src ${INSTDIR}/${OPSYS}/obj \
- ${INSTDIR}/${OPSYS}/bin ${INSTDIR}/${OPSYS}/res \
- ${INSTDIR}/adm/${OPSYS} ${INSTDIR}/res
- ${TOUCH} ${INSTDIR}/${OPSYS}/obj/.fake_build
- ${INSTALL_DATA} ${WRKSRC}/src/* ${INSTDIR}/src
- ${INSTALL_DATA} ${WRKSRC}/res/* ${INSTDIR}/res
- ${INSTALL_DATA} ${WRKSRC}/${OPSYS}/res/* ${INSTDIR}/${OPSYS}/res
- ${INSTALL_DATA} ${WRKSRC}/adm/${OPSYS}/config.${OPSYS} \
- ${INSTDIR}/adm/${OPSYS}
- ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/bin/Tutorial \
- ${INSTDIR}/${OPSYS}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${INSTDIR}
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
-
-.include <bsd.port.mk>
diff --git a/cad/opencascade-tutorial/distinfo b/cad/opencascade-tutorial/distinfo
deleted file mode 100644
index 6896df59eed9..000000000000
--- a/cad/opencascade-tutorial/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (opencascade-6.3.tar.bz2) = e4c3cb7e47306308dddfb73d6cbc29b79153459fe94e4d75741cf903cc30f48b
-SIZE (opencascade-6.3.tar.bz2) = 78534561
diff --git a/cad/opencascade-tutorial/files/patch-configure b/cad/opencascade-tutorial/files/patch-configure
deleted file mode 100644
index bcaa0bbec584..000000000000
--- a/cad/opencascade-tutorial/files/patch-configure
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.orig Wed Oct 5 13:45:26 2005
-+++ configure Thu Mar 15 23:27:32 2007
-@@ -436,6 +436,8 @@
- case $host in
- Linux*) #ac_station=lin
- ac_c_flags="-DLIN -DLININTEL";;
-+ FreeBSD*) #ac_station=bsd
-+ ac_c_flags="-DFREEBSD" ;;
- IRIX*) #ac_station=sil
- ac_c_flags="-DIRIX" ;;
- SunOS*) #ac_station=sun
-@@ -1271,7 +1273,7 @@
- fi
-
-
--LIBS="$LIBS -lm -ldl -lc"
-+LIBS="$LIBS -lm -lc"
-
- if test -n "$x_includes"; then
- X_INCLUDES="-I$x_includes"
-@@ -1824,7 +1826,7 @@
-
- echo $ac_n "checking for CasCade""... $ac_c" 1>&6
- echo "configure:1813: checking for CasCade" >&5
--LIBOCC="-lTKernel -ldl"
-+LIBOCC="-lTKernel"
- ac_occ_includes=NO
- ac_occ_libraries=NO
- occ_libraries=""
-@@ -1928,6 +1930,8 @@
- LIBSTL="-l$STLPortLib_CC"
- else
- if test "$host" = "Linux"; then
-+ LIBSTL="-lstlport_gcc"
-+ elif test "$host" = "FreeBSD"; then
- LIBSTL="-lstlport_gcc"
- else
- LIBSTL="-lstlport_cc"
diff --git a/cad/opencascade-tutorial/files/pkg-message.in b/cad/opencascade-tutorial/files/pkg-message.in
deleted file mode 100644
index de69b8136aed..000000000000
--- a/cad/opencascade-tutorial/files/pkg-message.in
+++ /dev/null
@@ -1,5 +0,0 @@
----------------------------------------------------------------------------
-This tutorial has been installed under %%INSTDIR%%.
-
-You can run %%INSTDIR%%/run.sh and draw a bottle!
----------------------------------------------------------------------------
diff --git a/cad/opencascade-tutorial/pkg-descr b/cad/opencascade-tutorial/pkg-descr
deleted file mode 100644
index ccfbc6253219..000000000000
--- a/cad/opencascade-tutorial/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A Qt based application for tutorial to Open CASCADE Technology.
-
-WWW: http://www.opencascade.org/
diff --git a/cad/opencascade-tutorial/pkg-plist b/cad/opencascade-tutorial/pkg-plist
deleted file mode 100644
index 876b463d12d6..000000000000
--- a/cad/opencascade-tutorial/pkg-plist
+++ /dev/null
@@ -1,65 +0,0 @@
-%%INSTDIR%%/FreeBSD/bin/Tutorial
-%%INSTDIR%%/FreeBSD/obj/.fake_build
-%%INSTDIR%%/FreeBSD/res/icon.qm
-%%INSTDIR%%/FreeBSD/res/string.qm
-%%INSTDIR%%/adm/FreeBSD/config.FreeBSD
-%%INSTDIR%%/res/Bottle.png
-%%INSTDIR%%/res/SampleImportExport.png
-%%INSTDIR%%/res/cascade.png
-%%INSTDIR%%/res/close.png
-%%INSTDIR%%/res/cursor_rotate.png
-%%INSTDIR%%/res/cursor_zoom.png
-%%INSTDIR%%/res/document.png
-%%INSTDIR%%/res/help.png
-%%INSTDIR%%/res/lamp.png
-%%INSTDIR%%/res/new.png
-%%INSTDIR%%/res/tile.png
-%%INSTDIR%%/res/tool-shading.png
-%%INSTDIR%%/res/tool_color.png
-%%INSTDIR%%/res/tool_delete.png
-%%INSTDIR%%/res/tool_material.png
-%%INSTDIR%%/res/tool_shading.png
-%%INSTDIR%%/res/tool_transparency.png
-%%INSTDIR%%/res/tool_wireframe.png
-%%INSTDIR%%/res/view_axo.png
-%%INSTDIR%%/res/view_back.png
-%%INSTDIR%%/res/view_bottom.png
-%%INSTDIR%%/res/view_comp_off.png
-%%INSTDIR%%/res/view_comp_on.png
-%%INSTDIR%%/res/view_fitall.png
-%%INSTDIR%%/res/view_fitarea.png
-%%INSTDIR%%/res/view_front.png
-%%INSTDIR%%/res/view_glpan.png
-%%INSTDIR%%/res/view_left.png
-%%INSTDIR%%/res/view_pan.png
-%%INSTDIR%%/res/view_reset.png
-%%INSTDIR%%/res/view_right.png
-%%INSTDIR%%/res/view_rotate.png
-%%INSTDIR%%/res/view_top.png
-%%INSTDIR%%/res/view_zoom.png
-%%INSTDIR%%/run.sh
-%%INSTDIR%%/src/Application.cxx
-%%INSTDIR%%/src/Application.h
-%%INSTDIR%%/src/Document.cxx
-%%INSTDIR%%/src/Document.h
-%%INSTDIR%%/src/MDIWindow.cxx
-%%INSTDIR%%/src/MDIWindow.h
-%%INSTDIR%%/src/Main.cxx
-%%INSTDIR%%/src/MakeBottle.cxx
-%%INSTDIR%%/src/Material.cxx
-%%INSTDIR%%/src/Material.h
-%%INSTDIR%%/src/Transparency.cxx
-%%INSTDIR%%/src/Transparency.h
-%%INSTDIR%%/src/View.cxx
-%%INSTDIR%%/src/View.h
-%%INSTDIR%%/src/icon.po
-%%INSTDIR%%/src/string.po
-@dirrm %%INSTDIR%%/src
-@dirrm %%INSTDIR%%/res
-@dirrm %%INSTDIR%%/adm/FreeBSD
-@dirrm %%INSTDIR%%/adm
-@dirrm %%INSTDIR%%/FreeBSD/res
-@dirrm %%INSTDIR%%/FreeBSD/obj
-@dirrm %%INSTDIR%%/FreeBSD/bin
-@dirrm %%INSTDIR%%/FreeBSD
-@dirrm %%INSTDIR%%
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
deleted file mode 100644
index e0f093eebe38..000000000000
--- a/cad/qcad/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-# New ports collection makefile for: qcad
-# Date created: 10 Dec 1999
-# Whom: Thomas Gellekum <tg@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= qcad
-PORTVERSION= 2.0.5.0.1
-PORTREVISION= 8
-CATEGORIES= cad
-MASTER_SITES= ftp://www.ribbonsoft.com/archives/qcad/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1$/-1/}-community.src
-
-MAINTAINER= mr@FreeBSD.org
-COMMENT= Professional CAD system
-
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
- qmake:${PORTSDIR}/devel/qmake
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1$/-1/}-community.src
-
-QTDIR?= ${QT_PREFIX}
-
-USE_QT_VER= 3
-USE_GMAKE= yes
-PLIST= ${WRKDIR}/pkg-plist
-MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
- QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"
-MAKE_JOBS_SAFE= yes
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- ${REINPLACE_CMD} -e 's:RS_SYSTEM->getAppDir()+"/bin":"${PREFIX}/bin":' \
- -e 's:RS_SYSTEM->getDocPath() + "/qcaddoc.adp":"${DOCSDIR}/qcaddoc.adp":' \
- ${WRKSRC}/qcad/src/qc_applicationwindow.cpp
- ${REINPLACE_CMD} -e 's,MAKE=gmake,MAKE="gmake ${_MAKE_JOBS}",' \
- ${WRKSRC}/scripts/build_qcad.sh
-
-do-build:
- cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} bash ./build_qcad.sh
-
-pre-install:
- @${ECHO_CMD} bin/qcad > ${PLIST}
-.for dir in data fonts patterns qm scripts
- @${FIND} ${WRKSRC}/qcad/${dir} -type f | \
- ${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
-.endfor
- @${FIND} ${WRKSRC}/qcad/doc -type f | \
- ${SED} -e "s:^${WRKSRC}/qcad/doc/:%%PORTDOCS%%share/doc/qcad/:g" >> \
- ${PLIST}
- @${FIND} -d ${WRKSRC}/qcad/doc -type d | \
- ${SED} -e "s:^${WRKSRC}/qcad/doc:%%PORTDOCS%%@dirrm share/doc/qcad:g" \
- >> ${PLIST}
-.for dir in scripts qm patterns fonts data
- @${FIND} -d ${WRKSRC}/qcad/${dir} -type d | \
- ${SED} -e "s:^${WRKSRC}/qcad/${dir}:@dirrm share/qcad/${dir}:g" >> \
- ${PLIST}
-.endfor
- @${ECHO_CMD} '@unexec ${RMDIR} %D/share/qcad 2> /dev/null || true' >> ${PLIST}
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qcad/qcad ${PREFIX}/bin/qcad
- @${MKDIR} ${DATADIR}
-.for dir in data fonts patterns qm scripts
- ${TAR} -C ${WRKSRC}/qcad --exclude CVS -cf - ${dir} | \
- ${TAR} -C ${DATADIR} --unlink -xf -
-.endfor
-.if !defined(NOPORTDOCS)
- @${ECHO_CMD} ${DOCSDIR}
- @${MKDIR} ${DOCSDIR}
-.for dir in doc
- ${TAR} -C ${WRKSRC}/qcad/${dir} --exclude CVS -cf - . | \
- ${TAR} -C ${DOCSDIR} --unlink -xf -
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/cad/qcad/distinfo b/cad/qcad/distinfo
deleted file mode 100644
index 1b7c3328db06..000000000000
--- a/cad/qcad/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (qcad-2.0.5.0-1-community.src.tar.gz) = 83327a9598c0ff042025601f5b4cd0582cde541297f3071b01cc0527ffe1511d
-SIZE (qcad-2.0.5.0-1-community.src.tar.gz) = 4470033
diff --git a/cad/qcad/files/patch-aa b/cad/qcad/files/patch-aa
deleted file mode 100644
index 77d55d733114..000000000000
--- a/cad/qcad/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- mkspecs/defs.pro.orig Tue Nov 22 17:16:04 2005
-+++ mkspecs/defs.pro Tue Nov 22 17:16:14 2005
-@@ -1,5 +1,5 @@
- # $Id: defs.pro 606 2004-12-25 03:08:40Z andrew $
--QMAKE_CXXFLAGS_DEBUG += -pedantic
--QMAKE_CXXFLAGS += -pedantic
-+#QMAKE_CXXFLAGS_DEBUG += -pedantic
-+#QMAKE_CXXFLAGS += -pedantic
-
- win32 {
diff --git a/cad/qcad/files/patch-ab b/cad/qcad/files/patch-ab
deleted file mode 100644
index faff085d2a0b..000000000000
--- a/cad/qcad/files/patch-ab
+++ /dev/null
@@ -1,9 +0,0 @@
---- qcadlib/src/engine/rs_entity.cpp.orig Mon Jun 18 16:48:32 2007
-+++ qcadlib/src/engine/rs_entity.cpp Mon Jun 18 16:48:51 2007
-@@ -862,5 +862,5 @@
- } else {
- os << " layer: " << e.layer->getName().latin1() << " ";
-- os << " layer address: " << (int)(e.layer) << " ";
-+// os << " layer address: " << (int)(e.layer) << " ";
- }
-
diff --git a/cad/qcad/files/patch-ac b/cad/qcad/files/patch-ac
deleted file mode 100644
index 3d1127a1bcfe..000000000000
--- a/cad/qcad/files/patch-ac
+++ /dev/null
@@ -1,9 +0,0 @@
---- qcadlib/src/engine/rs_layer.cpp.orig Mon Jun 18 16:46:52 2007
-+++ qcadlib/src/engine/rs_layer.cpp Mon Jun 18 16:47:08 2007
-@@ -56,5 +56,5 @@
- << " pen: " << l.getPen()
- << " frozen: " << (int)l.isFrozen()
-- << " address: " << (int)(&l)
-+// << " address: " << (int)(&l)
- << std::endl;
- return os;
diff --git a/cad/qcad/files/patch-ad b/cad/qcad/files/patch-ad
deleted file mode 100644
index c336456c040b..000000000000
--- a/cad/qcad/files/patch-ad
+++ /dev/null
@@ -1,28 +0,0 @@
---- scripts/release_translations.sh
-+++ scripts/release_translations.sh
-@@ -0,0 +1,24 @@
-+#!/bin/bash
-+cd ..
-+cwd=`pwd`
-+echo "### $cwd"
-+for dir in qcad qcadactions qcadguiqt qcadcmd qcadlib
-+do
-+ cd $dir/src
-+ echo "### $dir"
-+ echo "running lrelease in $dir/src..."
-+ find . -type f -name '*.ts' -exec $QTDIR/bin/lrelease '{}' \;
-+ find . -type f -name '*.pro' -exec $QTDIR/bin/lrelease '{}' \;
-+ cd ../..
-+
-+ cd $dir/src/ts
-+ echo "copying from $dir/src/ts..."
-+ for tf in *.qm
-+ do
-+ if [ ! -e $cwd/qcad/qm/$tf ]
-+ then
-+ cp $cwd/$dir/src/ts/$tf $cwd/qcad/qm/$tf
-+ fi
-+ done
-+ cd ../../..
-+done
-
diff --git a/cad/qcad/files/patch-ae b/cad/qcad/files/patch-ae
deleted file mode 100644
index 5902aba86063..000000000000
--- a/cad/qcad/files/patch-ae
+++ /dev/null
@@ -1,10 +0,0 @@
---- scripts/build_qcad.sh 2005-11-22 12:27:33.000000000 +0100
-+++ scripts/qcad.sh 2009-01-23 20:28:12.000000000 +0100
-@@ -249,6 +249,7 @@
- echo "-------- Building Translations --------"
- cd scripts
- sh ./release_translations.sh
-+ cd ..
- fi
-
- if [ "x$platform" == "xosx" ]
diff --git a/cad/qcad/files/patch-zzz-autosave b/cad/qcad/files/patch-zzz-autosave
deleted file mode 100644
index 8f499b71b354..000000000000
--- a/cad/qcad/files/patch-zzz-autosave
+++ /dev/null
@@ -1,345 +0,0 @@
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_applicationwindow.cpp ./qcad/src/qc_applicationwindow.cpp
---- ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_applicationwindow.cpp Tue Nov 22 12:49:33 2005
-+++ ./qcad/src/qc_applicationwindow.cpp Sat Aug 11 22:47:35 2007
-@@ -162,6 +162,11 @@
- RS_DEBUG->print("QC_ApplicationWindow::QC_ApplicationWindow: init MDI");
- initMDI();
-
-+ // Activate autosave timer
-+ autosaveTimer = new QTimer(this, "autosave");
-+ connect(autosaveTimer, SIGNAL(timeout()), this, SLOT(slotFileAutoSave()));
-+ autosaveTimer->start(autosaveTime);
-+
- // Disable menu and toolbar items
- emit windowsChanged(FALSE);
-
-@@ -2133,6 +2138,9 @@
- name = w->getDocument()->getFilename();
- recentFiles->add(name);
- w->setCaption(name);
-+ if (!autosaveTimer->isActive()) {
-+ autosaveTimer->start(autosaveTime);
-+ }
- }
- } else {
- // error
-@@ -2148,6 +2156,37 @@
- QString message = tr("Saved drawing: %1").arg(name);
- statusBar()->message(message, 2000);
- commandWidget->appendHistory(message);
-+}
-+
-+
-+
-+/**
-+ * Autosave.
-+ */
-+void QC_ApplicationWindow::slotFileAutoSave() {
-+ RS_DEBUG->print("QC_ApplicationWindow::slotFileAutoSave()");
-+
-+ statusBar()->message(tr("Auto-saving drawing..."));
-+
-+ QC_MDIWindow* w = getMDIWindow();
-+ QString name;
-+ if (w!=NULL) {
-+ bool cancelled;
-+ if (w->slotFileSave(cancelled, true)) {
-+ // auto-save cannot be cancelled by user, so the
-+ // "cancelled" parameter is a dummy
-+ statusBar()->message(tr("Auto-saved drawing"), 2000);
-+ } else {
-+ // error
-+ autosaveTimer->stop();
-+ QMessageBox::information(this, QMessageBox::tr("Warning"),
-+ tr("Cannot auto-save the file\n%1\nPlease "
-+ "check the permissions.\n"
-+ "Auto-save disabled.")
-+ .arg(w->getDocument()->getAutoSaveFilename()),
-+ QMessageBox::Ok);
-+ }
-+ }
- }
-
-
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_applicationwindow.h ./qcad/src/qc_applicationwindow.h
---- ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_applicationwindow.h Tue Nov 22 12:49:34 2005
-+++ ./qcad/src/qc_applicationwindow.h Sat Aug 11 22:47:35 2007
-@@ -37,6 +37,7 @@
- #include <qsplitter.h>
- #include <qstatusbar.h>
- #include <qtable.h>
-+#include <qtimer.h>
- #include <qtoolbar.h>
- #include <qtoolbutton.h>
- #include <qwhatsthis.h>
-@@ -148,6 +149,8 @@
- void slotFileSave();
- /** saves a document under a different filename*/
- void slotFileSaveAs();
-+ /** auto-save document */
-+ void slotFileAutoSave();
- /** exports the document as bitmap */
- void slotFileExport();
- bool slotFileExport(const QString& name, const QString& format,
-@@ -456,6 +459,9 @@
- QAction *testResize800;
- QAction *testResize1024;
-
-+ QTimer *autosaveTimer;
-+
-+ const static int autosaveTime = 60 * 1000; // 1 minute
- };
-
-
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_mdiwindow.cpp ./qcad/src/qc_mdiwindow.cpp
---- ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_mdiwindow.cpp Tue Nov 22 12:49:37 2005
-+++ ./qcad/src/qc_mdiwindow.cpp Sat Aug 11 22:47:35 2007
-@@ -324,23 +324,32 @@
- /**
- * Saves the current file.
- *
-+ * @param isAutoSave true if this is an "autosave" operation.
-+ * false if this is "Save" operation requested
-+ * by the user.
- * @return true if the file was saved successfully.
- * false if the file could not be saved or the document
- * is invalid.
- */
--bool QC_MDIWindow::slotFileSave(bool &cancelled) {
-+bool QC_MDIWindow::slotFileSave(bool &cancelled, bool isAutoSave) {
- RS_DEBUG->print("QC_MDIWindow::slotFileSave()");
- bool ret = false;
- cancelled = false;
-
- if (document!=NULL) {
-- if (document->getFilename().isEmpty()) {
-- ret = slotFileSaveAs(cancelled);
-+ if (isAutoSave) {
-+ // Autosave filename is always supposed to be present.
-+ // Autosave does not change the cursor.
-+ ret = document->save(true);
- } else {
-- QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) );
-- ret = document->save();
-- QApplication::restoreOverrideCursor();
-- }
-+ if (document->getFilename().isEmpty()) {
-+ ret = slotFileSaveAs(cancelled);
-+ } else {
-+ QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) );
-+ ret = document->save();
-+ QApplication::restoreOverrideCursor();
-+ }
-+ }
- }
-
- return ret;
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_mdiwindow.h ./qcad/src/qc_mdiwindow.h
---- ../qcad-2.0.5.0-1-community.src.orig/qcad/src/qc_mdiwindow.h Tue Nov 22 12:49:37 2005
-+++ ./qcad/src/qc_mdiwindow.h Sat Aug 11 22:47:35 2007
-@@ -69,7 +69,7 @@
-
- void slotFileNew();
- bool slotFileOpen(const QString& fileName, RS2::FormatType type);
-- bool slotFileSave(bool &cancelled);
-+ bool slotFileSave(bool &cancelled, bool isAutoSave=false);
- bool slotFileSaveAs(bool &cancelled);
- bool slotFileClose(bool force);
- void slotFilePrint();
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_block.cpp ./qcadlib/src/engine/rs_block.cpp
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_block.cpp Tue Nov 22 12:52:35 2005
-+++ ./qcadlib/src/engine/rs_block.cpp Sat Aug 11 22:47:35 2007
-@@ -78,10 +78,10 @@
- }
-
-
--bool RS_Block::save() {
-+bool RS_Block::save(bool isAutoSave) {
- RS_Graphic* g = getGraphic();
- if (g!=NULL) {
-- return g->save();
-+ return g->save(isAutoSave);
- } else {
- return false;
- }
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_block.h ./qcadlib/src/engine/rs_block.h
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_block.h Tue Nov 22 12:52:38 2005
-+++ ./qcadlib/src/engine/rs_block.h Sat Aug 11 22:47:35 2007
-@@ -128,7 +128,7 @@
- /**
- * Reimplementation from RS_Document. Saves the parent graphic document.
- */
-- virtual bool save();
-+ virtual bool save(bool isAutoSave = false);
-
- /**
- * Reimplementation from RS_Document. Does nothing.
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_document.cpp ./qcadlib/src/engine/rs_document.cpp
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_document.cpp Tue Nov 22 12:52:38 2005
-+++ ./qcadlib/src/engine/rs_document.cpp Sat Aug 11 22:47:35 2007
-@@ -40,6 +40,7 @@
- RS_DEBUG->print("RS_Document::RS_Document() ");
-
- filename = "";
-+ autosaveFilename = "Unnamed";
- formatType = RS2::FormatUnknown;
- setModified(false);
- RS_Color col(RS2::FlagByLayer);
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_document.h ./qcadlib/src/engine/rs_document.h
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_document.h Tue Nov 22 12:52:32 2005
-+++ ./qcadlib/src/engine/rs_document.h Sat Aug 11 22:47:35 2007
-@@ -53,7 +53,7 @@
- virtual RS_BlockList* getBlockList() = 0;
-
- virtual void newDoc() = 0;
-- virtual bool save() = 0;
-+ virtual bool save(bool isAutoSave = false) = 0;
- virtual bool saveAs(const RS_String &filename, RS2::FormatType type) = 0;
- virtual bool open(const RS_String &filename, RS2::FormatType type) = 0;
-
-@@ -98,6 +98,13 @@
- }
-
- /**
-+ * @return Auto-save file name of the document currently loaded.
-+ */
-+ RS_String getAutoSaveFilename() const {
-+ return autosaveFilename;
-+ }
-+
-+ /**
- * Sets file name for the document currently loaded.
- */
- void setFilename(const RS_String& fn) {
-@@ -136,6 +143,8 @@
- RS_Pen activePen;
- /** File name of the document or empty for a new document. */
- RS_String filename;
-+ /** Auto-save file name of document. */
-+ RS_String autosaveFilename;
- /** Format type */
- RS2::FormatType formatType;
- };
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_graphic.cpp ./qcadlib/src/engine/rs_graphic.cpp
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_graphic.cpp Tue Nov 22 12:52:32 2005
-+++ ./qcadlib/src/engine/rs_graphic.cpp Sat Aug 11 22:47:57 2007
-@@ -24,6 +24,8 @@
- **
- **********************************************************************/
-
-+#include <qfile.h>
-+#include <qfileinfo.h>
-
- #include "rs_graphic.h"
-
-@@ -178,21 +180,46 @@
- /**
- * Saves this graphic with the current filename and settings.
- */
--bool RS_Graphic::save() {
-+bool RS_Graphic::save(bool isAutoSave) {
-
- bool ret = false;
-+
-
- RS_DEBUG->print("RS_Graphic::save");
-- RS_DEBUG->print(" file: %s", filename.latin1());
-- RS_DEBUG->print(" format: %d", (int)formatType);
--
-- RS_DEBUG->print(" export...");
-- ret = RS_FILEIO->fileExport(*this, filename, formatType);
--
-- if (ret) {
-- setModified(false);
-- layerList.setModified(false);
-- blockList.setModified(false);
-+ if (isAutoSave && !isModified()) {
-+ RS_DEBUG->print(" autsave and not modified => not saved");
-+ ret = true;
-+ } else {
-+ const RS_String *actualName;
-+ RS2::FormatType actualType;
-+
-+ actualType = formatType;
-+ if (isAutoSave) {
-+ actualName = new QString(autosaveFilename);
-+ if (formatType == RS2::FormatUnknown) {
-+ actualType = RS2::FormatDXF;
-+ }
-+ } else {
-+ actualName = new QString(filename);
-+ }
-+ RS_DEBUG->print(" file: %s", actualName->latin1());
-+ RS_DEBUG->print(" format: %d", (int)actualType);
-+ RS_DEBUG->print(" export...");
-+ ret = RS_FILEIO->fileExport(*this, *actualName, actualType);
-+ delete actualName;
-+
-+ if (ret && !isAutoSave) {
-+ setModified(false);
-+ layerList.setModified(false);
-+ blockList.setModified(false);
-+ // Remove old autosave file
-+ QFile f(autosaveFilename);
-+ if (f.exists()) {
-+ RS_DEBUG->print(" removing old autosave file %s",
-+ autosaveFilename.latin1());
-+ f.remove();
-+ }
-+ }
- }
-
- RS_DEBUG->print("RS_Graphic::save ok");
-@@ -210,9 +237,28 @@
- RS_DEBUG->print("RS_Graphic::saveAs");
-
- this->filename = filename;
-+ RS_String *oldAutosaveName = new RS_String(autosaveFilename);
-+ QFileInfo finfo(filename);
-+ // Construct new autosave filename by prepending # to the filename
-+ // part, using the same directory as the destination file.
-+ this->autosaveFilename = finfo.dirPath() + "/#" + finfo.fileName();
- this->formatType = type;
-
-- return save();
-+ bool ret = save();
-+
-+ if (ret) {
-+ // save was successful, remove old autosave file
-+ QFile f(*oldAutosaveName);
-+ if (f.exists()) {
-+ RS_DEBUG->print("removing old autosave file %s",
-+ oldAutosaveName->latin1());
-+ f.remove();
-+ }
-+ }
-+
-+ delete oldAutosaveName;
-+
-+ return ret;
- }
-
-
-@@ -226,6 +272,10 @@
- bool ret = false;
-
- this->filename = filename;
-+ QFileInfo finfo(filename);
-+ // Construct new autosave filename by prepending # to the filename
-+ // part, using the same directory as the destination file.
-+ this->autosaveFilename = finfo.dirPath() + "/#" + finfo.fileName();
-
- // clean all:
- newDoc();
-diff -ru ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_graphic.h ./qcadlib/src/engine/rs_graphic.h
---- ../qcad-2.0.5.0-1-community.src.orig/qcadlib/src/engine/rs_graphic.h Tue Nov 22 12:52:38 2005
-+++ ./qcadlib/src/engine/rs_graphic.h Sat Aug 11 22:47:35 2007
-@@ -69,7 +69,7 @@
- }
-
- virtual void newDoc();
-- virtual bool save();
-+ virtual bool save(bool isAutoSave = false);
- virtual bool saveAs(const RS_String& filename, RS2::FormatType type);
- virtual bool open(const RS_String& filename, RS2::FormatType type);
-
diff --git a/cad/qcad/files/patch-zzz-ioexcept b/cad/qcad/files/patch-zzz-ioexcept
deleted file mode 100644
index 9308d63071dd..000000000000
--- a/cad/qcad/files/patch-zzz-ioexcept
+++ /dev/null
@@ -1,109 +0,0 @@
---- dxflib/src/dl_writer_ascii.h.orig 2005-11-22 12:46:58.000000000 +0100
-+++ dxflib/src/dl_writer_ascii.h 2010-08-05 23:56:19.000000000 +0200
-@@ -50,7 +50,9 @@
- class DL_WriterA : public DL_Writer {
- public:
- DL_WriterA(char* fname, DL_Codes::version version=VER_2000)
-- : DL_Writer(version), m_ofile(fname) {}
-+ : DL_Writer(version), m_ofile(fname) {
-+ m_ofile.exceptions(std::ofstream::failbit);
-+ }
- virtual ~DL_WriterA() {}
-
- bool openFailed() const;
---- qcadlib/src/filters/rs_filterdxf.cpp.orig 2005-11-22 12:52:41.000000000 +0100
-+++ qcadlib/src/filters/rs_filterdxf.cpp 2010-08-05 23:55:40.000000000 +0200
-@@ -1187,6 +1187,7 @@
- exportVersion = DL_Codes::AC1015;
- }
-
-+ try {
- //DL_WriterA* dw = dxf.out(file, VER_R12);
- DL_WriterA* dw = dxf.out((const char*)QFile::encodeName(file), exportVersion);
-
-@@ -1376,6 +1377,10 @@
- dw->close();
-
- delete dw;
-+ } catch (std::ios::failure &e) {
-+ RS_DEBUG->print("RS_FilterDXF::fileExport: ios::failure exception caught");
-+ return false;
-+ }
-
- // check if file was actually written (strange world of windoze xp):
- if (RS_FileInfo(file).exists()==false) {
---- qcad/src/ts/qcad_en.ts.orig 2005-11-22 12:49:30.000000000 +0100
-+++ qcad/src/ts/qcad_en.ts 2010-08-06 00:00:02.000000000 +0200
-@@ -238,7 +238,8 @@
- <message>
- <source>Cannot save the file
- %1
--Please check the permissions.</source>
-+Please check the permissions
-+and filesystem status (full?).</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
---- qcad/src/ts/qcad_de.ts.orig 2005-11-22 12:49:31.000000000 +0100
-+++ qcad/src/ts/qcad_de.ts 2010-08-06 00:00:53.000000000 +0200
-@@ -319,10 +319,12 @@
- <message>
- <source>Cannot save the file
- %1
--Please check the permissions.</source>
-+Please check the permissions
-+and filesystem status (full?).</source>
- <translation>Kann Datei
- %1
--nicht speichern. Bitte prüfen Sie die Berechtigung.</translation>
-+nicht speichern. Bitte prüfen Sie die Berechtigung
-+sowie den Zustand des Dateisystems (voll?).</translation>
- </message>
- <message>
- <source>Help</source>
---- qcad/src/ts/qcad_cs.ts.orig 2005-11-22 12:49:30.000000000 +0100
-+++ qcad/src/ts/qcad_cs.ts 2010-08-06 00:05:58.000000000 +0200
-@@ -300,10 +300,12 @@
- <message>
- <source>Cannot save the file
- %1
--Please check the permissions.</source>
-+Please check the permissions
-+and filesystem status (full?).</source>
- <translation>Nelze uložit soubor
- %1
--Zkontrolujte prosím přístupová práva.</translation>
-+Zkontrolujte prosím přístupová práva
-+a místo na zařizení.</translation>
- </message>
- <message>
- <source>&amp;CAM</source>
---- qcad/src/ts/qcad_ru.ts.orig 2005-11-22 12:49:31.000000000 +0100
-+++ qcad/src/ts/qcad_ru.ts 2010-08-06 00:08:18.000000000 +0200
-@@ -288,10 +288,12 @@
- <message>
- <source>Cannot save the file
- %1
--Please check the permissions.</source>
-+Please check the permissions
-+and filesystem status (full?).</source>
- <translation>Невозможно сохранить файл
- %1
--Проверьте, пожалуйста, права доступа.</translation>
-+Проверьте, пожалуйста, права доступа
-+и свободное место на файлсистеме.</translation>
- </message>
- <message>
- <source>Launch the online manual</source>
---- qcad/src/qc_applicationwindow.cpp~ 2010-08-05 23:41:32.000000000 +0200
-+++ qcad/src/qc_applicationwindow.cpp 2010-08-05 23:59:26.000000000 +0200
-@@ -2111,7 +2111,8 @@
- // error
- QMessageBox::information(this, QMessageBox::tr("Warning"),
- tr("Cannot save the file\n%1\nPlease "
-- "check the permissions.")
-+ "check the permissions\n"
-+ "and filesystem status (full?).")
- .arg(w->getDocument()->getFilename()),
- QMessageBox::Ok);
- }
diff --git a/cad/qcad/pkg-descr b/cad/qcad/pkg-descr
deleted file mode 100644
index 06fb1be3aa07..000000000000
--- a/cad/qcad/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-What Is QCad?
-
- QCad is a professional CAD System. With QCad you can easily construct
- and change drawings with ISO-texts and many other features and save
- them as DXF-files. These DXF-files are the interface to many
- CAD-systems such as AutoCAD (c) and many others.
-
-What is QCad not?
-
- QCad is no designer tool. That means you can not create any filled
- shapes nor any crazy freehand forms. Also you can not drag and drop
- the objects in the drawing with the mouse.
-
-If you find any bugs, send a report to bugs@qcad.org.
-
-WWW: http://www.ribbonsoft.com/qcad.html
diff --git a/cad/qucs/Makefile b/cad/qucs/Makefile
deleted file mode 100644
index 5df144950f00..000000000000
--- a/cad/qucs/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= qucs
-PORTVERSION= 0.0.16
-PORTREVISION= 1
-CATEGORIES= cad science
-MASTER_SITES= SF
-
-MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= Graphical circuit design and simulation tool
-
-USE_QT_VER= 3
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-MAKE_JOBS_SAFE= yes
-
-MAN1= ps2sp.1 qucs.1 qucsator.1 qucsattenuator.1 qucsconv.1 \
- qucsdigi.1 qucsedit.1 qucsfilter.1 qucshelp.1 qucslib.1 \
- qucstrans.1 qucsveri.1 qucsdigilib.1
-
-.include <bsd.port.mk>
diff --git a/cad/qucs/distinfo b/cad/qucs/distinfo
deleted file mode 100644
index 4cc9f6cc3f39..000000000000
--- a/cad/qucs/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (qucs-0.0.16.tar.gz) = fe5bb75a82e4eaa008e47d0747ed62ca09f9492037dd427fe9311b3009520bc1
-SIZE (qucs-0.0.16.tar.gz) = 7419958
diff --git a/cad/qucs/pkg-descr b/cad/qucs/pkg-descr
deleted file mode 100644
index 0d590e27fab2..000000000000
--- a/cad/qucs/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Qucs is an integrated circuit simulator which means you are able to
-setup a circuit with a graphical user interface (GUI) and simulate the
-large-signal, small-signal and noise behaviour of the circuit. After
-that simulation has finished you can view the simulation results on a
-presentation page or window.
-
-WWW: http://qucs.sourceforge.net/
diff --git a/cad/qucs/pkg-plist b/cad/qucs/pkg-plist
deleted file mode 100644
index bd7a2881ea55..000000000000
--- a/cad/qucs/pkg-plist
+++ /dev/null
@@ -1,481 +0,0 @@
-bin/ps2sp
-bin/qucs
-bin/qucsator
-bin/qucsattenuator
-bin/qucsconv
-bin/qucsdigi
-bin/qucsdigilib
-bin/qucsedit
-bin/qucsfilter
-bin/qucshelp
-bin/qucslib
-bin/qucstrans
-bin/qucsveri
-%%DATADIR%%/bitmaps/DLS_1ton.png
-%%DATADIR%%/bitmaps/DLS_nto1.png
-%%DATADIR%%/bitmaps/EKV26nMOS.png
-%%DATADIR%%/bitmaps/EKV26pMOS.png
-%%DATADIR%%/bitmaps/MESFET.png
-%%DATADIR%%/bitmaps/ac.png
-%%DATADIR%%/bitmaps/ac_current.png
-%%DATADIR%%/bitmaps/ac_voltage.png
-%%DATADIR%%/bitmaps/am_mod.png
-%%DATADIR%%/bitmaps/amplifier.png
-%%DATADIR%%/bitmaps/and.png
-%%DATADIR%%/bitmaps/andor4x2.png
-%%DATADIR%%/bitmaps/andor4x3.png
-%%DATADIR%%/bitmaps/andor4x4.png
-%%DATADIR%%/bitmaps/arrow.png
-%%DATADIR%%/bitmaps/att_bridge.png
-%%DATADIR%%/bitmaps/att_pi.png
-%%DATADIR%%/bitmaps/att_tee.png
-%%DATADIR%%/bitmaps/attenuator.png
-%%DATADIR%%/bitmaps/back.png
-%%DATADIR%%/bitmaps/biast.png
-%%DATADIR%%/bitmaps/big.button.qucs.xpm
-%%DATADIR%%/bitmaps/big.qucs.xpm
-%%DATADIR%%/bitmaps/binarytogrey4bit.png
-%%DATADIR%%/bitmaps/bondwire.png
-%%DATADIR%%/bitmaps/bottom.png
-%%DATADIR%%/bitmaps/buffer.png
-%%DATADIR%%/bitmaps/c_microstrip.png
-%%DATADIR%%/bitmaps/capacitor.png
-%%DATADIR%%/bitmaps/cccs.png
-%%DATADIR%%/bitmaps/ccvs.png
-%%DATADIR%%/bitmaps/circulator.png
-%%DATADIR%%/bitmaps/coax.png
-%%DATADIR%%/bitmaps/coaxial.png
-%%DATADIR%%/bitmaps/comp_1bit.png
-%%DATADIR%%/bitmaps/comp_2bit.png
-%%DATADIR%%/bitmaps/comp_4bit.png
-%%DATADIR%%/bitmaps/coplanar.png
-%%DATADIR%%/bitmaps/coupler.png
-%%DATADIR%%/bitmaps/cpw.png
-%%DATADIR%%/bitmaps/cpw_back.png
-%%DATADIR%%/bitmaps/cpwgap.png
-%%DATADIR%%/bitmaps/cpwopen.png
-%%DATADIR%%/bitmaps/cpwshort.png
-%%DATADIR%%/bitmaps/cpwstep.png
-%%DATADIR%%/bitmaps/ctline.png
-%%DATADIR%%/bitmaps/curve.png
-%%DATADIR%%/bitmaps/dc.png
-%%DATADIR%%/bitmaps/dc_current.png
-%%DATADIR%%/bitmaps/dc_voltage.png
-%%DATADIR%%/bitmaps/dcblock.png
-%%DATADIR%%/bitmaps/dcfeed.png
-%%DATADIR%%/bitmaps/deactiv.png
-%%DATADIR%%/bitmaps/dff_SR.png
-%%DATADIR%%/bitmaps/dflipflop.png
-%%DATADIR%%/bitmaps/diac.png
-%%DATADIR%%/bitmaps/digi.png
-%%DATADIR%%/bitmaps/digi_source.png
-%%DATADIR%%/bitmaps/diode.png
-%%DATADIR%%/bitmaps/dmosfet.png
-%%DATADIR%%/bitmaps/dmosfet_sub.png
-%%DATADIR%%/bitmaps/dmux2to4.png
-%%DATADIR%%/bitmaps/dmux3to8.png
-%%DATADIR%%/bitmaps/dmux4to16.png
-%%DATADIR%%/bitmaps/edd.png
-%%DATADIR%%/bitmaps/editcopy.png
-%%DATADIR%%/bitmaps/editcut.png
-%%DATADIR%%/bitmaps/editdelete.png
-%%DATADIR%%/bitmaps/editpaste.png
-%%DATADIR%%/bitmaps/ellipse.png
-%%DATADIR%%/bitmaps/ellipsearc.png
-%%DATADIR%%/bitmaps/equation.png
-%%DATADIR%%/bitmaps/fa1b.png
-%%DATADIR%%/bitmaps/fa2b.png
-%%DATADIR%%/bitmaps/fileclose.png
-%%DATADIR%%/bitmaps/filenew.png
-%%DATADIR%%/bitmaps/fileopen.png
-%%DATADIR%%/bitmaps/fileprint.png
-%%DATADIR%%/bitmaps/filesave.png
-%%DATADIR%%/bitmaps/filesaveall.png
-%%DATADIR%%/bitmaps/filledellipse.png
-%%DATADIR%%/bitmaps/filledrect.png
-%%DATADIR%%/bitmaps/forward.png
-%%DATADIR%%/bitmaps/gatedDlatch.png
-%%DATADIR%%/bitmaps/gear.png
-%%DATADIR%%/bitmaps/gnd.png
-%%DATADIR%%/bitmaps/greytobinary4bit.png
-%%DATADIR%%/bitmaps/ground.png
-%%DATADIR%%/bitmaps/gyrator.png
-%%DATADIR%%/bitmaps/ha1b.png
-%%DATADIR%%/bitmaps/hb.png
-%%DATADIR%%/bitmaps/home.png
-%%DATADIR%%/bitmaps/hpribin4bit.png
-%%DATADIR%%/bitmaps/hybrid.png
-%%DATADIR%%/bitmaps/iexp.png
-%%DATADIR%%/bitmaps/ifile.png
-%%DATADIR%%/bitmaps/inductor.png
-%%DATADIR%%/bitmaps/inverter.png
-%%DATADIR%%/bitmaps/iprobe.png
-%%DATADIR%%/bitmaps/ipulse.png
-%%DATADIR%%/bitmaps/irect.png
-%%DATADIR%%/bitmaps/isolator.png
-%%DATADIR%%/bitmaps/jkff_SR.png
-%%DATADIR%%/bitmaps/jkflipflop.png
-%%DATADIR%%/bitmaps/line.png
-%%DATADIR%%/bitmaps/log_amp.png
-%%DATADIR%%/bitmaps/logic_0.png
-%%DATADIR%%/bitmaps/logic_1.png
-%%DATADIR%%/bitmaps/marker.png
-%%DATADIR%%/bitmaps/microstrip.png
-%%DATADIR%%/bitmaps/mirror.png
-%%DATADIR%%/bitmaps/mirrory.png
-%%DATADIR%%/bitmaps/mod_amp.png
-%%DATADIR%%/bitmaps/mscorner.png
-%%DATADIR%%/bitmaps/mscoupled.png
-%%DATADIR%%/bitmaps/mscross.png
-%%DATADIR%%/bitmaps/msgap.png
-%%DATADIR%%/bitmaps/msline.png
-%%DATADIR%%/bitmaps/msmbend.png
-%%DATADIR%%/bitmaps/msopen.png
-%%DATADIR%%/bitmaps/msrstub.png
-%%DATADIR%%/bitmaps/msstep.png
-%%DATADIR%%/bitmaps/mstee.png
-%%DATADIR%%/bitmaps/msvia.png
-%%DATADIR%%/bitmaps/mutual.png
-%%DATADIR%%/bitmaps/mutual2.png
-%%DATADIR%%/bitmaps/mux2to1.png
-%%DATADIR%%/bitmaps/mux4to1.png
-%%DATADIR%%/bitmaps/mux8to1.png
-%%DATADIR%%/bitmaps/nand.png
-%%DATADIR%%/bitmaps/next.png
-%%DATADIR%%/bitmaps/nfet.png
-%%DATADIR%%/bitmaps/nigbt.png
-%%DATADIR%%/bitmaps/nmosfet.png
-%%DATADIR%%/bitmaps/nmosfet_sub.png
-%%DATADIR%%/bitmaps/nodename.png
-%%DATADIR%%/bitmaps/noise_current.png
-%%DATADIR%%/bitmaps/noise_ii.png
-%%DATADIR%%/bitmaps/noise_iv.png
-%%DATADIR%%/bitmaps/noise_volt.png
-%%DATADIR%%/bitmaps/noise_vv.png
-%%DATADIR%%/bitmaps/nor.png
-%%DATADIR%%/bitmaps/npn.png
-%%DATADIR%%/bitmaps/npn_therm.png
-%%DATADIR%%/bitmaps/npnsub.png
-%%DATADIR%%/bitmaps/npnsub_therm.png
-%%DATADIR%%/bitmaps/opamp.png
-%%DATADIR%%/bitmaps/optimize.png
-%%DATADIR%%/bitmaps/or.png
-%%DATADIR%%/bitmaps/pad2bit.png
-%%DATADIR%%/bitmaps/pad3bit.png
-%%DATADIR%%/bitmaps/pad4bit.png
-%%DATADIR%%/bitmaps/pfet.png
-%%DATADIR%%/bitmaps/photodiode.png
-%%DATADIR%%/bitmaps/phototransistor.png
-%%DATADIR%%/bitmaps/pm_mod.png
-%%DATADIR%%/bitmaps/pmosfet.png
-%%DATADIR%%/bitmaps/pmosfet_sub.png
-%%DATADIR%%/bitmaps/pnp.png
-%%DATADIR%%/bitmaps/pnp_therm.png
-%%DATADIR%%/bitmaps/pnpsub.png
-%%DATADIR%%/bitmaps/pnpsub_therm.png
-%%DATADIR%%/bitmaps/pointer.png
-%%DATADIR%%/bitmaps/polar.png
-%%DATADIR%%/bitmaps/polarsmith.png
-%%DATADIR%%/bitmaps/port.png
-%%DATADIR%%/bitmaps/potentiometer.png
-%%DATADIR%%/bitmaps/previous.png
-%%DATADIR%%/bitmaps/pshifter.png
-%%DATADIR%%/bitmaps/quit.png
-%%DATADIR%%/bitmaps/rebuild.png
-%%DATADIR%%/bitmaps/rect.png
-%%DATADIR%%/bitmaps/rect3d.png
-%%DATADIR%%/bitmaps/rectangle.png
-%%DATADIR%%/bitmaps/rectline.png
-%%DATADIR%%/bitmaps/rectwaveguide.png
-%%DATADIR%%/bitmaps/redo.png
-%%DATADIR%%/bitmaps/relais.png
-%%DATADIR%%/bitmaps/resistor.png
-%%DATADIR%%/bitmaps/resistor_us.png
-%%DATADIR%%/bitmaps/rfedd.png
-%%DATADIR%%/bitmaps/rlcg.png
-%%DATADIR%%/bitmaps/rotate_ccw.png
-%%DATADIR%%/bitmaps/rsflipflop.png
-%%DATADIR%%/bitmaps/smith.png
-%%DATADIR%%/bitmaps/smithpolar.png
-%%DATADIR%%/bitmaps/source.png
-%%DATADIR%%/bitmaps/sparameter.png
-%%DATADIR%%/bitmaps/spfile1.png
-%%DATADIR%%/bitmaps/spfile2.png
-%%DATADIR%%/bitmaps/spfile3.png
-%%DATADIR%%/bitmaps/spicefile.png
-%%DATADIR%%/bitmaps/subcircuit.png
-%%DATADIR%%/bitmaps/subport.png
-%%DATADIR%%/bitmaps/substrate.png
-%%DATADIR%%/bitmaps/sweep.png
-%%DATADIR%%/bitmaps/switch.png
-%%DATADIR%%/bitmaps/symtrans.png
-%%DATADIR%%/bitmaps/tabular.png
-%%DATADIR%%/bitmaps/text.png
-%%DATADIR%%/bitmaps/textnew.png
-%%DATADIR%%/bitmaps/tff_SR.png
-%%DATADIR%%/bitmaps/thyristor.png
-%%DATADIR%%/bitmaps/timing.png
-%%DATADIR%%/bitmaps/tiny.button.qucs.xpm
-%%DATADIR%%/bitmaps/tiny.qucs.xpm
-%%DATADIR%%/bitmaps/tline.png
-%%DATADIR%%/bitmaps/tline_4port.png
-%%DATADIR%%/bitmaps/top.png
-%%DATADIR%%/bitmaps/tran.png
-%%DATADIR%%/bitmaps/transformer.png
-%%DATADIR%%/bitmaps/triac.png
-%%DATADIR%%/bitmaps/truth.png
-%%DATADIR%%/bitmaps/tunneldiode.png
-%%DATADIR%%/bitmaps/twistedpair.png
-%%DATADIR%%/bitmaps/undo.png
-%%DATADIR%%/bitmaps/vccs.png
-%%DATADIR%%/bitmaps/vcvs.png
-%%DATADIR%%/bitmaps/vexp.png
-%%DATADIR%%/bitmaps/vfile.png
-%%DATADIR%%/bitmaps/vhdlfile.png
-%%DATADIR%%/bitmaps/viewmag+.png
-%%DATADIR%%/bitmaps/viewmag-.png
-%%DATADIR%%/bitmaps/viewmag1.png
-%%DATADIR%%/bitmaps/viewmagfit.png
-%%DATADIR%%/bitmaps/vprobe.png
-%%DATADIR%%/bitmaps/vpulse.png
-%%DATADIR%%/bitmaps/vrect.png
-%%DATADIR%%/bitmaps/wire.png
-%%DATADIR%%/bitmaps/xnor.png
-%%DATADIR%%/bitmaps/xor.png
-%%DATADIR%%/bitmaps/ysmith.png
-%%DATADIR%%/docs/cs/characters.html
-%%DATADIR%%/docs/cs/contab.png
-%%DATADIR%%/docs/cs/index.html
-%%DATADIR%%/docs/cs/internal.html
-%%DATADIR%%/docs/cs/matching.html
-%%DATADIR%%/docs/cs/mathfunc.html
-%%DATADIR%%/docs/cs/optimization1.png
-%%DATADIR%%/docs/cs/optimization2.png
-%%DATADIR%%/docs/cs/optimization3.png
-%%DATADIR%%/docs/cs/optimization4.png
-%%DATADIR%%/docs/cs/optimization5.png
-%%DATADIR%%/docs/cs/optimization6.png
-%%DATADIR%%/docs/cs/optimization7.png
-%%DATADIR%%/docs/cs/optimization8.png
-%%DATADIR%%/docs/cs/paste.png
-%%DATADIR%%/docs/cs/programs.html
-%%DATADIR%%/docs/cs/qucsdigi.png
-%%DATADIR%%/docs/cs/qucsmain.png
-%%DATADIR%%/docs/cs/select.png
-%%DATADIR%%/docs/cs/short.html
-%%DATADIR%%/docs/cs/start.html
-%%DATADIR%%/docs/cs/start_digi.html
-%%DATADIR%%/docs/cs/start_opt.html
-%%DATADIR%%/docs/cs/subcircuit.html
-%%DATADIR%%/docs/cs/subcircuit.png
-%%DATADIR%%/docs/cs/wire.png
-%%DATADIR%%/docs/de/characters.html
-%%DATADIR%%/docs/de/index.html
-%%DATADIR%%/docs/de/inhalttab.png
-%%DATADIR%%/docs/de/internal.html
-%%DATADIR%%/docs/de/matching.html
-%%DATADIR%%/docs/de/mathfunc.html
-%%DATADIR%%/docs/de/optimization1.png
-%%DATADIR%%/docs/de/optimization2.png
-%%DATADIR%%/docs/de/optimization3.png
-%%DATADIR%%/docs/de/optimization4.png
-%%DATADIR%%/docs/de/optimization5.png
-%%DATADIR%%/docs/de/optimization6.png
-%%DATADIR%%/docs/de/optimization7.png
-%%DATADIR%%/docs/de/optimization8.png
-%%DATADIR%%/docs/de/paste.png
-%%DATADIR%%/docs/de/programs.html
-%%DATADIR%%/docs/de/qucsdigi.png
-%%DATADIR%%/docs/de/qucshaupt.png
-%%DATADIR%%/docs/de/select.png
-%%DATADIR%%/docs/de/short.html
-%%DATADIR%%/docs/de/start.html
-%%DATADIR%%/docs/de/start_digi.html
-%%DATADIR%%/docs/de/start_opt.html
-%%DATADIR%%/docs/de/subcircuit.html
-%%DATADIR%%/docs/de/unterschaltung.png
-%%DATADIR%%/docs/de/wire.png
-%%DATADIR%%/docs/en/characters.html
-%%DATADIR%%/docs/en/contab.png
-%%DATADIR%%/docs/en/index.html
-%%DATADIR%%/docs/en/internal.html
-%%DATADIR%%/docs/en/matching.html
-%%DATADIR%%/docs/en/mathfunc.html
-%%DATADIR%%/docs/en/octave.html
-%%DATADIR%%/docs/en/optimization1.png
-%%DATADIR%%/docs/en/optimization2.png
-%%DATADIR%%/docs/en/optimization3.png
-%%DATADIR%%/docs/en/optimization4.png
-%%DATADIR%%/docs/en/optimization5.png
-%%DATADIR%%/docs/en/optimization6.png
-%%DATADIR%%/docs/en/optimization7.png
-%%DATADIR%%/docs/en/optimization8.png
-%%DATADIR%%/docs/en/paste.png
-%%DATADIR%%/docs/en/programs.html
-%%DATADIR%%/docs/en/qucsdigi.png
-%%DATADIR%%/docs/en/qucsmain.png
-%%DATADIR%%/docs/en/select.png
-%%DATADIR%%/docs/en/short.html
-%%DATADIR%%/docs/en/start.html
-%%DATADIR%%/docs/en/start_digi.html
-%%DATADIR%%/docs/en/start_opt.html
-%%DATADIR%%/docs/en/subcircuit.html
-%%DATADIR%%/docs/en/subcircuit.png
-%%DATADIR%%/docs/en/wire.png
-%%DATADIR%%/docs/es/contab.png
-%%DATADIR%%/docs/es/index.html
-%%DATADIR%%/docs/es/mathfunc.html
-%%DATADIR%%/docs/es/paste.png
-%%DATADIR%%/docs/es/programs.html
-%%DATADIR%%/docs/es/qucsmain.png
-%%DATADIR%%/docs/es/select.png
-%%DATADIR%%/docs/es/short.html
-%%DATADIR%%/docs/es/start.html
-%%DATADIR%%/docs/es/subcircuit.html
-%%DATADIR%%/docs/es/subcircuit.png
-%%DATADIR%%/docs/es/wire.png
-%%DATADIR%%/docs/fr/contab.png
-%%DATADIR%%/docs/fr/index.html
-%%DATADIR%%/docs/fr/mathfunc.html
-%%DATADIR%%/docs/fr/paste.png
-%%DATADIR%%/docs/fr/qucsmain.png
-%%DATADIR%%/docs/fr/select.png
-%%DATADIR%%/docs/fr/short.html
-%%DATADIR%%/docs/fr/start.html
-%%DATADIR%%/docs/fr/subcircuit.html
-%%DATADIR%%/docs/fr/subcircuit.png
-%%DATADIR%%/docs/fr/wire.png
-%%DATADIR%%/docs/pt/characters.html
-%%DATADIR%%/docs/pt/contab.png
-%%DATADIR%%/docs/pt/index.html
-%%DATADIR%%/docs/pt/internal.html
-%%DATADIR%%/docs/pt/matching.html
-%%DATADIR%%/docs/pt/mathfunc.html
-%%DATADIR%%/docs/pt/optimization1.png
-%%DATADIR%%/docs/pt/optimization2.png
-%%DATADIR%%/docs/pt/optimization3.png
-%%DATADIR%%/docs/pt/optimization4.png
-%%DATADIR%%/docs/pt/optimization5.png
-%%DATADIR%%/docs/pt/optimization6.png
-%%DATADIR%%/docs/pt/optimization7.png
-%%DATADIR%%/docs/pt/optimization8.png
-%%DATADIR%%/docs/pt/paste.png
-%%DATADIR%%/docs/pt/programs.html
-%%DATADIR%%/docs/pt/qucsdigi.png
-%%DATADIR%%/docs/pt/qucsmain.png
-%%DATADIR%%/docs/pt/select.png
-%%DATADIR%%/docs/pt/short.html
-%%DATADIR%%/docs/pt/start.html
-%%DATADIR%%/docs/pt/start_digi.html
-%%DATADIR%%/docs/pt/start_opt.html
-%%DATADIR%%/docs/pt/subcircuit.html
-%%DATADIR%%/docs/pt/subcircuit.png
-%%DATADIR%%/docs/pt/wire.png
-%%DATADIR%%/docs/ru/characters.html
-%%DATADIR%%/docs/ru/contab.png
-%%DATADIR%%/docs/ru/index.html
-%%DATADIR%%/docs/ru/internal.html
-%%DATADIR%%/docs/ru/matching.html
-%%DATADIR%%/docs/ru/mathfunc.html
-%%DATADIR%%/docs/ru/optimization1.png
-%%DATADIR%%/docs/ru/optimization2.png
-%%DATADIR%%/docs/ru/optimization3.png
-%%DATADIR%%/docs/ru/optimization4.png
-%%DATADIR%%/docs/ru/optimization5.png
-%%DATADIR%%/docs/ru/optimization6.png
-%%DATADIR%%/docs/ru/optimization7.png
-%%DATADIR%%/docs/ru/optimization8.png
-%%DATADIR%%/docs/ru/paste.png
-%%DATADIR%%/docs/ru/programs.html
-%%DATADIR%%/docs/ru/qucsdigi.png
-%%DATADIR%%/docs/ru/qucsmain.png
-%%DATADIR%%/docs/ru/select.png
-%%DATADIR%%/docs/ru/short.html
-%%DATADIR%%/docs/ru/start.html
-%%DATADIR%%/docs/ru/start_digi.html
-%%DATADIR%%/docs/ru/start_opt.html
-%%DATADIR%%/docs/ru/subcircuit.html
-%%DATADIR%%/docs/ru/subcircuit.png
-%%DATADIR%%/docs/ru/wire.png
-%%DATADIR%%/docs/uk/characters.html
-%%DATADIR%%/docs/uk/contab.png
-%%DATADIR%%/docs/uk/index.html
-%%DATADIR%%/docs/uk/internal.html
-%%DATADIR%%/docs/uk/matching.html
-%%DATADIR%%/docs/uk/mathfunc.html
-%%DATADIR%%/docs/uk/optimization1.png
-%%DATADIR%%/docs/uk/optimization2.png
-%%DATADIR%%/docs/uk/optimization3.png
-%%DATADIR%%/docs/uk/optimization4.png
-%%DATADIR%%/docs/uk/optimization5.png
-%%DATADIR%%/docs/uk/optimization6.png
-%%DATADIR%%/docs/uk/optimization7.png
-%%DATADIR%%/docs/uk/optimization8.png
-%%DATADIR%%/docs/uk/paste.png
-%%DATADIR%%/docs/uk/programs.html
-%%DATADIR%%/docs/uk/qucsdigi.png
-%%DATADIR%%/docs/uk/qucsmain.png
-%%DATADIR%%/docs/uk/select.png
-%%DATADIR%%/docs/uk/short.html
-%%DATADIR%%/docs/uk/start.html
-%%DATADIR%%/docs/uk/start_digi.html
-%%DATADIR%%/docs/uk/start_opt.html
-%%DATADIR%%/docs/uk/subcircuit.html
-%%DATADIR%%/docs/uk/subcircuit.png
-%%DATADIR%%/docs/uk/wire.png
-%%DATADIR%%/lang/qucs_ar.qm
-%%DATADIR%%/lang/qucs_ca.qm
-%%DATADIR%%/lang/qucs_cs.qm
-%%DATADIR%%/lang/qucs_de.qm
-%%DATADIR%%/lang/qucs_es.qm
-%%DATADIR%%/lang/qucs_fr.qm
-%%DATADIR%%/lang/qucs_he.qm
-%%DATADIR%%/lang/qucs_hu.qm
-%%DATADIR%%/lang/qucs_it.qm
-%%DATADIR%%/lang/qucs_jp.qm
-%%DATADIR%%/lang/qucs_kk.qm
-%%DATADIR%%/lang/qucs_pl.qm
-%%DATADIR%%/lang/qucs_pt.qm
-%%DATADIR%%/lang/qucs_ro.qm
-%%DATADIR%%/lang/qucs_ru.qm
-%%DATADIR%%/lang/qucs_sv.qm
-%%DATADIR%%/lang/qucs_tr.qm
-%%DATADIR%%/lang/qucs_uk.qm
-%%DATADIR%%/library/Bridges.lib
-%%DATADIR%%/library/Diodes.lib
-%%DATADIR%%/library/Ideal.lib
-%%DATADIR%%/library/JFETs.lib
-%%DATADIR%%/library/LEDs.lib
-%%DATADIR%%/library/MOSFETs.lib
-%%DATADIR%%/library/NMOSFETs.lib
-%%DATADIR%%/library/OpAmps.lib
-%%DATADIR%%/library/PMOSFETs.lib
-%%DATADIR%%/library/Regulators.lib
-%%DATADIR%%/library/Substrates.lib
-%%DATADIR%%/library/Transistors.lib
-%%DATADIR%%/library/Varistors.lib
-%%DATADIR%%/library/Z-Diodes.lib
-%%DATADIR%%/octave/getQucsVariable.m
-%%DATADIR%%/octave/loadQucsDataSet.m
-%%DATADIR%%/octave/loadQucsVariable.m
-%%DATADIR%%/octave/showQucsDataSet.m
-%%DATADIR%%/tline/cstrip_kj_1.trc
-%%DATADIR%%/tline/cstrip_kj_2.trc
-%%DATADIR%%/tline/hp.trc
-%%DATADIR%%/tline/ustrip50fr4.trc
-%%DATADIR%%/tline/ustrip_jansen.trc
-@dirrm %%DATADIR%%/tline
-@dirrm %%DATADIR%%/octave
-@dirrm %%DATADIR%%/library
-@dirrm %%DATADIR%%/lang
-@dirrm %%DATADIR%%/docs/uk
-@dirrm %%DATADIR%%/docs/ru
-@dirrm %%DATADIR%%/docs/pt
-@dirrm %%DATADIR%%/docs/fr
-@dirrm %%DATADIR%%/docs/es
-@dirrm %%DATADIR%%/docs/en
-@dirrm %%DATADIR%%/docs/de
-@dirrm %%DATADIR%%/docs/cs
-@dirrm %%DATADIR%%/docs
-@dirrm %%DATADIR%%/bitmaps
-@dirrm %%DATADIR%%
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile
deleted file mode 100644
index 5c52d7d5990a..000000000000
--- a/cad/vipec/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# ex:ts=8
-# New ports collection makefile for: vipec
-# Date created: April 3, 2001
-# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= vipec
-PORTVERSION= 3.2.0
-PORTREVISION= 8
-CATEGORIES= cad
-MASTER_SITES= SF/${PORTNAME}/ViPEC/${PORTVERSION}
-DISTNAME= ViPEC-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Analyze high frequency, linear electrical networks
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
-
-DEPRECATED= Depends on QT3; unmaintained
-EXPIRATION_DATE= 2013-07-01
-
-USE_QT_VER= 3
-USE_GMAKE= yes
-MAKE_ENV= QTDIR="${QT_PREFIX}" VIPECHOME="${DATADIR}"
-
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
- -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ vipec.pro
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/../vipec ${PREFIX}/bin/vipec
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/../vipec.cfg ${DATADIR}
- @${MKDIR} ${DATADIR}/ckt
- ${INSTALL_DATA} ${WRKSRC}/../ckt/*.* ${DATADIR}/ckt
- @${MKDIR} ${DATADIR}/help
- ${INSTALL_DATA} ${WRKSRC}/../help/*.* ${DATADIR}/help
- @${MKDIR} ${DATADIR}/help/models
- ${INSTALL_DATA} ${WRKSRC}/../help/models/*.* ${DATADIR}/help/models
- @${MKDIR} ${DATADIR}/messages
- ${INSTALL_DATA} ${WRKSRC}/../messages/*.qm ${DATADIR}/messages
-
-.include <bsd.port.mk>
diff --git a/cad/vipec/distinfo b/cad/vipec/distinfo
deleted file mode 100644
index a452923268e6..000000000000
--- a/cad/vipec/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ViPEC-3.2.0.tar.gz) = 12d43d7fb981bcb8bff24280e767bb634b4e414097569e9d1bfa1bf17467afcd
-SIZE (ViPEC-3.2.0.tar.gz) = 191819
diff --git a/cad/vipec/files/patch-HelpWindow.cpp b/cad/vipec/files/patch-HelpWindow.cpp
deleted file mode 100644
index 0896f7fe91aa..000000000000
--- a/cad/vipec/files/patch-HelpWindow.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
---- HelpWindow.cpp.orig Thu Oct 2 04:40:40 2003
-+++ HelpWindow.cpp Fri Aug 20 23:49:10 2004
-@@ -36,7 +36,15 @@
- QString vipecHome = QString(getenv("VIPECHOME"));
- if ( vipecHome.isEmpty() )
- {
-+#ifdef VIPECHOME
-+ vipecHome = QString(VIPECHOME);
-+ if (vipecHome.isEmpty())
-+ {
-+ vipecHome = dir.absPath();
-+ }
-+#else
- vipecHome = dir.absPath();
-+#endif
- }
- home_ = vipecHome + "/help/index.html";
- const QStringList currentDir(".");
diff --git a/cad/vipec/files/patch-Setup.cpp b/cad/vipec/files/patch-Setup.cpp
deleted file mode 100644
index 419b8cf253bb..000000000000
--- a/cad/vipec/files/patch-Setup.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
---- Setup.cpp.orig Fri Oct 3 09:31:11 2003
-+++ Setup.cpp Fri Aug 20 23:49:30 2004
-@@ -163,8 +163,17 @@
- vipecHome_ = QString(getenv("VIPECHOME"));
- if ( vipecHome_.isEmpty() )
- {
-- vipecHome_ = dir.absPath();
-- Logger::warning("VIPECHOME not set, assuming " + vipecHome_);
-+#ifdef VIPECHOME
-+ vipecHome_ = QString(VIPECHOME);
-+ if (vipecHome_.isEmpty())
-+ {
-+ vipecHome_ = dir.absPath();
-+ Logger::warning("VIPECHOME not set, assuming " + vipecHome_);
-+ }
-+#else
-+ vipecHome_ = dir.absPath();
-+ Logger::warning("VIPECHOME not set, assuming " + vipecHome_);
-+#endif
- }
- helpFilename_ = vipecHome_ + "/help/index.html";
- configFilename_ = vipecHome_ + "/vipec.cfg";
diff --git a/cad/vipec/files/patch-include::Component.h b/cad/vipec/files/patch-include::Component.h
deleted file mode 100644
index 736e11dade5c..000000000000
--- a/cad/vipec/files/patch-include::Component.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- ../include/Component.h.orig Fri Mar 30 18:50:58 2001
-+++ ../include/Component.h Fri Aug 20 21:55:50 2004
-@@ -93,6 +93,10 @@
-
- static int getNodeSize();
-
-+ //Not implemented
-+ Component( const Component& c );
-+ Component& operator=( const Component& c );
-+
- protected:
- virtual void drawSymbol(QPainter*) = 0;
- CircuitNode* addNode(int, int, bool isPortNode = FALSE,
-@@ -106,10 +110,6 @@
- void copyMemberData( Component& source );
-
- private:
-- //Not implemented
-- Component( const Component& c );
-- Component& operator=( const Component& c );
--
- void drawAttributes(QPainter* painter);
-
- protected:
diff --git a/cad/vipec/files/patch-include::DataVector.h b/cad/vipec/files/patch-include::DataVector.h
deleted file mode 100644
index e8e3fb220bce..000000000000
--- a/cad/vipec/files/patch-include::DataVector.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ../include/DataVector.h.orig Tue Feb 13 06:23:19 2001
-+++ ../include/DataVector.h Fri Aug 20 21:56:44 2004
-@@ -43,7 +43,6 @@
- uint getSize();
- void addPoint(TComplex value);
-
--private:
- DataVector(const DataVector& vector);
-
-
diff --git a/cad/vipec/files/patch-include::Schematic.h b/cad/vipec/files/patch-include::Schematic.h
deleted file mode 100644
index e20a65da717d..000000000000
--- a/cad/vipec/files/patch-include::Schematic.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- ../include/Schematic.h.orig Fri Mar 30 18:50:58 2001
-+++ ../include/Schematic.h Fri Aug 20 21:48:46 2004
-@@ -91,9 +91,9 @@
- QList<DataPoint>& getZData();
- TComplex getPortImpedance( uint port );
-
--private:
- Schematic( const Schematic& );
-
-+private:
- int distanceFromLine( const QPoint& point,
- const CircuitLine& line,
- bool orthoganalOnly );
diff --git a/cad/vipec/files/patch-vipec.pro b/cad/vipec/files/patch-vipec.pro
deleted file mode 100644
index fd94fef96500..000000000000
--- a/cad/vipec/files/patch-vipec.pro
+++ /dev/null
@@ -1,13 +0,0 @@
---- vipec.pro.orig Thu Oct 2 04:58:40 2003
-+++ vipec.pro Sat Aug 21 00:04:24 2004
-@@ -8,8 +8,8 @@
- CLEAN_FILES = core Makefile *~ *moc* components/*~ dialogs/*~ images/*~ outputs/*~ widgets/*~
- MOC_DIR = moc
- OBJECTS_DIR = obj
--CONFIG = qt warn_on exceptions stl rtti
--DEFINES = QT_FATAL_ASSERT
-+CONFIG += qt warn_on exceptions stl rtti
-+DEFINES += QT_FATAL_ASSERT VIPECHOME=\"$(VIPECHOME)\"
- RC_FILE = vipec.rc
- HEADERS = \
- ../include/Logger.h \
diff --git a/cad/vipec/pkg-descr b/cad/vipec/pkg-descr
deleted file mode 100644
index 341b536dcee3..000000000000
--- a/cad/vipec/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-ViPEC is a powerful tool for the analysis of high frequency, linear
-electrical networks. It takes a schematic description of the electrical
-network and performs a linear analysis in the frequency domain. The output
-is in the form of port parameters (S, Y or Z) with results presented on a
-user defined grid, Smithchart or table. It can also be used to compute
-other characteristics like stability factors and group delay.
-
-ViPEC supports various lumped elements (capacitors, resistors etc.) as well
-as distributed networks like transmission lines, microstrip and stripline
-structures. Two port data files are also supported (e.g. the 2-port frequency
-parameters of various RF transistors as supplied by the manufacturer). The
-component library is under constant development with new elements added at
-regular intervals.
-
-WWW: http://vipec.sourceforge.net/
diff --git a/cad/vipec/pkg-plist b/cad/vipec/pkg-plist
deleted file mode 100644
index 0992ff31d547..000000000000
--- a/cad/vipec/pkg-plist
+++ /dev/null
@@ -1,61 +0,0 @@
-bin/vipec
-%%DATADIR%%/ckt/amplifier.ckt
-%%DATADIR%%/ckt/bandpass.ckt
-%%DATADIR%%/ckt/bandpass.s2p
-%%DATADIR%%/ckt/bandpass2.ckt
-%%DATADIR%%/ckt/combined.ckt
-%%DATADIR%%/ckt/coupled_line_filter.ckt
-%%DATADIR%%/ckt/coupler.ckt
-%%DATADIR%%/ckt/datafile.ckt
-%%DATADIR%%/ckt/filter.ckt
-%%DATADIR%%/ckt/highpass.ckt
-%%DATADIR%%/ckt/nec70000.s2p
-%%DATADIR%%/ckt/stripline.ckt
-%%DATADIR%%/ckt/test.ckt
-%%DATADIR%%/help/analysing.html
-%%DATADIR%%/help/components.html
-%%DATADIR%%/help/disclaimer.html
-%%DATADIR%%/help/frequency.html
-%%DATADIR%%/help/index.html
-%%DATADIR%%/help/license.html
-%%DATADIR%%/help/models/block.html
-%%DATADIR%%/help/models/block.png
-%%DATADIR%%/help/models/capacitor.html
-%%DATADIR%%/help/models/capacitor.png
-%%DATADIR%%/help/models/coupled.png
-%%DATADIR%%/help/models/gyrator.html
-%%DATADIR%%/help/models/gyrator.png
-%%DATADIR%%/help/models/idealcoupled.html
-%%DATADIR%%/help/models/inductor.html
-%%DATADIR%%/help/models/inductor.png
-%%DATADIR%%/help/models/inductorq.html
-%%DATADIR%%/help/models/inductorq.png
-%%DATADIR%%/help/models/port.html
-%%DATADIR%%/help/models/port.png
-%%DATADIR%%/help/models/resistor.html
-%%DATADIR%%/help/models/resistor.png
-%%DATADIR%%/help/models/tlin2port.html
-%%DATADIR%%/help/models/tlin2port.png
-%%DATADIR%%/help/models/tlin4port.html
-%%DATADIR%%/help/models/tlin4port.png
-%%DATADIR%%/help/models/tlinphysical.html
-%%DATADIR%%/help/models/tlinphysical.png
-%%DATADIR%%/help/models/vccs.html
-%%DATADIR%%/help/models/vccs.png
-%%DATADIR%%/help/navigation.html
-%%DATADIR%%/help/outputs.html
-%%DATADIR%%/help/placing.html
-%%DATADIR%%/help/schematics.html
-%%DATADIR%%/help/substrates.html
-%%DATADIR%%/help/units.html
-%%DATADIR%%/help/variables.html
-%%DATADIR%%/help/what_is.html
-%%DATADIR%%/messages/vipec_fr.qm
-%%DATADIR%%/messages/vipec_ger.qm
-%%DATADIR%%/messages/vipec_pt.qm
-%%DATADIR%%/vipec.cfg
-@dirrm %%DATADIR%%/messages
-@dirrm %%DATADIR%%/help/models
-@dirrm %%DATADIR%%/help
-@dirrm %%DATADIR%%/ckt
-@dirrm %%DATADIR%%