5aa7246575
developed in years and has been dropped from the MESA 8.0 distribution. Freeglut is a rewrite of glut and is actively developed and is used by many linux distributions instead of libglut. Bump all ports that directly depend on libglut because of the shlib version change. There are some extra items in this patch. *) Because freeglut doesn't have the same dependancies as libglut, some ports need extra dependencies added to USE_XORG to make them build. *) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped with libglut. *) Remove option for libglut/freeglut selection in games/cake, only freeglut remains now. *) While here fix a png related build issue games/vegastrike. Thanks to miwi for running the exp-run. Approved by: portmgr (miwi) Collaboration with: zeising@ Obtained from: xorg-dev staging area.
70 lines
1.5 KiB
Makefile
70 lines
1.5 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= 10
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \
|
|
${MASTER_SITE_IMAGEMAGICK}
|
|
MASTER_SITE_SUBDIR= ImageMagick/delegates
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= An implementation of the codec specified in the JPEG-2000 standard
|
|
|
|
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_ZIP= yes
|
|
USE_GNOME= lthack
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= 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
|
|
UUID_DESC= UUID support (required by GDAL)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.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
|
|
|
|
.if ${PORT_OPTIONS:MUUID}
|
|
EXTRA_PATCHES+= ${FILESDIR}/uuid.patch
|
|
.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.mk>
|