diff options
Diffstat (limited to 'cad/libredwg')
-rw-r--r-- | cad/libredwg/DESCR | 8 | ||||
-rw-r--r-- | cad/libredwg/Makefile | 30 | ||||
-rw-r--r-- | cad/libredwg/PLIST | 35 | ||||
-rw-r--r-- | cad/libredwg/buildlink3.mk | 14 | ||||
-rw-r--r-- | cad/libredwg/distinfo | 6 |
5 files changed, 93 insertions, 0 deletions
diff --git a/cad/libredwg/DESCR b/cad/libredwg/DESCR new file mode 100644 index 00000000000..e964a75d6c5 --- /dev/null +++ b/cad/libredwg/DESCR @@ -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 --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile new file mode 100644 index 00000000000..88b87bfc73b --- /dev/null +++ b/cad/libredwg/Makefile @@ -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 +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 --git a/cad/libredwg/PLIST b/cad/libredwg/PLIST new file mode 100644 index 00000000000..09a80b5d1a2 --- /dev/null +++ b/cad/libredwg/PLIST @@ -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 --git a/cad/libredwg/buildlink3.mk b/cad/libredwg/buildlink3.mk new file mode 100644 index 00000000000..d890c809a87 --- /dev/null +++ b/cad/libredwg/buildlink3.mk @@ -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 --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo new file mode 100644 index 00000000000..3d94213334f --- /dev/null +++ b/cad/libredwg/distinfo @@ -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 |