diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-07-11 01:32:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-07-11 01:32:02 +0000 |
commit | 91376a7adbfe0d1508d56b0fc3f33f5aca8f9b46 (patch) | |
tree | 3dc29851418950e4169608cc79e72fd8d0554461 /cad | |
parent | 2e8c6893e2b9b97f3259bb89c4a44789c34d8eab (diff) | |
download | ports-91376a7adbfe0d1508d56b0fc3f33f5aca8f9b46.tar.gz ports-91376a7adbfe0d1508d56b0fc3f33f5aca8f9b46.zip |
- Update LibreDWG to version 0.8
- Hook the tests to our framework (tests pass on x86,
but fail on powerpc/sparc64 unfortunately)
- Add the PYTHON option, disabled by default
Tested on: i386, amd64, powerpc, sparc64
Notes
Notes:
svn path=/head/; revision=506394
Diffstat (limited to 'cad')
-rw-r--r-- | cad/libredwg/Makefile | 13 | ||||
-rw-r--r-- | cad/libredwg/distinfo | 6 |
2 files changed, 14 insertions, 5 deletions
diff --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile index c774269cf18a..f09115821c04 100644 --- a/cad/libredwg/Makefile +++ b/cad/libredwg/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libredwg -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= cad devel MASTER_SITES= GNU @@ -14,11 +14,12 @@ LICENSE= GPLv3+ USES= libtool tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes +TEST_TARGET= check INFO= LibreDWG PORTDOCS= AUTHORS ChangeLog NEWS README TODO -OPTIONS_DEFINE= DOCS PSLIB +OPTIONS_DEFINE= DOCS PSLIB PYTHON OPTIONS_DEFAULT= PSLIB PSLIB_DESC= PostScript export support (dwg2ps) @@ -28,6 +29,14 @@ PSLIB_LIB_DEPENDS= libps.so:print/pslib PSLIB_USES= localbase PSLIB_PLIST_FILES= bin/dwg2ps +PYTHON_CONFIGURE_OFF= --disable-python + +post-patch: +# XXX: switch the order of #include's to unbreak on powerpc/sparc64 +# which are still based on gcc-4.2.1 (should be no-op elsewhere) + @${REINPLACE_CMD} -e '/bits\.h/ { x; s/^/#include "suffix.inc"/; \ + G; } ; 32d' ${WRKSRC}/programs/dwgwrite.c + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo index ae2c01a6ecb7..bd8da124bb11 100644 --- a/cad/libredwg/distinfo +++ b/cad/libredwg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1544052766 -SHA256 (libredwg-0.7.tar.xz) = cbef6b9d48877ca26a54115b9ef9a7fd02d0279a94e79d2247f80277820b888d -SIZE (libredwg-0.7.tar.xz) = 3830064 +TIMESTAMP = 1561454497 +SHA256 (libredwg-0.8.tar.xz) = 0487c84e962a4dbcfcf3cbe961294b74c1bebd89a128b4929a1353bc7f58af26 +SIZE (libredwg-0.8.tar.xz) = 4295148 |