# New ports collection makefile for: gltron # Date created: 24 July 1999 # Whom: Andrey Zakhvatov # # $FreeBSD$ # PORTNAME= gltron PORTVERSION= 0.59 CATEGORIES= games MASTER_SITES= http://gltron.sourceforge.net/download/ MAINTAINER= will@FreeBSD.org LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \ glut.3:${PORTSDIR}/graphics/Mesa3 \ png.3:${PORTSDIR}/graphics/png .if defined(NO_SOUND) SOUND="" .else SOUND="-DSOUND" .endif USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_GMAKE= yes MAKE_ENV+= OPT="${CFLAGS}" SOUND="${SOUND}" pre-build: ${PERL} -pi -e "s+#include