1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/glasteroids/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: glasteroids
# Date created: 16 August 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
2000-04-14 06:43:02 +00:00
PORTNAME= glasteroids
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://www.honors.montana.edu/~jjc/Glasteroids/
2000-04-14 06:43:02 +00:00
DISTNAME= Glasteriods
MAINTAINER= ports@FreeBSD.org
2000-03-29 09:02:04 +00:00
LIB_DEPENDS= GL.14:${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 - )
2000-03-08 22:49:06 +00:00
@ ${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>