aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mingw-opengl-headers/Makefile
blob: 1bce8da6e0d9e40aa3851ee22331265402c99b5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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
MASTER_SITES=   ftp://ftp.microsoft.com/Softlib/MSLFILES/
PKGNAMEPREFIX=  mingw-
PKGNAMESUFFIX=  -headers
DISTNAME=   OpenGL95
EXTRACT_SUFX=   .EXE
DIST_SUBDIR=    mingw

MAINTAINER= dotz@irc.pl
COMMENT=    OpenGL headers from Microsoft(TM) for Windows development with Mingw

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

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>