2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2010/11/17 08:05:15 espie Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-03-24 07:51:47 -05:00
|
|
|
|
2007-07-31 11:40:56 -04:00
|
|
|
COMMENT= generate and manipulate images
|
2001-03-08 06:11:19 -05:00
|
|
|
|
2007-11-20 14:18:00 -05:00
|
|
|
DISTNAME= Imager-0.61
|
2010-09-24 11:29:20 -04:00
|
|
|
REVISION= 2
|
2007-07-31 11:40:56 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MODULES= cpan
|
2001-03-08 06:11:19 -05:00
|
|
|
|
2007-05-16 05:57:25 -04:00
|
|
|
HOMEPAGE= http://imager.perl.org/
|
2001-03-08 06:11:19 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
2001-03-08 06:11:19 -05:00
|
|
|
|
2007-11-20 14:18:00 -05:00
|
|
|
# Perl
|
2001-03-08 06:11:19 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= m
|
2001-03-08 06:11:19 -05:00
|
|
|
|
|
|
|
FLAVORS= libs
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "libs"
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= devel/t1lib \
|
|
|
|
graphics/png \
|
|
|
|
graphics/jpeg \
|
|
|
|
:graphics/tiff
|
|
|
|
WANTLIB += t1>=3 png>=2 jpeg>=62 tiff>=35
|
2007-07-31 11:40:56 -04:00
|
|
|
CONFIGURE_ARGS= --enable jpeg,tiff,png,ungif,T1-fonts,freetype2 \
|
|
|
|
--incpath="${LOCALBASE}/include:${X11BASE}/include" \
|
|
|
|
--libpath="${LOCALBASE}/lib:${X11BASE}/lib"
|
2001-04-17 06:07:12 -04:00
|
|
|
.else
|
|
|
|
# Don't use the libs although they might be installed.
|
2007-07-31 11:40:56 -04:00
|
|
|
CONFIGURE_ARGS= --disable jpeg,tiff,png,gif,ungif,T1-fonts,TT-fonts,freetype2,w32
|
2001-03-08 06:11:19 -05:00
|
|
|
.endif
|
|
|
|
|
2001-05-21 20:31:54 -04:00
|
|
|
USE_GMAKE= Yes
|
2010-10-18 14:13:12 -04:00
|
|
|
USE_GROFF = Yes
|
2001-05-21 20:31:54 -04:00
|
|
|
|
2001-03-08 06:11:19 -05:00
|
|
|
.include <bsd.port.mk>
|