freebsd-ports/games/glasteroids/Makefile
Sergey Matveychuk b4d2ac42d7 - Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.

While I'm here:
- Remove USE_MESA knob where it was (35 ports).
  It marked as depricated for 2 years.

PR:		ports/90247
Submitted by:	Ermal Lu?i <eri--@albabsd.org>
2006-01-12 12:54:32 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: glasteroids
# Date created: 16 August 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= glasteroids
PORTVERSION= 1.0
PORTREVISION= 3
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
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
WRKSRC= ${WRKDIR}/Glasteroids
USE_X_PREFIX= yes
USE_GL= yes
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>