mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
36 lines
651 B
Makefile
36 lines
651 B
Makefile
# Created by: stb@lassitu.de
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pngnq
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= stb@lassitu.de
|
|
COMMENT= Tool for quantizing PNG images in RGBA format
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/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>
|