aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Tk-JPEG-Lite
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-09-05 17:35:09 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-09-05 17:35:09 +0000
commitbbce23614ab1848ad072d626eb28c667a2125cff (patch)
treec385469d65fdcd54758a5b3d577aa4c1c7914bbc /graphics/p5-Tk-JPEG-Lite
parentcc7354fd705f56390fdbb17cf89ee5a1fea3a5b5 (diff)
downloadports-bbce23614ab1848ad072d626eb28c667a2125cff.tar.gz
ports-bbce23614ab1848ad072d626eb28c667a2125cff.zip
Notes
Diffstat (limited to 'graphics/p5-Tk-JPEG-Lite')
-rw-r--r--graphics/p5-Tk-JPEG-Lite/Makefile18
-rw-r--r--graphics/p5-Tk-JPEG-Lite/pkg-plist2
2 files changed, 12 insertions, 8 deletions
diff --git a/graphics/p5-Tk-JPEG-Lite/Makefile b/graphics/p5-Tk-JPEG-Lite/Makefile
index 41197bbfb2bd..951b22c6347d 100644
--- a/graphics/p5-Tk-JPEG-Lite/Makefile
+++ b/graphics/p5-Tk-JPEG-Lite/Makefile
@@ -19,18 +19,22 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ${BUILD_DEPENDS}
-BROKEN= Removes files installed by another port
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
PERL_CONFIGURE= yes
USE_REINPLACE= yes
-MAN1= tkjpeg.1
+MAN1= tkjpeg-lite.1
MAN3= Tk::JPEG::Lite.3
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
- ${WRKSRC}/Makefile.PL
+ -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.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-Tk-JPEG-Lite/pkg-plist b/graphics/p5-Tk-JPEG-Lite/pkg-plist
index e13ba46c7d0a..f9f4eb518bc3 100644
--- a/graphics/p5-Tk-JPEG-Lite/pkg-plist
+++ b/graphics/p5-Tk-JPEG-Lite/pkg-plist
@@ -1,4 +1,4 @@
-bin/tkjpeg
+bin/tkjpeg-lite
%%SITE_PERL%%/%%PERL_ARCH%%/Tk/JPEG/Lite.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/JPEG/Lite/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tk/JPEG/Lite/Lite.bs