mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
18f1ca848c
applications which depends on both of them. - Bumped PORTREVISION. PR: ports/91944 Submitted by: maintainer
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: glew
|
|
# Date created: 29 Dec 2003
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= glew
|
|
PORTVERSION= 1.3.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= -src.tgz
|
|
|
|
MAINTAINER= ip@doom.homeunix.org
|
|
COMMENT= The OpenGL Extension Wrangler Library
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GL= yes
|
|
INSTALLS_SHLIB= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo ${PREFIX}/bin
|
|
|
|
${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
|
|
${INSTALL_DATA} ${WRKSRC}/include/GL/*.h ${PREFIX}/include/GL
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in css html jpg png
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|