| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/jbig2dec/ |
Upload File : |
PORTNAME= jbig2dec
PORTVERSION= 0.19
CATEGORIES= graphics devel
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9531/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Decoder implementation of the JBIG2 image compression format
WWW= https://github.com/ArtifexSoftware/jbig2dec
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe libtool
CONFIGURE_ENV= ac_cv_func_getopt_long=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPE_VENDOR= artifex
OPTIONS_DEFINE= PNG
OPTIONS_DEFAULT=PNG
PNG_CONFIGURE_WITH= libpng=${LOCALBASE}
PNG_LIB_DEPENDS= libpng.so:graphics/png
post-patch:
@${RM} ${WRKSRC}/getopt* ${WRKSRC}/sha1.h
@${REINPLACE_CMD} -E 's|SHA1_Final\( *([^,]+), *([^\)]+)\)|SHA1_Final(\2, \1)|' ${WRKSRC}/jbig2dec.c ${WRKSRC}/sha1.c
.include <bsd.port.mk>