mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
39 lines
658 B
Makefile
39 lines
658 B
Makefile
# Created by: stb@lassitu.de
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pngnq
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= stb@lassitu.de
|
|
COMMENT= A tool for quantizing PNG images in RGBA format
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV+= LIBS=-lpng
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USES= pkgconfig
|
|
|
|
PORTDOCS= README COPYING
|
|
PLIST_FILES= bin/pngcomp bin/pngnq
|
|
MAN1= pngnq.1
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|