blob: 90eba0886e0f11e45549695fe2c898526393e6fc (
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
43
44
45
|
# ex:ts=8
# New ports collection makefile for: armagetron
# Date created: 12 November 2005
# Whom: Maxime Henrion <mux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= armagetron
PORTVERSION= 0.2.7.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= armagetronad
DISTNAME= armagetronad-${PORTVERSION}
MAINTAINER= mux@FreeBSD.org
COMMENT= A multiplayer networked Tron clone in 3D
USE_REINPLACE= yes
USE_GL= yes
USE_SDL= sdl image
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CFLAGS} -I${X11BASE}/include"
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
OPTIONS= MUSIC "Compile in support for background music" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MUSIC)
USE_SDL+= mixer
CONFIGURE_ARGS+=--enable-music
.endif
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^#!/bin/bash$$|#!/bin/sh|g' ${WRKSRC}/batch/*
@${REINPLACE_CMD} -e 's|^INSTALL=.*$$|INSTALL=${DATADIR}|g' \
${WRKSRC}/batch/*.in
@${RM} -f ${WRKSRC}/batch/*.bak ${WRKSRC}/batch/*.orig
.include <bsd.port.post.mk>
|