2013-03-06 14:03:24 +00:00
|
|
|
# Created by: Devaux Fabien <fab@gcu.info>
|
2003-10-03 12:06:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jpegoptim
|
2018-04-19 15:09:59 +00:00
|
|
|
PORTVERSION= 1.4.6
|
2003-10-03 12:06:30 +00:00
|
|
|
CATEGORIES= graphics
|
2011-08-07 12:06:15 +00:00
|
|
|
MASTER_SITES= http://www.kokkonen.net/tjko/src/ \
|
2015-01-06 09:38:13 +00:00
|
|
|
LOCAL/ehaupt
|
2003-10-03 12:06:30 +00:00
|
|
|
|
2011-08-07 12:06:15 +00:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-05-23 08:12:53 +00:00
|
|
|
COMMENT= Utility to optimize jpeg files
|
2003-10-03 12:06:30 +00:00
|
|
|
|
2011-07-02 16:09:30 +00:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2015-06-22 18:33:20 +00:00
|
|
|
USES= jpeg
|
2003-10-03 12:06:30 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2009-10-04 10:08:23 +00:00
|
|
|
CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE}
|
2003-10-03 12:06:30 +00:00
|
|
|
|
2013-10-28 12:18:37 +00:00
|
|
|
PLIST_FILES= bin/jpegoptim man/man1/jpegoptim.1.gz
|
|
|
|
|
|
|
|
MAKE_ENV+= INSTALL_ROOT=${STAGEDIR}
|
2003-10-03 12:06:30 +00:00
|
|
|
|
2009-10-04 10:08:23 +00:00
|
|
|
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
|
|
|
|
|
2003-10-03 12:06:30 +00:00
|
|
|
.include <bsd.port.mk>
|