- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/armagetronad
|
|
DISTNAME= armagetronad-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A multiplayer networked Tron clone in 3D
|
|
|
|
USE_GL= gl
|
|
USE_SDL= sdl image
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CXXFLAGS="${CFLAGS} -I${LOCALBASE}/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>
|