freebsd-ports/graphics/jasper/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

2013-01-26 17:34:39 +01:00
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= jasper
PORTVERSION= 1.900.1
2014-04-24 19:35:44 +02:00
PORTREVISION= 14
CATEGORIES= graphics
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \
${MASTER_SITE_IMAGEMAGICK}
MASTER_SITE_SUBDIR= ImageMagick/delegates
2009-07-05 11:50:02 +02:00
MAINTAINER= dinoex@FreeBSD.org
2014-04-24 19:35:44 +02:00
COMMENT= Implementation of the codec specified in the JPEG-2000 standard
2013-12-11 22:54:33 +01:00
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
2010-06-04 16:14:47 +02:00
LICENSE= MIT
2014-04-24 19:35:44 +02:00
USES= libtool:keepla zip
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-shared --enable-static
USE_LDCONFIG= yes
MASTER_SITE_IMAGEMAGICK= \
ftp://ftp.imagemagick.org/pub/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/&,}
OPTIONS_DEFINE= OPENGL UUID DOCS
2012-06-15 18:46:55 +02:00
UUID_DESC= UUID support (required by GDAL)
2012-06-15 18:46:55 +02:00
.include <bsd.port.options.mk>
2012-06-15 18:46:55 +02:00
.if ${PORT_OPTIONS:MOPENGL}
USE_XORG= x11 xmu xi xext
USE_GL= glut
CONFIGURE_ARGS+=--enable-opengl
PLIST_SUB+= OPENGL=""
.else
CONFIGURE_ARGS+=--disable-opengl
PLIST_SUB+= OPENGL="@comment "
.endif
2012-06-15 18:46:55 +02:00
.if ${PORT_OPTIONS:MUUID}
EXTRA_PATCHES+= ${FILESDIR}/uuid.patch
.endif
.if ${PORT_OPTIONS:MDOCS}
2013-11-22 20:39:26 +01:00
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
.endif
2012-06-15 18:46:55 +02:00
.include <bsd.port.mk>