aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpegoptim
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-10-04 10:08:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-10-04 10:08:23 +0000
commit8b9f168c539bff148427d93c7d9cb87e24be0948 (patch)
treea47700fa43dcab7256a4b25fe926354430ade5a7 /graphics/jpegoptim
parentd2dffa11eeb9867c8d6c9c330d9757b243d5cd5a (diff)
downloadports-8b9f168c539bff148427d93c7d9cb87e24be0948.tar.gz
ports-8b9f168c539bff148427d93c7d9cb87e24be0948.zip
Notes
Diffstat (limited to 'graphics/jpegoptim')
-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