aboutsummaryrefslogtreecommitdiff
path: root/math/poly2tri/Makefile
blob: f388ed7662a05719158a661d915efa75d5986842 (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
PORTNAME=	poly2tri
DISTVERSION=	g20191130
PORTREVISION=	1
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	2D constrained Delaunay triangulation library
WWW=		https://github.com/jhasse/poly2tri

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libglfw.so:graphics/glfw

USES=		compiler:c11 gl localbase:ldflags waf
USE_GITHUB=	yes
GH_ACCOUNT=	jhasse
GH_TAGNAME=	e6e63dd29ef0805b3e40fe1832c2f1fe2307943a
USE_GL=		gl

PLIST_FILES=	bin/p2t

post-stage:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/p2t

.include <bsd.port.mk>