1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/battalion/Makefile

51 lines
1.5 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/
DISTFILES= battalionSource1.4.tar.Z battalionSUN4.tar.gz
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
ALL_TARGET= # empty
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/battalionSource
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>