1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/avp-demo/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

58 lines
1.7 KiB
Makefile

# New ports collection makefile for: games/avp-demo
# Date created: 11 Sep 2009
# Whom: Stas Timokhin <devel@stasyan.com>
#
# $FreeBSD$
#
PORTNAME= avp-demo
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.stasyan.com/devel/distfiles/
DISTFILES= avp_git_20090911.tar.gz avp_data_a03.tar.gz
MAINTAINER= devel@stasyan.com
COMMENT= Aliens versus predator unofficial port from icculus.org
USE_SDL= mixer sdl
USE_GMAKE= yes
USE_GL= gl
WRKSRC= ${WRKDIR}
BUILD_WRKSRC= ${WRKDIR}/avp_git
USE_OPENAL= yes
.include <bsd.port.pre.mk>
.if !(${ARCH} == i386 || ${ARCH} == pc98)
BROKEN= does not compile
.endif
do-install:
#Install program and doc
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/avp ${PREFIX}/bin/avp
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/LICENSE ${DOCSDIR}/LICENSE
${INSTALL_DATA} ${BUILD_WRKSRC}/README ${DOCSDIR}/README
.endif
#Install data files from Alien demo
${MKDIR} ${DATADIR}
${MKDIR} ${DATADIR}/avp_huds
${MKDIR} ${DATADIR}/avp_rifs
${MKDIR} ${DATADIR}/fastfile
. for f in alien.rif alien_hud.rif hnpc_civvie.rif hnpcmarine.rif sentry.rif
${INSTALL_DATA} ${WRKDIR}/avp/avp_huds/${f} ${DATADIR}/avp_huds/${f}
. endfor
${INSTALL_DATA} ${WRKDIR}/avp/avp_rifs/temple.rif ${DATADIR}/avp_rifs/temple.rif
. for f in common.ffl ffinfo.txt marsound.dat snd15.ffl snd30.ffl tex1.ffl tex15.ffl tex26.ffl tex27.ffl tex30.ffl tex32.ffl tex34.ffl tex38.ffl tex40.ffl tex43.ffl snd27.ffl
${INSTALL_DATA} ${WRKDIR}/avp/fastfile/${f} ${DATADIR}/fastfile/${f}
. endfor
${INSTALL_DATA} ${WRKDIR}/avp/language.txt ${DATADIR}/language.txt
post-install:
${SED} -e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" ${PKGMESSAGE};
.include <bsd.port.post.mk>