freebsd-ports/graphics/p5-Tk-JPEG-Lite/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

34 lines
835 B
Makefile

# New ports collection makefile for: p5-Tk-JPEG-Lite
# Date created: 2004-07-23
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= Tk-JPEG-Lite
PORTVERSION= 2.01403
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Tk
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Very simplistic image viewer that loads JPEG images
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= 5.8.0+
MAN1= tkjpeg-lite.1
MAN3= Tk::JPEG::Lite.3
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
-e 's|tkjpeg|tkjpeg-lite|g' \
${WRKSRC}/Makefile.PL ${WRKSRC}/MANIFEST
@${MV} ${WRKSRC}/tkjpeg ${WRKSRC}/tkjpeg-lite
.include <bsd.port.mk>