blob: dba286539e12afdefa6b42490e78983e0a9e0d88 (
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
26
27
28
29
30
31
32
|
PORTNAME= esdl
DISTVERSIONPREFIX= esdl-
DISTVERSION= 1.3.1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= erlang@FreeBSD.org
COMMENT= Library for accessing SDL and OpenGL through Erlang
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.terms
BUILD_DEPENDS= erl:lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= erlang:rebar gl sdl
USE_GITHUB= yes
GH_ACCOUNT= dgud
USE_GL= gl glu
USE_SDL= sdl image ttf
PLIST_SUB= VERSION="${PORTVERSION}"
post-patch:
@${REINPLACE_CMD} "s/\(vsn,\) git/\1 \"${DISTVERSION}\"/" "${WRKSRC}/src/sdl.app.src"
post-install:
@${LN} -sf ${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.mk>
|