freebsd-ports/graphics/p5-Tk-JPEG-Lite/Makefile

34 lines
792 B
Makefile
Raw Normal View History

# 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= 4
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
2010-01-16 19:02:18 +01:00
MAINTAINER= perl@FreeBSD.org
COMMENT= Very simplistic image viewer that loads JPEG images
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
2010-02-05 12:46:55 +01:00
LIB_DEPENDS= jpeg.11:${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>