aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpegoptim/Makefile
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/Makefile
parentd2dffa11eeb9867c8d6c9c330d9757b243d5cd5a (diff)
- Update to 1.2.3
PR: 139290 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=242435
Diffstat (limited to 'graphics/jpegoptim/Makefile')
-rw-r--r--graphics/jpegoptim/Makefile13
1 files changed, 9 insertions, 4 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>