1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/odamex/Makefile
Alejandro Pulver 817a65bd3b - Drop maintainership of the following ports:
games/darkplaces
games/quake-dpmod
games/edge
games/deng
games/odamex
games/uhexen2
games/uhexen2-extras
games/vavoom
games/vavoom-extras
games/alienarena
games/alienarena-data
games/freedroidrpg
games/assaultcube
games/freeorion
x11-toolkits/gigi
devel/allegro
devel/allegrogl
devel/adime
devel/allegro-devel
net-p2p/qbittorrent
net-p2p/rblibtorrent-devel
emulators/wahcade
x11-wm/stumpwm
x11-wm/icewm
2009-02-27 21:24:38 +00:00

59 lines
1.3 KiB
Makefile

# New ports collection makefile for: odamex
# Date created: 2007-12-06
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= odamex
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= Odamex-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= The Standard in Online Multiplayer Doom
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
OPTIONS= LAUNCHER "Enable GUI launcher program" off
.include <bsd.port.pre.mk>
.if defined(WITH_LAUNCHER)
USE_WX= 2.6+
MAKE_ENV+= WXRC_CMD="${WXRC_CMD}" WITH_LAUNCHER=yes
PLIST_SUB+= LAUNCHER=""
.else
PLIST_SUB+= LAUNCHER="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \
s|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/client/src/d_main.cpp
.if defined(WITH_LAUNCHER)
@${REINPLACE_CMD} -e 's|\./odamex|odamex|' \
${WRKSRC}/odalaunch/src/misc.cpp
.endif
do-install:
.for f in odamaster odamex odasrv
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.if defined(WITH_LAUNCHER)
${INSTALL_PROGRAM} ${WRKSRC}/odalaunch/odalaunch ${PREFIX}/bin
.endif
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/odamex.wad ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.post.mk>