openbsd-ports/graphics/p5-Imager/Makefile
pvalchev 8993116f81 - fix homepages; from mjc@bitz.ca
- add license markers
2004-02-21 00:14:56 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2004/02/21 00:14:56 pvalchev Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "module for generating and manipulating images"
DISTNAME= Imager-0.39
PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5
HOMEPAGE= http://search.cpan.org/dist/Imager/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/A/AD/ADDI/} \
http://www.eecs.umich.edu/~addi/perl/Imager/
FLAVORS= libs
FLAVOR?=
.if ${FLAVOR:L} == "libs"
LIB_DEPENDS= t1.3::devel/t1lib \
png.2::graphics/png \
jpeg.62::graphics/jpeg \
tiff.35::graphics/tiff
CONFIGURE_ENV= IM_LIBPATH="${LOCALBASE}/lib:${X11BASE}/lib" \
IM_INCPATH="${LOCALBASE}/include:${X11BASE}/include"
PATCH_LIST= patch-libs
USE_X11= Yes
.else
# Don't use the libs although they might be installed.
PATCH_LIST= patch-no_libs
.endif
USE_GMAKE= Yes
CONFIGURE_STYLE= perl
.include <bsd.port.mk>