Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 22:24:24 +0100 (CET)
From:      Michal Pasternak <doc@lublin.t1.pl>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        doc@safenet.pl
Subject:   ports/33490: NEW PORT: devel/mingw-opengl-headers
Message-ID:  <200201022124.g02LOOt40377@pr93.lublin.sdi.tpnet.pl>

next in thread | raw e-mail | index | archive | help

>Number:         33490
>Category:       ports
>Synopsis:       NEW PORT: devel/mingw-opengl-headers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 13:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD pr93.lublin.sdi.tpnet.pl 4.4-STABLE FreeBSD 4.4-STABLE #14: Mon Nov 26 05:27:32 CET 2001 doc@pr93.lublin.sdi.tpnet.pl:/usr/obj/usr/src/sys/DOCUS i386
>Description:

  Mingw32 is a gcc, which produce Windows 9x/NT/XP .exe files. It can be used
  for cross compilation. It includes OpenGL libraries with it, but doesn't
  include header files for OpenGL application.
  This port fixes it. Fresh OpenGL header files, directly from Windows
  9x/NT/XP manufacturer site, which allow us to create Windows OpenGL
  applications on FreeBSD.
	    
  Thank you,

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mingw-opengl-headers
#	mingw-opengl-headers/distinfo
#	mingw-opengl-headers/Makefile
#	mingw-opengl-headers/pkg-comment
#	mingw-opengl-headers/pkg-descr
#	mingw-opengl-headers/pkg-plist
#
echo c - mingw-opengl-headers
mkdir -p mingw-opengl-headers > /dev/null 2>&1
echo x - mingw-opengl-headers/distinfo
sed 's/^X//' >mingw-opengl-headers/distinfo << 'END-of-mingw-opengl-headers/distinfo'
XMD5 (mingw/opengl95.exe) = edb0a9c371be828d2b5d2e90c5c89cb3
END-of-mingw-opengl-headers/distinfo
echo x - mingw-opengl-headers/Makefile
sed 's/^X//' >mingw-opengl-headers/Makefile << 'END-of-mingw-opengl-headers/Makefile'
X# New ports collection makefile for: OpenGL headers for Mingw32
X# Date created:	29 Dec 2001
X# Whom:		Michal Pasternak <doc@lublin.t1.pl>
X#
X# $FreeBSD$
X
XPORTNAME=	opengl
XPORTVERSION=	20011229
XPORTEPOCH=	1
XCATEGORIES=	devel graphics
XMASTER_SITES=	ftp://ftp.microsoft.com/softlib/mslfiles/
XPKGNAMEPREFIX=	mingw-
XPKGNAMESUFFIX=	-headers
XDISTNAME=	opengl95
XEXTRACT_SUFX=	.exe
X
XMAINTAINER=	doc@lublin.t1.pl
X
XBUILD_DEPENDS=	mingwm10.dll:${PORTSDIR}/devel/mingw-bin-msvcrt
X
XDIST_SUBDIR=	mingw
X
XUSE_ZIP=	yes
XNO_BUILD=	yes
XNO_CDROM=	yes
XWRKSRC=		${WRKDIR}/
X
XPREFIX=	${LOCALBASE}/i386-mingw32msvc/
X
Xdo-install:
X	${MKDIR} ${PREFIX}/include/GL
X	${LN} -s ${PREFIX}/include/GL ${PREFIX}/include/gl
X	${CP} ${WRKSRC}/INCLUDE/GL/GL.H ${PREFIX}/include/GL/gl.h
X	${CP} ${WRKSRC}/INCLUDE/GL/GLAUX.H ${PREFIX}/include/GL/glaux.h
X	${CP} ${WRKSRC}/INCLUDE/GL/GLU.H ${PREFIX}/include/GL/glu.h
X	${CP} ${WRKSRC}/DLL/GLU32.DLL ${PREFIX}/lib/glu32.dll
X	${CP} ${WRKSRC}/DLL/OPENGL32.DLL ${PREFIX}/lib/opengl32.dll
X
Xdo-build:
X	${DO_NADA}
X
X.include <bsd.port.mk>
END-of-mingw-opengl-headers/Makefile
echo x - mingw-opengl-headers/pkg-comment
sed 's/^X//' >mingw-opengl-headers/pkg-comment << 'END-of-mingw-opengl-headers/pkg-comment'
XOpenGL headers from Microsoft(TM) for Windows development with Mingw
END-of-mingw-opengl-headers/pkg-comment
echo x - mingw-opengl-headers/pkg-descr
sed 's/^X//' >mingw-opengl-headers/pkg-descr << 'END-of-mingw-opengl-headers/pkg-descr'
XHeaders and DLLs for OpenGL development, missing in MinGW installation.
X
XRead more about MinGW + OpenGL at
XWWW: http://sites.netscape.net/ptrpck/
X
X-- Michal Pasternak <doc@lublin.t1.pl>
END-of-mingw-opengl-headers/pkg-descr
echo x - mingw-opengl-headers/pkg-plist
sed 's/^X//' >mingw-opengl-headers/pkg-plist << 'END-of-mingw-opengl-headers/pkg-plist'
Xinclude/GL/gl.h
Xinclude/GL/glaux.h
Xinclude/GL/glu.h
Xlib/glu32.dll
Xlib/opengl32.dll
Xinclude/gl
X@dirrm include/GL/
END-of-mingw-opengl-headers/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201022124.g02LOOt40377>