freebsd-ports/graphics/jasper/Makefile
Akinori MUSHA d495562517 The only master site is down. Add some ImageMagick sites that mirror
the jasper distfile. (Time for MASTER_SITE_IMAGEMAGICK?)
2002-09-22 10:36:11 +00:00

36 lines
907 B
Makefile

# New ports collection makefile for: jasper
# Date created: 6 November 1994
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jasper
PORTVERSION= 1.500.4
CATEGORIES= graphics
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \
${MASTER_SITE_IMAGEMAGICK}
MASTER_SITE_SUBDIR= ImageMagick/delegates
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
MASTER_SITE_IMAGEMAGICK= ftp://ftp.imagemagick.org/pub/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/&,}
USE_ZIP= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
CONFIGURE_ARGS= --enable-shared --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>