2002-01-16 20:43:09 +01:00
|
|
|
# New ports collection makefile for: OpenGL headers for Mingw32
|
|
|
|
# Date created: 29 Dec 2001
|
|
|
|
# Whom: Michal Pasternak <doc@lublin.t1.pl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= opengl
|
|
|
|
PORTVERSION= 20011229
|
|
|
|
CATEGORIES= devel graphics
|
2003-05-11 01:12:11 +02:00
|
|
|
MASTER_SITES= ftp://ftp.microsoft.com/Softlib/MSLFILES/
|
2002-01-16 20:43:09 +01:00
|
|
|
PKGNAMEPREFIX= mingw-
|
|
|
|
PKGNAMESUFFIX= -headers
|
2004-01-17 23:18:23 +01:00
|
|
|
DISTNAME= OPENGL95
|
2002-01-22 06:36:11 +01:00
|
|
|
EXTRACT_SUFX= .EXE
|
2002-01-16 20:43:09 +01:00
|
|
|
DIST_SUBDIR= mingw
|
|
|
|
|
2003-05-11 01:12:11 +02:00
|
|
|
MAINTAINER= dotz@irc.pl
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= OpenGL headers from Microsoft(TM) for Windows development with Mingw
|
2002-01-16 20:43:09 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= mingwm10.dll:${PORTSDIR}/devel/mingw-bin-msvcrt
|
|
|
|
|
|
|
|
RESTRICTED= "Not sure if we can redistribute it"
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
2004-01-17 23:18:23 +01:00
|
|
|
FETCH_ENV= FTP_PASSIVE_MODE=no
|
2002-01-16 20:43:09 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/i386-mingw32msvc/include/GL
|
|
|
|
${LN} -s ${PREFIX}/i386-mingw32msvc/include/GL ${PREFIX}/i386-mingw32msvc/include/gl
|
|
|
|
${CP} ${WRKSRC}/INCLUDE/GL/GL.H ${PREFIX}/i386-mingw32msvc/include/GL/gl.h
|
|
|
|
${CP} ${WRKSRC}/INCLUDE/GL/GLAUX.H ${PREFIX}/i386-mingw32msvc/include/GL/glaux.h
|
|
|
|
${CP} ${WRKSRC}/INCLUDE/GL/GLU.H ${PREFIX}/i386-mingw32msvc/include/GL/glu.h
|
|
|
|
${CP} ${WRKSRC}/DLL/GLU32.DLL ${PREFIX}/i386-mingw32msvc/lib/glu32.dll
|
|
|
|
${CP} ${WRKSRC}/DLL/OPENGL32.DLL ${PREFIX}/i386-mingw32msvc/lib/opengl32.dll
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|