summaryrefslogtreecommitdiff
path: root/graphics/libspng/Makefile
blob: 590ce26b3bd2a282ee93ccdbb81a3b8c8411be66 (plain)
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
PORTNAME=	libspng
DISTVERSIONPREFIX=	v
DISTVERSION=	0.6.2
CATEGORIES=	graphics

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple PNG decoding and encoding library

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		meson pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	randy408
USE_LDCONFIG=	yes

MESON_ARGS=	-Denable_opt=false
PLIST_SUB=	SOVERSION=${DISTVERSION}

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>