freebsd-ports/graphics/glexcess/Makefile
Alejandro Pulver b0dd04d896 The port of GLExcess, an impressive OpenGL graphics demo.
WWW: http://www.glexcess.com

- Hernan Di Pietro
Hernan.di.pietro@gmail.com

PR:		ports/104041
Submitted by:	Hernan Di Pietro <hernan.di.pietro at gmail.com>
2006-10-08 15:44:33 +00:00

37 lines
883 B
Makefile

# New ports collection makefile for: glexcess
# Date created: 1 September 2006
# Whom: Hernan Di Pietro <hernan.di.pietro@gmail.com>
#
# $FreeBSD$
#
PORTNAME= glexcess
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= http://www.glexcess.com/files/
DISTNAME= ${PORTNAME}
MAINTAINER= hernan.di.pietro@gmail.com
COMMENT= An impressive OpenGL Demo
LIB_DEPENDS= glut:${PORTSDIR}/graphics/libglut
USE_X_PREFIX= yes
USE_GL= yes
MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${X11BASE}/include -pipe -s -O2' \
'LDFLAGS=-L${X11BASE}/lib -lGL -lglut'
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/glxs ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/*.raw ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>