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