blob: 951b22c6347d03d2fe8c17ec94a76025754e4db8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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
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= yes
USE_REINPLACE= yes
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.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= needs Perl 5.8.0 or greater, please upgrade your Perl
.endif
.include <bsd.port.post.mk>
|