aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-03-14 05:39:40 +0800
committerpawel <pawel@FreeBSD.org>2013-03-14 05:39:40 +0800
commit3bd1830527137ceaf82936662e2c1749b278b3cd (patch)
treec49d6b8e884f7d45b6d49b8579bf14c5dc312572 /cad
parentc62fdb0e9518e9b264ba0d4c7efe8867c75d0089 (diff)
downloadfreebsd-ports-gnome-3bd1830527137ceaf82936662e2c1749b278b3cd.tar.gz
freebsd-ports-gnome-3bd1830527137ceaf82936662e2c1749b278b3cd.tar.zst
freebsd-ports-gnome-3bd1830527137ceaf82936662e2c1749b278b3cd.zip
LDraw is an open standard for LEGO CAD programs that allow the user to create
virtual LEGO models and scenes. You can use it to document models you have physically built, create building instructions just like LEGO, render 3D photo realistic images of your virtual models and even make animations. The possibilities are endless. Unlike real LEGO bricks where you are limited by the number of parts and colors, in LDraw nothing is impossible. WWW: http://www.ldraw.org/ PR: ports/174901 Submitted by: nemysis@gmx.ch
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile1
-rw-r--r--cad/ldraw/Makefile29
-rw-r--r--cad/ldraw/distinfo2
-rw-r--r--cad/ldraw/pkg-descr8
4 files changed, 40 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index aad1e3260874..12bed9779188 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -52,6 +52,7 @@
SUBDIR += kicad-library
SUBDIR += klayout
SUBDIR += layouteditor
+ SUBDIR += ldraw
SUBDIR += leocad
SUBDIR += libgeda
SUBDIR += librecad
diff --git a/cad/ldraw/Makefile b/cad/ldraw/Makefile
new file mode 100644
index 000000000000..4d7873ba58c0
--- /dev/null
+++ b/cad/ldraw/Makefile
@@ -0,0 +1,29 @@
+# Created by: nemysis@gmx.ch
+# $FreeBSD$
+
+PORTNAME= ldraw
+PORTVERSION= 20120913
+CATEGORIES= cad
+MASTER_SITES= http://www.ldraw.org/library/updates/
+DISTNAME= complete
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= nemysis@gmx.ch
+COMMENT= LDraw parts library
+
+LICENSE= CDDL
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
+
+post-install:
+ @${FIND} ${DATADIR}/ ! -type d | ${SED} 's|^${PREFIX}/||' >> ${TMPPLIST}
+ @${FIND} -ds ${DATADIR}/ -type d | \
+ ${SED} -E -e 's,(.*),@unexec ${RMDIR} "\1" 2>/dev/null || true,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/cad/ldraw/distinfo b/cad/ldraw/distinfo
new file mode 100644
index 000000000000..b02fb8bdf2e0
--- /dev/null
+++ b/cad/ldraw/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ldraw/complete.zip) = d6949e51f617ff46457dc5467d9b8d525cf744486ff9f29a49927f6eaa882b79
+SIZE (ldraw/complete.zip) = 21433103
diff --git a/cad/ldraw/pkg-descr b/cad/ldraw/pkg-descr
new file mode 100644
index 000000000000..30e49a97c544
--- /dev/null
+++ b/cad/ldraw/pkg-descr
@@ -0,0 +1,8 @@
+LDraw is an open standard for LEGO CAD programs that allow the user to create
+virtual LEGO models and scenes. You can use it to document models you have
+physically built, create building instructions just like LEGO, render 3D photo
+realistic images of your virtual models and even make animations.
+The possibilities are endless. Unlike real LEGO bricks where you are limited by
+the number of parts and colors, in LDraw nothing is impossible.
+
+WWW: http://www.ldraw.org/