summaryrefslogtreecommitdiffstats
path: root/graphics/glexcess/Makefile
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-10-08 15:44:33 +0000
committeralepulver <alepulver@FreeBSD.org>2006-10-08 15:44:33 +0000
commitbe840adcb2a55f39b5fa66e6497bda0cbe4af634 (patch)
tree1d5f6971551b1c44f373cbc9c15aa69e2c17f8e6 /graphics/glexcess/Makefile
parent09ca3a85f3dc8b2f9ef9c1d7c8ec25b6bd15e336 (diff)
downloadFreeBSD-ports-be840adcb2a55f39b5fa66e6497bda0cbe4af634.zip
FreeBSD-ports-be840adcb2a55f39b5fa66e6497bda0cbe4af634.tar.gz
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>
Diffstat (limited to 'graphics/glexcess/Makefile')
-rw-r--r--graphics/glexcess/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/glexcess/Makefile b/graphics/glexcess/Makefile
new file mode 100644
index 0000000..29310f1
--- /dev/null
+++ b/graphics/glexcess/Makefile
@@ -0,0 +1,37 @@
+# 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>
OpenPOWER on IntegriCloud