aboutsummaryrefslogtreecommitdiffstats
path: root/devel/clanlib/Makefile
blob: fbcc11a78a8afed952d69995a5ff6539f5e84341 (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
37
38
39
40
41
42
# New ports collection makefile for:    clanlib
# Date created:             10 May 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   clanlib
PORTVERSION=    0.4.4
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://dark.x.dtu.dk/~mbn/clanlib/download/
DISTNAME=   ClanLib-${PORTVERSION}

MAINTAINER= sobomax@FreeBSD.org

LIB_DEPENDS=    Hermes.1:${PORTSDIR}/graphics/Hermes \
        png.4:${PORTSDIR}/graphics/png \
        vga.1:${PORTSDIR}/graphics/svgalib

.if defined(WITHOUT_GL)
CONFIGURE_ARGS+=    --disable-opengl
.else
USE_MESA=   yes
CONFIGURE_ARGS+=    --enable-opengl
PLIST=      ${WRKDIR}/PLIST
.endif

USE_GMAKE=  yes
USE_XLIB=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib" \
        CPPFLAGS="-I${LOCALBASE}/include"
CFLAGS+=    -fpermissive
ALL_TARGET+=    clanPNG clanGL

.if !defined(WITHOUT_GL)
pre-install:
    @cat ${PKGDIR}/pkg-plist.glx ${PKGDIR}/pkg-plist > ${PLIST}
.endif

.include <bsd.port.mk>
: minor fixes in Bourne shell variables and helpthierry2006-03-302-5/+11 * Chase another silent update.thierry2006-02-252-5/+5 * Chase another silent update. Since this seems usual, define a DIST_SUBDIR.thierry2006-02-172-4/+5 * Re-add patch-Makefile to respect CFLAGS / FFLAGS / CC & co.thierry2006-02-121-0/+26 * Chase a silent update and make fetchable again.thierry2006-02-125-108/+5 * - The official download site is down, add a mirror.thierry2006-02-042-3/+13 * Fix another silent update.thierry2006-01-311-3/+3 * Oops... I mixed 3.0 and 3.1 pkg-plist and forgot to take maintainership.thierry2006-01-302-1/+6