summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2018-11-07 16:37:14 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2018-11-07 16:37:14 +0000
commit79afd476666fe1cafced908abab3f15120967c76 (patch)
tree2d481eb0b35c7111a6dddaeff90070c586a9776f
parentnet-mgmt/icingaweb2-module-map: Update to 1.1.0 (diff)
- Update `cad/libredwg' to version 0.6.2 which brings numerous important
fixes, including several out_dxf segfaults - Build with PostScript export support (dwg2ps) by default (due to lack of --disable-pslib configure switch, leave a note that while currently pre-installed `print/pslib' port would not be silently picked up, this might change in the future and explain how to handle this situation)
-rw-r--r--cad/libredwg/Makefile12
-rw-r--r--cad/libredwg/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile
index 9332525e5c1b..c464cfbb4e22 100644
--- a/cad/libredwg/Makefile
+++ b/cad/libredwg/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libredwg
-PORTVERSION= 0.6
+PORTVERSION= 0.6.2
CATEGORIES= cad devel
MASTER_SITES= GNU
@@ -18,7 +18,15 @@ USE_LDCONFIG= yes
INFO= LibreDWG
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS PSLIB
+OPTIONS_DEFAULT= PSLIB
+PSLIB_DESC= PostScript export support (dwg2ps)
+
+PSLIB_LIB_DEPENDS= libps.so:print/pslib
+# XXX: shall `localbase' be put on global USES, it would require explicit
+# PSLIB_CONFIGURE_ENV_OFF= ac_cv_lib_ps_PS_open_file=no
+PSLIB_USES= localbase
+PSLIB_PLIST_FILES= bin/dwg2ps
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo
index 12025b73ebcc..82e02a016fb3 100644
--- a/cad/libredwg/distinfo
+++ b/cad/libredwg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534153306
-SHA256 (libredwg-0.6.tar.xz) = 6d525ca849496852f62ad6a11b7b801d0aafd1fa1366c45bdb0f11a90bd6f878
-SIZE (libredwg-0.6.tar.xz) = 3608836
+TIMESTAMP = 1541585461
+SHA256 (libredwg-0.6.2.tar.xz) = b17a5bc2a4f7cc13aa2c26c890cba9954ca768643884c8740c1a6b045c07591f
+SIZE (libredwg-0.6.2.tar.xz) = 3818848