e94fcf41dc
X Window System. The goal is simple: Don't get killed. PR: 13267 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: glasteroids
|
|
# Version required: 1.0
|
|
# Date created: 16 August 1999
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= Glasteriods
|
|
PKGNAME= glasteroids-1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.honors.montana.edu/~jjc/Glasteroids/
|
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 \
|
|
MesaGLU.14:${PORTSDIR}/graphics/Mesa3 \
|
|
glut.3:${PORTSDIR}/graphics/Mesa3
|
|
|
|
MAKEFILE= Makefile.FreeBSD
|
|
|
|
WRKSRC= ${WRKDIR}/Glasteroids
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
pre-build:
|
|
@ ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
|
|
|
|
do-install:
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/Glasteroids ${PREFIX}/bin/glasteroids
|
|
@ ${MKDIR} ${PREFIX}/share/glasteroids
|
|
@ ${INSTALL_DATA} ${WRKSRC}/gameText.txf ${PREFIX}/share/glasteroids
|
|
@ cd ${WRKSRC}; tar -cf - scores.txt textures | \
|
|
( cd ${PREFIX}/share/glasteroids; tar -xf - )
|
|
@ chmod a+rx ${PREFIX}/share/glasteroids/textures
|
|
@ chmod a+rw ${PREFIX}/share/glasteroids/scores.txt
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@ ${MKDIR} ${PREFIX}/share/doc/glasteroids
|
|
@ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/glasteroids
|
|
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/glasteroids
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|