freebsd-ports/graphics/repng2jpeg/Makefile
Dirk Meyer 3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00

31 lines
670 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= repng2jpeg
PORTVERSION= 1.0.5
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://bsdforge.com/projects/source/graphics/repng2jpeg/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Small tool to recompress JPEG, PNG, and GIF images
LICENSE= GPLv1
LIB_DEPENDS= libgd.so:graphics/gd
USES= tar:xz
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgd
PLIST_FILES= bin/repng2jpeg
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/src/repng2jpeg \
${WRKSRC}/src/repng2jpeg.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/repng2jpeg ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>