freebsd-ports/graphics/pngrewrite/Makefile
Sunpoet Po-Chuan Hsieh 0c99d2a276 - Add LICENSE
- Cosmetic change
- Update pkg-descr
- Remove Author line
- Take maintainership
2014-08-02 17:37:49 +00:00

32 lines
720 B
Makefile

# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
PORTNAME= pngrewrite
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://entropymine.com/jason/pngrewrite/ \
http://mirror.roe.ch/dist/pngrewrite/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PNG palette optimizer
LICENSE= ZLIB
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lm -lpng -lz
USES= zip
NO_WRKSUBDIR= yes
PLIST_FILES= bin/pngrewrite
do-build:
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>