- Add LICENSE

- Cosmetic change
- Update pkg-descr
- Remove Author line
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-08-02 17:37:49 +00:00
parent 568714d358
commit 0c99d2a276
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363829
2 changed files with 12 additions and 9 deletions

View file

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

View file

@ -1,7 +1,6 @@
Pngrewrite is a utility that reduces unnecessarily large palettes Pngrewrite is command-line utility that reduces the unnecessarily large palettes
of PNG images. It also optimizes transparency settings, and reduces that some programs write into PNG files. It also optimizes transparency data,
the bits-per-pixel if possible. and reduces the bits-per-pixel if possible. Handy for post-processing PNG files
Handy for post-processing images before putting them on a web site. before putting them on a web site.
Author: Jason Summers <jason1@pobox.com>
WWW: http://entropymine.com/jason/pngrewrite/ WWW: http://entropymine.com/jason/pngrewrite/