aboutsummaryrefslogtreecommitdiffstats
path: root/devel/esdl/Makefile
blob: bc84f96fd9b5280511a9866bb5c8a3c7f02e4ae2 (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
33
34
35
36
# New ports collection makefile for:    esdl
# Date Created:             2 January 2003
# Whom:                 olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   esdl
PORTVERSION=    0.93.0526
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION}.src
DIST_SUBDIR=    erlang

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    A library for accessing SDL and OpenGL through Erlang

LIB_DEPENDS=    SDL-1.1.5:${PORTSDIR}/devel/sdl12
BUILD_DEPENDS=  erlc:${PORTSDIR}/lang/erlang

SDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_MESA=   yes
USE_GMAKE=  yes
MAKE_ENV=   SDL_CONFIG="${SDL_CONFIG}"
ALL_TARGET= target
PLIST_SUB=  VERSION="${PORTVERSION}"

post-install:
    @${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}

.include <bsd.port.mk>