blob: c5aba1596b12198faa256a3aea7fe0732d148158 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= pngwriter
PORTVERSION= 0.7.0
CATEGORIES= graphics devel
MAINTAINER= rakuco@FreeBSD.org
COMMENT= C++ library for creating PNG images
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
LIB_DEPENDS= libpng.so:graphics/png \
libfreetype.so:print/freetype2
OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGES EXAMPLES README PNGwriterQuickReference.pdf
USES= cmake:outsource compiler:c++11-lang
CMAKE_ON= BUILD_SHARED_LIBS PNGwriter_USE_FREETYPE
USE_GITHUB= yes
USE_LDCONFIG= yes
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|