freebsd-ports/graphics/jpegoptim/Makefile

33 lines
764 B
Makefile
Raw Normal View History

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