1999-08-01 04:17:36 +00:00
|
|
|
# New ports collection makefile for: gltron
|
2000-02-17 01:04:30 +00:00
|
|
|
# Version required: 0.53
|
1999-08-01 04:17:36 +00:00
|
|
|
# Date created: 24 July 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1999-08-01 04:17:36 +00:00
|
|
|
#
|
|
|
|
|
2000-02-17 01:04:30 +00:00
|
|
|
DISTNAME= gltron-0.53
|
1999-08-01 04:17:36 +00:00
|
|
|
CATEGORIES= games
|
1999-12-25 20:29:21 +00:00
|
|
|
MASTER_SITES= http://www.ards.net/Andreas/gltron/
|
1999-08-01 04:17:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
|
|
|
|
LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 \
|
|
|
|
MesaGLU.14:${PORTSDIR}/graphics/Mesa3 \
|
|
|
|
glut.3:${PORTSDIR}/graphics/Mesa3
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-02-17 01:04:30 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV+= OPT="${CFLAGS}"
|
1999-08-01 04:17:36 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-02-17 01:04:30 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/gltron/
|
|
|
|
.for FILE in *.sgi *.txt t-u-low.obj tron.mtl xenotron.ftx
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/gltron/
|
|
|
|
.endfor
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/gltron ${PREFIX}/bin
|
1999-08-01 04:17:36 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-02-17 01:04:30 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gltron
|
1999-08-25 07:04:00 +00:00
|
|
|
.for file in CHANGELOG CREDITS README
|
2000-02-17 01:04:30 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gltron
|
1999-08-25 07:04:00 +00:00
|
|
|
.endfor
|
1999-08-01 04:17:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|