summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-03-13 21:39:40 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-03-13 21:39:40 +0000
commit3b60309ab2419f3432a4b3f251b448046dc3d977 (patch)
treec49d6b8e884f7d45b6d49b8579bf14c5dc312572 /cad
parentDowngrade awesome to 3.4.x while devel/lua-lgi is broken (diff)
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
Notes
Notes: svn path=/head/; revision=314115
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/