mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
46 lines
1.2 KiB
Makefile
46 lines
1.2 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= 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_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>
|