mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
9e2b45ceb0
(7/i386/UP and 7/amd64/SMP) - Note that parallel builds still require much testing (and research)
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# New ports collection makefile for: jasper
|
|
# Date created: 6 November 1994
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jasper
|
|
PORTVERSION= 1.900.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \
|
|
${MASTER_SITE_IMAGEMAGICK}
|
|
MASTER_SITE_SUBDIR= ImageMagick/delegates
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An implementation of the codec specified in the JPEG-2000 standard
|
|
|
|
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_ZIP= yes
|
|
USE_GNOME= gnometarget lthack
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= 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= OPENGL "OpenGL support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_OPENGL)
|
|
USE_GL= glut
|
|
CONFIGURE_ARGS+=--enable-opengl
|
|
PLIST_SUB+= OPENGL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-opengl
|
|
PLIST_SUB+= OPENGL="@comment "
|
|
.endif
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN1= imgcmp.1 imginfo.1 jasper.1 jiv.1
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
@cd ${WRKSRC}/src/appl && make install-man
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|