diff --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile index 9be773c3745b..993e45efa03e 100644 --- a/cad/libredwg/Makefile +++ b/cad/libredwg/Makefile @@ -1,65 +1,67 @@ # Created by: Alexey Dokuchaev PORTNAME= libredwg -PORTVERSION= 0.12.3 +PORTVERSION= 0.12.4 CATEGORIES= cad devel MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= Library and command line tools to handle DWG files LICENSE= GPLv3+ USES= libtool tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-trace --with-perl-install=no USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check INFO= LibreDWG PORTDOCS= AUTHORS ChangeLog NEWS README TODO PORTEXAMPLES= dwgadd.example OPTIONS_DEFINE= DOCS EXAMPLES PCRE PSLIB PYTHON OPTIONS_DEFAULT= PCRE PSLIB OPTIONS_SUB= yes PCRE_DESC= Regular expressions support in dwggrep PSLIB_DESC= PostScript export support (dwg2ps) PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE_USES= localbase PCRE_CONFIGURE_ENV_OFF= ac_cv_lib_pcre2_8_pcre2_config_8=no PSLIB_LIB_DEPENDS= libps.so:print/pslib PSLIB_USES= localbase PSLIB_CONFIGURE_ENV_OFF= ac_cv_lib_ps_PS_open_file=no PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= gettext-runtime python:3.6+ shebangfix PYTHON_CONFIGURE_OFF= --disable-python PYTHON_PORTEXAMPLES= load_dwg.py PYTHON_VARS= SHEBANG_FILES+=examples/load_dwg.py 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 '/#include "com/ { x; s/^/#include /; \ G; }; 24d' ${WRKSRC}/src/common.c +# Get rid of bashisms + @${REINPLACE_CMD} -e '/GPERF_VER/s,:2:1,##*.,' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-PYTHON-on: ${CHMOD} +x ${STAGEDIR}${PREFIX}/share/load_dwg.py post-install-PYTHON-off: ${RM} ${STAGEDIR}${PREFIX}/share/load_dwg.py post-stage: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MV} ${PORTEXAMPLES:S|^|${STAGEDIR}${PREFIX}/share/|} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo index fdab8e44c2aa..44da2419f3af 100644 --- a/cad/libredwg/distinfo +++ b/cad/libredwg/distinfo @@ -1,3 +1,2 @@ -TIMESTAMP = 1614330629 -SHA256 (libredwg-0.12.3.tar.xz) = b31a33466ba23312119138d0ac022399841ee0f40d9bbd970410a2fc471e15ee -SIZE (libredwg-0.12.3.tar.xz) = 9528116 +SHA256 (libredwg-0.12.4.tar.xz) = 918857f119c34d9bef17321b646c4ba0fbfaa93dcaced403bae1933e1d9a6517 +SIZE (libredwg-0.12.4.tar.xz) = 9535732