Lines 1-7
Link Here
|
1 |
PORTNAME= jbig2dec |
1 |
PORTNAME= jbig2dec |
2 |
PORTVERSION= 0.19 |
2 |
DISTVERSION= 0.20 |
3 |
CATEGORIES= graphics devel |
3 |
CATEGORIES= graphics devel |
4 |
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ |
4 |
MASTER_SITES= https://github.com/ArtifexSoftware/${PORTNAME}/releases/download/${DISTVERSION}/ |
5 |
|
5 |
|
6 |
MAINTAINER= sunpoet@FreeBSD.org |
6 |
MAINTAINER= sunpoet@FreeBSD.org |
7 |
COMMENT= Decoder implementation of the JBIG2 image compression format |
7 |
COMMENT= Decoder implementation of the JBIG2 image compression format |
Lines 10-30
WWW= https://github.com/ArtifexSoftware/jbig2dec
Link Here
|
10 |
LICENSE= GPLv3 |
10 |
LICENSE= GPLv3 |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
12 |
|
13 |
USES= cpe libtool pathfix |
13 |
USES= cpe libtool localbase:ldflags pathfix python:env,test \ |
|
|
14 |
shebangfix |
15 |
CPE_VENDOR= cpe |
16 |
SHEBANG_FILES= *.py |
17 |
USE_LDCONFIG= yes |
14 |
|
18 |
|
15 |
CONFIGURE_ENV= ac_cv_func_getopt_long=yes |
|
|
16 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
17 |
INSTALL_TARGET= install-strip |
20 |
INSTALL_TARGET= install-strip |
18 |
LDFLAGS+= -lmd |
21 |
LDFLAGS+= -lmd |
19 |
USE_LDCONFIG= yes |
22 |
TEST_TARGET= check |
|
|
23 |
|
24 |
CONFIGURE_ENV= ac_cv_func_getopt_long=yes |
20 |
|
25 |
|
21 |
CPE_VENDOR= artifex |
|
|
22 |
|
26 |
|
23 |
OPTIONS_DEFINE= PNG |
27 |
OPTIONS_DEFINE= PNG |
24 |
OPTIONS_DEFAULT=PNG |
28 |
OPTIONS_DEFAULT=PNG |
25 |
|
29 |
|
26 |
PNG_CONFIGURE_WITH= libpng=${LOCALBASE} |
30 |
PNG_LIB_DEPENDS libpng.so:graphics/png |
27 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
31 |
PNG_CONFIGURE_WITH= libpng |
28 |
|
32 |
|
29 |
post-patch: |
33 |
post-patch: |
30 |
@${RM} ${WRKSRC}/getopt* ${WRKSRC}/sha1.h |
34 |
@${RM} ${WRKSRC}/getopt* ${WRKSRC}/sha1.h |