Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2014 17:37:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363829 - head/graphics/pngrewrite
Message-ID:  <201408021737.s72HbnPh082499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug  2 17:37:49 2014
New Revision: 363829
URL: http://svnweb.freebsd.org/changeset/ports/363829
QAT: https://qat.redports.org/buildarchive/r363829/

Log:
  - Add LICENSE
  - Cosmetic change
  - Update pkg-descr
  - Remove Author line
  - Take maintainership

Modified:
  head/graphics/pngrewrite/Makefile
  head/graphics/pngrewrite/pkg-descr

Modified: head/graphics/pngrewrite/Makefile
==============================================================================
--- head/graphics/pngrewrite/Makefile	Sat Aug  2 17:35:30 2014	(r363828)
+++ head/graphics/pngrewrite/Makefile	Sat Aug  2 17:37:49 2014	(r363829)
@@ -8,21 +8,25 @@ CATEGORIES=	graphics
 MASTER_SITES=	http://entropymine.com/jason/pngrewrite/ \
 		http://mirror.roe.ch/dist/pngrewrite/
 
-MAINTAINER=	ports@FreeBSD.org
+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} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-		-o ${WRKSRC}/pngrewrite ${WRKSRC}/pngrewrite.c ${WRKSRC}/libpngrewrite.c -lpng -lz -lm
+	${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/graphics/pngrewrite/pkg-descr
==============================================================================
--- head/graphics/pngrewrite/pkg-descr	Sat Aug  2 17:35:30 2014	(r363828)
+++ head/graphics/pngrewrite/pkg-descr	Sat Aug  2 17:37:49 2014	(r363829)
@@ -1,7 +1,6 @@
-Pngrewrite is a utility that reduces unnecessarily large palettes
-of PNG images. It also optimizes transparency settings, and reduces
-the bits-per-pixel if possible.
-Handy for post-processing images before putting them on a web site.
+Pngrewrite is command-line utility that reduces the unnecessarily large palettes
+that some programs write into PNG files. It also optimizes transparency data,
+and reduces the bits-per-pixel if possible. Handy for post-processing PNG files
+before putting them on a web site.
 
-Author: Jason Summers <jason1@pobox.com>
 WWW: http://entropymine.com/jason/pngrewrite/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408021737.s72HbnPh082499>