aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-04 18:08:23 +0800
committermiwi <miwi@FreeBSD.org>2009-10-04 18:08:23 +0800
commit96afd5b10aad3af8881d1e6810f4ca1371e1e622 (patch)
tree3baed32848e3d4be75015757cc067e71c1bcf5ba
parent2413ab1c75d1f743c5dc76fd12a8ab5d3a812ee4 (diff)
downloadfreebsd-ports-gnome-96afd5b10aad3af8881d1e6810f4ca1371e1e622.tar.gz
freebsd-ports-gnome-96afd5b10aad3af8881d1e6810f4ca1371e1e622.tar.zst
freebsd-ports-gnome-96afd5b10aad3af8881d1e6810f4ca1371e1e622.zip
- Update to 1.2.3
PR: 139290 Submitted by: Ports Fury
-rw-r--r--graphics/jpegoptim/Makefile13
-rw-r--r--graphics/jpegoptim/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
index 9b6dc40cbd81..36147c2ad44f 100644
--- a/graphics/jpegoptim/Makefile
+++ b/graphics/jpegoptim/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= jpegoptim
-PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTVERSION= 1.2.3
CATEGORIES= graphics
MASTER_SITES= http://www.kokkonen.net/tjko/src/
@@ -17,10 +16,16 @@ COMMENT= Utility to optimize jpeg files
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-libjpeg=${LOCALBASE}
-MAKE_ARGS= mandir=${MANPREFIX}/man
+CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE}
MAN1= jpegoptim.1
PLIST_FILES= bin/jpegoptim
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^bindir =.*$$|bindir = @bindir@|g ; \
+ s|^mandir =.*$$|mandir = @mandir@|g ; \
+ s|$$(INSTALL) -m 755|$$(INSTALL_PROGRAM)|g ; \
+ s|$$(INSTALL) -m 644|$$(INSTALL_DATA)|g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/graphics/jpegoptim/distinfo b/graphics/jpegoptim/distinfo
index 3eb20b8bac02..497d2690fb3e 100644
--- a/graphics/jpegoptim/distinfo
+++ b/graphics/jpegoptim/distinfo
@@ -1,3 +1,3 @@
-MD5 (jpegoptim-1.2.2.tar.gz) = c7e92417badac7dcffab4245c113871c
-SHA256 (jpegoptim-1.2.2.tar.gz) = 08293cf2105fb0caaae0a069cfa226ab1357eda4e02cb499ffee679189a5f9d2
-SIZE (jpegoptim-1.2.2.tar.gz) = 59293
+MD5 (jpegoptim-1.2.3.tar.gz) = 36afa60f8baac825935e215eb19e41e0
+SHA256 (jpegoptim-1.2.3.tar.gz) = 97cb369781e5f7db855f636636763c3069c4351685272295bf35f927aa08eecd
+SIZE (jpegoptim-1.2.3.tar.gz) = 60062