freebsd-ports/graphics/jpegoptim/Makefile
2013-05-08 12:24:26 +00:00

32 lines
736 B
Makefile

# Created by: Devaux Fabien <fab@gcu.info>
# $FreeBSD$
PORTNAME= jpegoptim
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
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
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>