pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad Add LibreDWG, a free C library for reading/writing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6304d93c90c
branches:  trunk
changeset: 449640:a6304d93c90c
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Fri Apr 02 21:32:59 2021 +0000

description:
Add LibreDWG, a free C library for reading/writing DWG files

This software is part of the GNU project, released under the aegis
of GNU.

diffstat:

 cad/Makefile               |   3 ++-
 cad/libredwg/DESCR         |   8 ++++++++
 cad/libredwg/Makefile      |  30 ++++++++++++++++++++++++++++++
 cad/libredwg/PLIST         |  35 +++++++++++++++++++++++++++++++++++
 cad/libredwg/buildlink3.mk |  14 ++++++++++++++
 cad/libredwg/distinfo      |   6 ++++++
 6 files changed, 95 insertions(+), 1 deletions(-)

diffs (130 lines):

diff -r ddfae605688a -r a6304d93c90c cad/Makefile
--- a/cad/Makefile      Fri Apr 02 20:27:27 2021 +0000
+++ b/cad/Makefile      Fri Apr 02 21:32:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2019/10/05 06:19:56 ryoon Exp $
+# $NetBSD: Makefile,v 1.100 2021/04/02 21:32:59 plunky Exp $
 #
 
 COMMENT=       CAD tools
@@ -41,6 +41,7 @@
 SUBDIR+=       kicad-templates
 SUBDIR+=       klayout
 SUBDIR+=       librecad
+SUBDIR+=       libredwg
 SUBDIR+=       libwcalc
 SUBDIR+=       magic
 SUBDIR+=       mcalc
diff -r ddfae605688a -r a6304d93c90c cad/libredwg/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libredwg/DESCR        Fri Apr 02 21:32:59 2021 +0000
@@ -0,0 +1,8 @@
+LibreDWG is a free C library to read and write DWG files, which was
+a file format created in the 70's for the emerging CAD applications,
+and is the native file format used by AutoCAD.
+
+This package includes some example tools to manipulate DWG files.
+
+This software is part of the GNU project, released under the aegis
+of GNU.
diff -r ddfae605688a -r a6304d93c90c cad/libredwg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libredwg/Makefile     Fri Apr 02 21:32:59 2021 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/04/02 21:32:59 plunky Exp $
+#
+
+DISTNAME=              libredwg-0.12
+CATEGORIES=            cad
+MASTER_SITES=          https://ftp.gnu.org/gnu/libredwg/
+EXTRACT_SUFX=          .tar.xz
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://www.gnu.org/software/libredwg
+COMMENT=               Free library to read/write DWG files
+LICENSE=               gnu-gpl-v3
+
+GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c
+USE_LIBTOOL=           yes
+USE_TOOLS+=            makeinfo perl:test
+
+CONFIGURE_ARGS+=       --infodir=${PREFIX}/${PKGINFODIR}
+CONFIGURE_ARGS+=       --disable-bindings
+
+INFO_FILES=            yes
+
+TEST_TARGET=           check
+
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"                # test target
+.include "../../textproc/py-libxml2/buildlink3.mk"     # test target
+.include "../../print/pslib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ddfae605688a -r a6304d93c90c cad/libredwg/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libredwg/PLIST        Fri Apr 02 21:32:59 2021 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/02 21:32:59 plunky Exp $
+bin/dwg2SVG
+bin/dwg2dxf
+bin/dwg2ps
+bin/dwgadd
+bin/dwgbmp
+bin/dwgfilter
+bin/dwggrep
+bin/dwglayers
+bin/dwgread
+bin/dwgrewrite
+bin/dwgwrite
+bin/dxf2dwg
+bin/dxfwrite
+include/dwg.h
+include/dwg_api.h
+info/LibreDWG.info
+lib/libredwg.la
+lib/pkgconfig/libredwg.pc
+man/man1/dwg2SVG.1
+man/man1/dwg2dxf.1
+man/man1/dwg2ps.1
+man/man1/dwgadd.1
+man/man1/dwgbmp.1
+man/man1/dwgfilter.1
+man/man1/dwggrep.1
+man/man1/dwglayers.1
+man/man1/dwgread.1
+man/man1/dwgrewrite.1
+man/man1/dwgwrite.1
+man/man1/dxf2dwg.1
+man/man1/dxfwrite.1
+man/man5/dwgadd.5
+share/dwgadd.example
+share/load_dwg.py
diff -r ddfae605688a -r a6304d93c90c cad/libredwg/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libredwg/buildlink3.mk        Fri Apr 02 21:32:59 2021 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/02 21:32:59 plunky Exp $
+#
+
+BUILDLINK_TREE+=       libredwg
+
+.if !defined(LIBREDWG_BUILDLINK3_MK)
+LIBREDWG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libredwg+=       libredwg>=0.12
+BUILDLINK_PKGSRCDIR.libredwg?=         ../../cad/libredwg
+
+.endif # LIBREDWG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libredwg
diff -r ddfae605688a -r a6304d93c90c cad/libredwg/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/libredwg/distinfo     Fri Apr 02 21:32:59 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/02 21:32:59 plunky Exp $
+
+SHA1 (libredwg-0.12.tar.xz) = b60eef97df15c5cb5c128fe734437d237f931af5
+RMD160 (libredwg-0.12.tar.xz) = ade68bf7076d9a3ce7be3369d7ab48b401dcb68e
+SHA512 (libredwg-0.12.tar.xz) = 3994c2031b0c96f852e5eea3e422e4156b35581e7144755ed1a84d226033684f7eea344732ac08d8aab6f1197f6f39278188ea08db9ebec7a52ddb09855b527c
+Size (libredwg-0.12.tar.xz) = 9518568 bytes



Home | Main Index | Thread Index | Old Index