blob: 59bf4c6152ca5b20d020b2060ff9e8b144ffb067 (
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
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: lordsawar
# Date created: 12 February 2008
# Whom: spam@rm-rf.kiev.ua
#
# $FreeBSD$
#
PORTNAME= lordsawar
PORTVERSION= 0.1.0
CATEGORIES= games
MASTER_SITES= http://lordsawar.com/
MAINTAINER= spam@rm-rf.kiev.ua
COMMENT= A Warlords II clone
LIB_DEPENDS= glademm-2.4:${PORTSDIR}/devel/libglademm24 \
gnet-2.0:${PORTSDIR}/net/gnet2
USE_GZIP= yes
USE_GETTEXT= yes
USE_SDL= sdl image
OPTIONS= SOUND "Enable sound" on
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--disable-nls
.if !defined(WITHOUT_SOUND)
USE_SDL+= mixer
.else
CONFIGURE_ARGS+=--disable-sound
.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS}"
.include <bsd.port.post.mk>
|