mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
d4af629ef1
Changes: https://github.com/nigels-com/glew/compare/glew-2.1.0...555aa3ffc085 Approved by: zeising (maintainer) Differential Revision: https://reviews.freebsd.org/D25162
39 lines
792 B
Makefile
39 lines
792 B
Makefile
# Created by: Igor Pokrovsky <tiamat@comset.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= glew
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION?= 0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER?= zeising@FreeBSD.org
|
|
COMMENT= OpenGL Extension Wrangler Library
|
|
|
|
LICENSE= MIT BSD3CLAUSE
|
|
LICENSE_COMB= dual
|
|
|
|
USES= gmake gl tar:tgz xorg
|
|
USE_XORG?= x11 xext xi xmu
|
|
USE_GL?= gl glu
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ENV= GLEW_DEST=${PREFIX} GLEW_PREFIX=${PREFIX}
|
|
INSTALL_TARGET?=install.all
|
|
|
|
OPTIONS_DEFINE?=DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' \
|
|
-e 's|^LIBDIR|GLEW_LIBDIR|' \
|
|
-e 's|$$(LIBDIR)|$$(GLEW_LIBDIR)|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in css html jpg png
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|