2001-04-17 06:07:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2001/04/17 10:07:12 reinhard Exp $
|
2001-03-24 07:51:47 -05:00
|
|
|
|
|
|
|
COMMENT= 'module for generating images'
|
2001-03-08 06:11:19 -05:00
|
|
|
|
|
|
|
DISTNAME= Imager-0.37
|
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= graphics perl5
|
2001-04-17 06:07:12 -04:00
|
|
|
NEED_VERSION= 1.397
|
2001-03-08 06:11:19 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.eecs.umich.edu/~addi/perl/Imager/
|
|
|
|
|
2001-03-24 07:51:47 -05:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@home.com>
|
2001-03-08 06:11:19 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-04-17 06:07:12 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
|
|
|
http://www.eecs.umich.edu/~addi/perl/Imager/
|
|
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADDI/
|
|
|
|
|
2001-03-08 06:11:19 -05:00
|
|
|
FLAVORS= libs
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "libs"
|
2001-04-17 06:07:12 -04:00
|
|
|
LIB_DEPENDS= t1.::devel/t1lib \
|
|
|
|
ttf.::print/freetype \
|
|
|
|
png.::graphics/png \
|
|
|
|
gif.::graphics/giflib \
|
|
|
|
jpeg.::graphics/jpeg \
|
|
|
|
tiff.::graphics/tiff
|
|
|
|
CONFIGURE_ENV= IM_LIBPATH="/usr/local/lib:/usr/X11R6/lib" \
|
|
|
|
IM_INCPATH="/usr/local/include:/usr/X11R6/include"
|
|
|
|
PATCH_LIST=
|
|
|
|
USE_X11= Yes
|
|
|
|
.else
|
|
|
|
# Don't use the libs although they might be installed.
|
|
|
|
PATCH_LIST= patch-no_libs
|
2001-03-08 06:11:19 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|