2013-09-20 18:35:44 +00:00
|
|
|
# Created by: Hernan Di Pietro <hernan.di.pietro@gmail.com>
|
2006-10-08 15:44:33 +00:00
|
|
|
|
|
|
|
PORTNAME= glexcess
|
|
|
|
PORTVERSION= 1.0
|
2021-06-19 20:16:08 +00:00
|
|
|
PORTREVISION= 8
|
2006-10-08 15:44:33 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.glexcess.com/files/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= hernan.di.pietro@gmail.com
|
2014-06-13 07:36:27 +00:00
|
|
|
COMMENT= Impressive OpenGL Demo
|
2006-10-08 15:44:33 +00:00
|
|
|
|
2019-11-05 22:16:14 +00:00
|
|
|
USES= gl
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= glut
|
2006-10-08 15:44:33 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${LOCALBASE}/include -pipe -s -O2' \
|
2012-08-04 22:52:02 +00:00
|
|
|
'LDFLAGS=-L${LOCALBASE}/lib -lGL -lGLU -lglut'
|
2006-10-08 15:44:33 +00:00
|
|
|
|
2014-07-04 00:09:47 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2006-10-08 15:44:33 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp
|
2007-07-24 11:47:31 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|k_InitGL(GLvoid)|k_InitGL(void)|' ${WRKSRC}/scene12.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|Load(char\*|Load(const char* |g' ${WRKSRC}/Texture.*
|
|
|
|
@${REINPLACE_CMD} -e 's|Create(char\*|Create(const char* |g' ${WRKSRC}/Texture.*
|
2006-10-08 15:44:33 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-06-16 07:01:48 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/glxs ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/*.raw ${STAGEDIR}${DATADIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}
|
2006-10-08 15:44:33 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|