2004-01-01 18:26:52 +00:00
|
|
|
# New ports collection makefile for: glew
|
|
|
|
# Date created: 29 Dec 2003
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-04-01 12:16:17 +00:00
|
|
|
PORTNAME= glew
|
2005-09-03 23:46:44 +00:00
|
|
|
PORTVERSION= 1.3.3
|
2006-01-18 17:20:18 +00:00
|
|
|
PORTREVISION= 1
|
2004-04-01 12:16:17 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2004-01-01 18:26:52 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-04-01 12:16:17 +00:00
|
|
|
EXTRACT_SUFX= -src.tgz
|
2004-01-01 18:26:52 +00:00
|
|
|
|
2004-07-21 17:47:52 +00:00
|
|
|
MAINTAINER= ip@doom.homeunix.org
|
2004-01-01 18:26:52 +00:00
|
|
|
COMMENT= The OpenGL Extension Wrangler Library
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2004-04-01 12:16:17 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2004-01-01 18:26:52 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin
|
2005-03-06 22:42:41 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo ${PREFIX}/bin
|
2004-01-01 18:26:52 +00:00
|
|
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libGLEW.so.${PORTVERSION} \
|
|
|
|
${PREFIX}/lib/libGLEW.so.1
|
|
|
|
@${LN} -sf ${PREFIX}/lib/libGLEW.so.1 ${PREFIX}/lib/libGLEW.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libGLEW.a ${PREFIX}/lib
|
2005-03-06 22:42:41 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${PREFIX}/include/GL
|
2004-01-01 18:26:52 +00:00
|
|
|
|
2005-03-06 22:42:41 +00:00
|
|
|
.ifndef (NOPORTDOCS)
|
2004-01-01 18:26:52 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-03-06 22:42:41 +00:00
|
|
|
.for i in css html jpg png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-01-01 18:26:52 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|