1998-08-20 17:16:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 1998/08/20 15:16:53 tsarna Exp $
|
1998-08-06 23:07:39 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= battalion
|
|
|
|
PKGNAME= battalion-1.4
|
|
|
|
WRKSRC= ${WRKDIR}/battalionSource
|
|
|
|
CATEGORIES= games x11
|
|
|
|
MASTER_SITES= http://www.evl.uic.edu/aej/
|
|
|
|
DISTFILES= battalionSource1.4.tar.Z battalionSUN4.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= root@garbled.net
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.evl.uic.edu/aej/AndyBattalion.html
|
1998-08-06 23:07:39 +02:00
|
|
|
|
|
|
|
DEPENDS+= Mesa-2.6:../../graphics/Mesa
|
|
|
|
|
|
|
|
EXTRACT_ONLY= battalionSource1.4.tar.Z
|
|
|
|
USE_X11= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL} -c -s -o root -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin
|
|
|
|
@${EXTRACT_CMD} -xzmf ${DISTDIR}/battalionSUN4.tar.gz -C ${WRKDIR}
|
|
|
|
${MKDIR} ${PREFIX}/share/battalion/HELP
|
|
|
|
${MKDIR} ${PREFIX}/share/battalion/battalion.data/DATA
|
|
|
|
${MKDIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
|
|
|
|
${MKDIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
|
|
|
|
${MKDIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/* $(PREFIX)/share/battalion/battalion.data/DATA
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/* $(PREFIX)/share/battalion/battalion.data/MUSIC
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/* $(PREFIX)/share/battalion/battalion.data/SOUNDS
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/TEXTURES/* $(PREFIX)/share/battalion/battalion.data/TEXTURES
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho $(PREFIX)/share/battalion/battalion.data
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${PREFIX}/man/man6/battalion.6
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/* ${PREFIX}/share/battalion/HELP
|
|
|
|
${INSTALL} -c -o root -g games -m 0664 /dev/null ${PREFIX}/share/battalion/battalion_hiscore
|
|
|
|
|
|
|
|
pre-clean:
|
1998-08-10 01:15:06 +02:00
|
|
|
@${RM} -rf ${WRKDIR}/battalionSUN4
|
1998-08-06 23:07:39 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
|
|
|
.if (${OBJECT_FMT} == "ELF")
|
|
|
|
RPATH= -Wl,-rpath,${PREFIX}/lib
|
|
|
|
.endif
|
|
|
|
MAKE_ENV+= RPATH=${RPATH}
|