summaryrefslogtreecommitdiff
path: root/cad/diylc
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2014-05-21 12:25:32 +0000
committerdsainty <dsainty@pkgsrc.org>2014-05-21 12:25:32 +0000
commit722e1fda508bee4be381d0178934eb8f73391721 (patch)
tree86273a3ec3c4bbd9182dbcc2b1b919d3d1f5a921 /cad/diylc
parent5624f92d340cb18631874d79731918bb85527e92 (diff)
downloadpkgsrc-722e1fda508bee4be381d0178934eb8f73391721.tar.gz
Import DIY Layout Creator version 3.28.0
DIY Layout Creator (DIYLC in short) lets the user draw electronic schematics and board/chassis layouts quickly and without a steep learning curve. It's particularly useful for breadboard or stripboard-style layouts, where the board is inflexible and discrete components have variable leg lengths.
Diffstat (limited to 'cad/diylc')
-rw-r--r--cad/diylc/DESCR5
-rw-r--r--cad/diylc/Makefile40
-rw-r--r--cad/diylc/PLIST16
-rw-r--r--cad/diylc/distinfo5
4 files changed, 66 insertions, 0 deletions
diff --git a/cad/diylc/DESCR b/cad/diylc/DESCR
new file mode 100644
index 00000000000..e1a10246af2
--- /dev/null
+++ b/cad/diylc/DESCR
@@ -0,0 +1,5 @@
+DIY Layout Creator (DIYLC in short) lets the user draw electronic schematics
+and board/chassis layouts quickly and without a steep learning curve.
+
+It's particularly useful for breadboard or stripboard-style layouts, where
+the board is inflexible and discrete components have variable leg lengths.
diff --git a/cad/diylc/Makefile b/cad/diylc/Makefile
new file mode 100644
index 00000000000..3fd78ede61b
--- /dev/null
+++ b/cad/diylc/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2014/05/21 12:25:32 dsainty Exp $
+
+DISTNAME= diylc-3.28.0
+CATEGORIES= cad java
+MASTER_SITES= http://diy-layout-creator.googlecode.com/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= dsainty@NetBSD.org
+HOMEPAGE= http://code.google.com/p/diy-layout-creator/
+COMMENT= Simple electronic schematics CAD tool
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+USE_JAVA= run
+
+INSTALLATION_DIRS= bin lib/java lib/java/diylc
+
+do-build:
+ set -e; \
+ ( \
+ cd "${WRKSRC}/lib"; unset cp; \
+ for jar in diylc.jar main.jar *.jar; do \
+ cp="$${cp}$${cp+:}${PREFIX}/lib/java/diylc/$${jar}"; \
+ done; \
+ ${ECHO} "#!${SH}"; ${ECHO} "exec ${JAVA_BINPREFIX}-java -Xms512m -Xmx2048m -Dorg.diylc.scriptRun=true -cp \"$${cp}\" org.diylc.DIYLCStarter \"\$$@\"" \
+ ) > ${WRKSRC}/diylc.sh
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/diylc.sh \
+ ${DESTDIR}${PREFIX}/bin/diylc
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar \
+ ${DESTDIR}${PREFIX}/lib/java/diylc/
+ ${INSTALL_DATA} ${WRKSRC}/library/*.jar \
+ ${DESTDIR}${PREFIX}/lib/java/diylc/
+ ${INSTALL_DATA} ${WRKSRC}/diylc.jar \
+ ${DESTDIR}${PREFIX}/lib/java/diylc/diylc.jar
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/diylc/PLIST b/cad/diylc/PLIST
new file mode 100644
index 00000000000..bee89bfd77c
--- /dev/null
+++ b/cad/diylc/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/21 12:25:32 dsainty Exp $
+bin/diylc
+lib/java/diylc/app-framework.jar
+lib/java/diylc/diylc-core.jar
+lib/java/diylc/diylc.jar
+lib/java/diylc/iText-2.1.7.jar
+lib/java/diylc/jettison-1.0.1.jar
+lib/java/diylc/junit-4.7.jar
+lib/java/diylc/log4j-1.2.15.jar
+lib/java/diylc/main.jar
+lib/java/diylc/org-openide-awt.jar
+lib/java/diylc/org-openide-util-lookup.jar
+lib/java/diylc/org-openide-util.jar
+lib/java/diylc/poi-3.5-FINAL-20090928.jar
+lib/java/diylc/swing-framework.jar
+lib/java/diylc/xstream-1.4.3.jar
diff --git a/cad/diylc/distinfo b/cad/diylc/distinfo
new file mode 100644
index 00000000000..8c507a95568
--- /dev/null
+++ b/cad/diylc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/21 12:25:32 dsainty Exp $
+
+SHA1 (diylc-3.28.0.zip) = 1d0382eca07e491da329d68232ab53295b91bd5a
+RMD160 (diylc-3.28.0.zip) = 2d5ecaf20915cec69d8720381099b711b99bb5dc
+Size (diylc-3.28.0.zip) = 5034143 bytes