Lines 1-38
Link Here
|
1 |
# Created by: Maxim Sobolev <sobomax@FreeBSD.org> |
1 |
# Created by: Maxim Sobolev <sobomax@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= jasper |
3 |
PORTNAME= jasper |
4 |
PORTVERSION= 2.0.33 |
4 |
DISTVERSION= 3.0.2 |
5 |
CATEGORIES= graphics |
5 |
CATEGORIES= graphics |
6 |
MASTER_SITES= https://github.com/jasper-software/jasper/releases/download/version-${PORTVERSION}/ |
6 |
MASTER_SITES= https://github.com/jasper-software/jasper/releases/download/version-${DISTVERSION}/ |
7 |
|
7 |
|
8 |
MAINTAINER= sunpoet@FreeBSD.org |
8 |
MAINTAINER= sunpoet@FreeBSD.org |
9 |
COMMENT= Implementation of the codec specified in the JPEG-2000 standard |
9 |
COMMENT= Implementation of the codec specified in the JPEG-2000 standard |
10 |
|
10 |
|
11 |
LICENSE= JASPER |
11 |
LICENSE= JASPER |
12 |
LICENSE_NAME= JasPer License Version 2.0 |
12 |
LICENSE_NAME= JasPer License Version 2.0 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
14 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
15 |
|
15 |
|
16 |
USES= cmake cpe jpeg localbase |
16 |
LIB_DEPENDS= libheif.so:graphics/libheif |
17 |
|
17 |
|
18 |
CMAKE_OFF= JAS_ENABLE_AUTOMATIC_DEPENDENCIES JAS_ENABLE_DOC |
18 |
USES= cmake cpe jpeg localbase |
19 |
CMAKE_ON= JAS_ENABLE_LIBJPEG |
19 |
CPE_VENDOR= jasper_project |
20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
21 |
|
21 |
|
22 |
DOCSDIR= ${PREFIX}/share/doc/JasPer |
22 |
DOCSDIR= ${PREFIX}/share/doc/JasPer |
23 |
|
23 |
PORTDOCS= * |
24 |
CPE_VENDOR= jasper_project |
24 |
TEST_TARGET= test |
25 |
|
25 |
SHEBANG_FILES= test/bin/jpcod \ |
26 |
OPTIONS_DEFINE= OPENGL DOCS |
26 |
test/bin/jpdec \ |
|
|
27 |
test/bin/jpenc \ |
28 |
test/bin/utilities \ |
29 |
test/bin/wrapper.in |
30 |
|
31 |
CMAKE_OFF= JAS_ENABLE_LATEX |
32 |
CMAKE_ON= BUILD_SHARED_LIBS |
33 |
|
34 |
OPTIONS_DEFINE= DOCS OPENGL TEST |
27 |
OPTIONS_DEFAULT=OPENGL |
35 |
OPTIONS_DEFAULT=OPENGL |
28 |
OPTIONS_SUB= yes |
36 |
OPTIONS_SUB= yes |
29 |
|
37 |
|
30 |
OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL |
38 |
DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen |
31 |
OPENGL_USE= GL=gl,glu,glut XORG=x11,xext,xi,xmu |
39 |
DOCS_USE= TEX=latex |
|
|
40 |
DOCS_CMAKE_BOOL= JAS_ENABLE_DOC |
41 |
|
32 |
OPENGL_USES= gl xorg |
42 |
OPENGL_USES= gl xorg |
|
|
43 |
OPENGL_USE= GL=gl,glu,glut XORG=x11,xext,xi,xmu |
44 |
OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL |
33 |
|
45 |
|
34 |
post-install-DOCS-on: |
46 |
TEST_BUILD_DEPENDS= bash>0:shells/bash |
35 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
47 |
TEST_USES= shebangfix |
36 |
${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR} |
|
|
37 |
|
48 |
|
38 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |