freebsd-ports/games/battalion/Makefile
Maxim Sobolev cfa6bd7a8a Fix a breakage due to threaded Mesa.
Submitted by:	bento
2001-08-14 08:21:15 +00:00

53 lines
1.6 KiB
Makefile

# New ports collection makefile for: battalion
# Date created: 17 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= battalion
PORTVERSION= 1.4
CATEGORIES= games
MASTER_SITES= http://www.evl.uic.edu/aej/BATTALION/
DISTFILES= battalionSource1.4.tar.Z battalionSUN4.tar.gz
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/battalionSource
ALL_TARGET= # empty
USE_X_PREFIX= yes
USE_MESA= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN6= battalion.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/battalion ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man \
${PREFIX}/man/man6/battalion.6
@${MKDIR} ${PREFIX}/share/battalion
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho \
${PREFIX}/share/battalion
@${MKDIR} ${PREFIX}/share/battalion/DATA
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/*.data \
${PREFIX}/share/battalion/DATA
@${MKDIR} ${PREFIX}/share/battalion/MUSIC
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/*.au \
${PREFIX}/share/battalion/MUSIC
@${MKDIR} ${PREFIX}/share/battalion/SOUNDS
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/*.au \
${PREFIX}/share/battalion/SOUNDS
@${MKDIR} ${PREFIX}/share/battalion/TEXTURES
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/TEXTURES/*.tex \
${PREFIX}/share/battalion/TEXTURES
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/battalion
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/battalion
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/*.gif \
${PREFIX}/share/doc/battalion
.endif
.include <bsd.port.mk>