mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
35 lines
625 B
Makefile
35 lines
625 B
Makefile
# Created by: stb@lassitu.de
|
|
|
|
PORTNAME= pngnq
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= stb@lassitu.de
|
|
COMMENT= Tool for quantizing PNG images in RGBA format
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib -lpng
|
|
|
|
USES= pkgconfig
|
|
|
|
PORTDOCS= README COPYING
|
|
PLIST_FILES= bin/pngcomp bin/pngnq man/man1/pngnq.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|