1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/repng2jpeg/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

31 lines
654 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= repng2jpeg
PORTVERSION= 1.0.5
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>