diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jpegoptim/Makefile | 13 | ||||
-rw-r--r-- | graphics/jpegoptim/distinfo | 6 |
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 |