pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/librecad Import librecad-1.0.0 as cad/librecad
details: https://anonhg.NetBSD.org/pkgsrc/rev/c13e28607f6d
branches: trunk
changeset: 598567:c13e28607f6d
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Jan 26 21:43:22 2012 +0000
description:
Import librecad-1.0.0 as cad/librecad
LibreCAD is a free Open Source personal CAD application for Windows,
Macintosh and Linux.
diffstat:
cad/librecad/DESCR | 2 +
cad/librecad/Makefile | 57 +++++++
cad/librecad/PLIST | 133 +++++++++++++++++
cad/librecad/distinfo | 6 +
cad/librecad/patches/patch-scripts_postprocess-unix.sh | 31 +++
5 files changed, 229 insertions(+), 0 deletions(-)
diffs (249 lines):
diff -r c48a1c557fde -r c13e28607f6d cad/librecad/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/librecad/DESCR Thu Jan 26 21:43:22 2012 +0000
@@ -0,0 +1,2 @@
+LibreCAD is a free Open Source personal CAD application for Windows,
+Macintosh and Linux.
diff -r c48a1c557fde -r c13e28607f6d cad/librecad/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/librecad/Makefile Thu Jan 26 21:43:22 2012 +0000
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/01/26 21:43:22 ryoon Exp $
+#
+
+DISTNAME= LibreCAD-LibreCAD-v1.0.0-0-g22839a7
+PKGNAME= librecad-1.0.0
+CATEGORIES= cad
+MASTER_SITES= -https://github.com/LibreCAD/LibreCAD/zipball/v1.0.0
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= http://librecad.org/
+COMMENT= Free Open Source personal CAD application
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# Force using "curl" for fetching the distribution file. It is only available
+# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
+FETCH_USING= curl
+
+WRKSRC= ${WRKDIR}/LibreCAD-LibreCAD-2d7f866
+USE_LANGUAGES= c c++
+USE_TOOLS+= pax
+
+REPLACE_SH= scripts/postprocess-unix.sh
+
+SUBST_CLASSES+= qtdir
+SUBST_STAGE.qtdir= pre-configure
+SUBST_MESSAGE.qtdir= Set qt4/bin
+SUBST_FILES.qtdir+= scripts/postprocess-unix.sh
+SUBST_VARS.qtdir+= QTDIR
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_MESSAGE.prefix= Fix hardcoded path
+SUBST_FILES.prefix+= src/lib/engine/rs_system.cpp
+SUBST_SED.prefix+= -e 's,/usr/share/,${PREFIX}/share/,g'
+
+LIBRECADDIR= share/librecad
+
+INSTALLATION_DIRS+= bin ${LIBRECADDIR}
+
+do-configure:
+ cd ${WRKSRC} && QTDIR=${QTDIR} ${QTDIR}/bin/qmake librecad.pro
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/unix/librecad \
+ ${DESTDIR}${PREFIX}/bin
+ cd ${WRKSRC}/unix/resources && \
+ pax -rw -pmp fonts library patterns qm \
+ ${DESTDIR}${PREFIX}/${LIBRECADDIR}
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt4-tools= full
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c48a1c557fde -r c13e28607f6d cad/librecad/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/librecad/PLIST Thu Jan 26 21:43:22 2012 +0000
@@ -0,0 +1,133 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/26 21:43:23 ryoon Exp $
+bin/librecad
+share/librecad/fonts/cursive.lff
+share/librecad/fonts/cyrillic_ii.lff
+share/librecad/fonts/gothgbt.lff
+share/librecad/fonts/gothgrt.lff
+share/librecad/fonts/gothitt.lff
+share/librecad/fonts/greek_ol.lff
+share/librecad/fonts/greekc.lff
+share/librecad/fonts/greekcs.lff
+share/librecad/fonts/greekp.lff
+share/librecad/fonts/greeks.lff
+share/librecad/fonts/iso.lff
+share/librecad/fonts/iso8859-11.lff
+share/librecad/fonts/italicc.lff
+share/librecad/fonts/italiccs.lff
+share/librecad/fonts/italict.lff
+share/librecad/fonts/kochigothic.lff
+share/librecad/fonts/kochimincho.lff
+share/librecad/fonts/romanc.lff
+share/librecad/fonts/romancs.lff
+share/librecad/fonts/romand.lff
+share/librecad/fonts/romanp.lff
+share/librecad/fonts/romans.lff
+share/librecad/fonts/romansi.lff
+share/librecad/fonts/romant.lff
+share/librecad/fonts/scriptc.lff
+share/librecad/fonts/scripts.lff
+share/librecad/fonts/simplex.lff
+share/librecad/fonts/standard.lff
+share/librecad/fonts/symbol.lff
+share/librecad/fonts/symbol_astro.lff
+share/librecad/fonts/symbol_misc1.lff
+share/librecad/fonts/symbol_misc2.lff
+share/librecad/fonts/unicode.lff
+share/librecad/library/misc/a3.dxf
+share/librecad/library/misc/screw.dxf
+share/librecad/library/misc/t-part.dxf
+share/librecad/library/misc/tux.dxf
+share/librecad/library/templates/empty.dxf
+share/librecad/patterns/angle.dxf
+share/librecad/patterns/ansi31.dxf
+share/librecad/patterns/ar-b816.dxf
+share/librecad/patterns/ar-b816c.dxf
+share/librecad/patterns/ar-b88.dxf
+share/librecad/patterns/ar-brelm.dxf
+share/librecad/patterns/ar-brstd.dxf
+share/librecad/patterns/ar-conc.dxf
+share/librecad/patterns/ar-hbone.dxf
+share/librecad/patterns/ar-parq1.dxf
+share/librecad/patterns/ar-roof.dxf
+share/librecad/patterns/ar-rshke.dxf
+share/librecad/patterns/arcs.dxf
+share/librecad/patterns/arcs_2.dxf
+share/librecad/patterns/box.dxf
+share/librecad/patterns/brick.dxf
+share/librecad/patterns/brstone.dxf
+share/librecad/patterns/clay.dxf
+share/librecad/patterns/concrete.dxf
+share/librecad/patterns/cross.dxf
+share/librecad/patterns/daemon.dxf
+share/librecad/patterns/dolmit.dxf
+share/librecad/patterns/earth.dxf
+share/librecad/patterns/escher.dxf
+share/librecad/patterns/flex.dxf
+share/librecad/patterns/grass.dxf
+share/librecad/patterns/grass_b.dxf
+share/librecad/patterns/hex.dxf
+share/librecad/patterns/hexagon_a.dxf
+share/librecad/patterns/hexagon_b.dxf
+share/librecad/patterns/honeycomb.dxf
+share/librecad/patterns/hound.dxf
+share/librecad/patterns/iso03w100.dxf
+share/librecad/patterns/iso03w100a.dxf
+share/librecad/patterns/kerpele.dxf
+share/librecad/patterns/misc01.dxf
+share/librecad/patterns/misc02.dxf
+share/librecad/patterns/misc03.dxf
+share/librecad/patterns/paisley.dxf
+share/librecad/patterns/pantagon_a.dxf
+share/librecad/patterns/pantagon_b.dxf
+share/librecad/patterns/plastic.dxf
+share/librecad/patterns/sacncr.dxf
+share/librecad/patterns/sand.dxf
+share/librecad/patterns/square.dxf
+share/librecad/patterns/triangle_a.dxf
+share/librecad/patterns/triangle_b.dxf
+share/librecad/qm/librecad_cs.qm
+share/librecad/qm/librecad_da.qm
+share/librecad/qm/librecad_de.qm
+share/librecad/qm/librecad_el.qm
+share/librecad/qm/librecad_en.qm
+share/librecad/qm/librecad_en_au.qm
+share/librecad/qm/librecad_es.qm
+share/librecad/qm/librecad_es_ar.qm
+share/librecad/qm/librecad_es_bo.qm
+share/librecad/qm/librecad_es_cl.qm
+share/librecad/qm/librecad_es_co.qm
+share/librecad/qm/librecad_es_cr.qm
+share/librecad/qm/librecad_es_do.qm
+share/librecad/qm/librecad_es_ec.qm
+share/librecad/qm/librecad_es_gt.qm
+share/librecad/qm/librecad_es_hn.qm
+share/librecad/qm/librecad_es_mx.qm
+share/librecad/qm/librecad_es_ni.qm
+share/librecad/qm/librecad_es_pa.qm
+share/librecad/qm/librecad_es_pe.qm
+share/librecad/qm/librecad_es_pr.qm
+share/librecad/qm/librecad_es_py.qm
+share/librecad/qm/librecad_es_sv.qm
+share/librecad/qm/librecad_es_us.qm
+share/librecad/qm/librecad_es_uy.qm
+share/librecad/qm/librecad_es_ve.qm
+share/librecad/qm/librecad_et.qm
+share/librecad/qm/librecad_fi.qm
+share/librecad/qm/librecad_fr.qm
+share/librecad/qm/librecad_hu.qm
+share/librecad/qm/librecad_id_ID.qm
+share/librecad/qm/librecad_it.qm
+share/librecad/qm/librecad_ja.qm
+share/librecad/qm/librecad_nl.qm
+share/librecad/qm/librecad_no.qm
+share/librecad/qm/librecad_pa.qm
+share/librecad/qm/librecad_pl.qm
+share/librecad/qm/librecad_pt.qm
+share/librecad/qm/librecad_ru.qm
+share/librecad/qm/librecad_sk.qm
+share/librecad/qm/librecad_sq_al.qm
+share/librecad/qm/librecad_sv.qm
+share/librecad/qm/librecad_tr.qm
+share/librecad/qm/librecad_uk.qm
+share/librecad/qm/librecad_zh_cn.qm
+share/librecad/qm/librecad_zh_tw.qm
diff -r c48a1c557fde -r c13e28607f6d cad/librecad/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/librecad/distinfo Thu Jan 26 21:43:22 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/01/26 21:43:23 ryoon Exp $
+
+SHA1 (LibreCAD-LibreCAD-v1.0.0-0-g22839a7.zip) = bbf890a641c66856231024e4d957f21c80cdbf22
+RMD160 (LibreCAD-LibreCAD-v1.0.0-0-g22839a7.zip) = ecb8e1e3d9559009fdd47d39467cc0a580d975c1
+Size (LibreCAD-LibreCAD-v1.0.0-0-g22839a7.zip) = 5629971 bytes
+SHA1 (patch-scripts_postprocess-unix.sh) = 4c0b153fa1cf59d6a0070c56b0d976ca25fe89b9
diff -r c48a1c557fde -r c13e28607f6d cad/librecad/patches/patch-scripts_postprocess-unix.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/librecad/patches/patch-scripts_postprocess-unix.sh Thu Jan 26 21:43:22 2012 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-scripts_postprocess-unix.sh,v 1.1.1.1 2012/01/26 21:43:23 ryoon Exp $
+
+* Set qt4 tools path
+* Remove GNU find option
+
+--- scripts/postprocess-unix.sh.orig 2012-01-18 05:38:57.000000000 +0000
++++ scripts/postprocess-unix.sh
+@@ -7,7 +7,7 @@ DOCDIR="`pwd`/support/doc"
+
+ # Generate Help Files
+ cd "$DOCDIR"
+-qcollectiongenerator LibreCADdoc.qhcp
++@QTDIR@/bin/qcollectiongenerator LibreCADdoc.qhcp
+
+ cd "$THISDIR"
+
+@@ -20,11 +20,11 @@ cp support/patterns/*.dxf $RESOURCEDIR/p
+ cp support/fonts/*.lff* $RESOURCEDIR/fonts
+ #cp support/doc/*.qhc $RESOURCEDIR/doc
+ #cp support/doc/*.qch $RESOURCEDIR/doc
+-find support/library -type d -not -path "*.svn*" | sed s/support// | xargs -IFILES mkdir $RESOURCEDIR/FILES
+-find support/library -type f -iname *.dxf -not -path "*.svn*" | sed s/support// | xargs -IFILES cp support/FILES $RESOURCEDIR/FILES
++find support/library -type d | sed s/support// | xargs -IFILES mkdir $RESOURCEDIR/FILES
++find support/library -type f -iname *.dxf | sed s/support// | xargs -IFILES cp support/FILES $RESOURCEDIR/FILES
+
+ # Generate translations
+-lrelease librecad.pro
++@QTDIR@/bin/lrelease librecad.pro
+ mkdir -p $RESOURCEDIR/qm
+
+ # Go into translations directory
Home |
Main Index |
Thread Index |
Old Index