mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
37 lines
809 B
Makefile
37 lines
809 B
Makefile
# New ports collection makefile for: gltron
|
|
# Date created: 24 July 1999
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gltron
|
|
PORTVERSION= 0.53
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ards.net/Andreas/gltron/
|
|
|
|
MAINTAINER= will@FreeBSD.org
|
|
|
|
LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/Mesa3
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
MAKE_ENV+= OPT="${CFLAGS}"
|
|
|
|
do-install:
|
|
@${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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/gltron
|
|
.for file in CHANGELOG CREDITS README
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gltron
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|