aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Tk-JPEG-Lite
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-09-06 01:35:09 +0800
committerleeym <leeym@FreeBSD.org>2005-09-06 01:35:09 +0800
commit353dca8dd85132322e8c507b0856516c53ae518e (patch)
tree9bf063683caae8bb0f16a26bbd30579f10ee1939 /graphics/p5-Tk-JPEG-Lite
parent7f6e3e3c242da9f6834c729706affa33fef7a300 (diff)
downloadfreebsd-ports-gnome-353dca8dd85132322e8c507b0856516c53ae518e.tar.gz
freebsd-ports-gnome-353dca8dd85132322e8c507b0856516c53ae518e.tar.zst
freebsd-ports-gnome-353dca8dd85132322e8c507b0856516c53ae518e.zip
- rename tkjpeg to tkjpeg-lite and unbreak this port
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