freebsd-ports/graphics/jasper/Makefile
Po-Chuan Hsieh 10212df656
graphics/jasper: Use upstream release tarball
PR:		260878
Reported by:	diizzy
2022-01-24 03:09:47 +08:00

38 lines
1 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= jasper
PORTVERSION= 2.0.33
CATEGORIES= graphics
MASTER_SITES= https://github.com/jasper-software/jasper/releases/download/version-${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implementation of the codec specified in the JPEG-2000 standard
LICENSE= JASPER
LICENSE_NAME= JasPer License Version 2.0
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cmake cpe jpeg localbase
CMAKE_OFF= JAS_ENABLE_AUTOMATIC_DEPENDENCIES JAS_ENABLE_DOC
CMAKE_ON= JAS_ENABLE_LIBJPEG
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/JasPer
CPE_VENDOR= jasper_project
OPTIONS_DEFINE= OPENGL DOCS
OPTIONS_DEFAULT=OPENGL
OPTIONS_SUB= yes
OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL
OPENGL_USE= GL=gl,glu,glut XORG=x11,xext,xi,xmu
OPENGL_USES= gl xorg
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>