1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/glasteroids/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: glasteroids
# Date created: 16 August 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= glasteroids
PORTVERSION= 1.0
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://www.honors.montana.edu/~jjc/Glasteroids/
DISTNAME= Glasteriods
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D Asteroids game for X Window System
WRKSRC= ${WRKDIR}/Glasteroids
USE_GL= glut
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKEFILE= ${FILESDIR}/Makefile.FreeBSD
do-install:
${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/Glasteroids ${PREFIX}/bin/glasteroids
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gameText.txf ${DATADIR}
${TAR} -C ${WRKSRC} -cf - scores.txt textures | \
${TAR} -C ${DATADIR} --unlink -xf -
@${CHMOD} a+rx ${DATADIR}/textures
@${CHMOD} g+rw,a-x ${DATADIR}/scores.txt
@${CHOWN} root:games ${DATADIR}/scores.txt
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>