diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2004-05-10 05:13:28 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2004-05-10 05:13:28 +0000 |
commit | b40396438a001afc3e0171ff6b6d39876d321f33 (patch) | |
tree | e629a6b01478356112491f7d4b2a2149d037ec67 /graphics | |
parent | f540c68b97ff2d7d6480c3068a0f16271810339e (diff) | |
download | ports-b40396438a001afc3e0171ff6b6d39876d321f33.tar.gz ports-b40396438a001afc3e0171ff6b6d39876d321f33.zip |
New port: libGLU taken from X.Org release 6.7.0.
Notes
Notes:
svn path=/head/; revision=108799
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libGLU/Makefile | 30 | ||||
-rw-r--r-- | graphics/libGLU/distinfo | 4 | ||||
-rw-r--r-- | graphics/libGLU/files/patch-GLU-Imakefile | 11 | ||||
-rw-r--r-- | graphics/libGLU/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/libGLU/pkg-plist | 4 | ||||
-rw-r--r-- | graphics/libGLU/scripts/configure | 9 |
7 files changed, 65 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 88c18a47cb64..8bd7043f9077 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -199,6 +199,7 @@ SUBDIR += leafpak SUBDIR += lfview SUBDIR += lib3ds + SUBDIR += libGLU SUBDIR += libafterimage SUBDIR += libart SUBDIR += libart_lgpl2 diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile new file mode 100644 index 000000000000..a7c5b85712dd --- /dev/null +++ b/graphics/libGLU/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: libGLU +# Date created: 7 May 2004 +# Whom: anholt@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= libGLU +PORTVERSION= 1.0 +CATEGORIES= graphics +MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ +DISTNAME= X11R6.7.0-src1 + +MAINTAINER= x11@FreeBSD.org +COMMENT= OpenGL utility library + +LIB_DEPENDS= GL.1:${PORTSDIR}/x11/libGL + +CONFLICTS= XFree86-libraries-* + +EXTRA_PATCHES= ${CF_PATCHES} + +XBUILD_DIRS= lib/GLU +INSTALLS_SHLIB= yes + +post-install: + ${INSTALL_DATA} ${WRKSRC}/include/GL/glu.h ${PREFIX}/include/GL + +.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc" +.include <bsd.port.mk> diff --git a/graphics/libGLU/distinfo b/graphics/libGLU/distinfo new file mode 100644 index 000000000000..b9025936ccb4 --- /dev/null +++ b/graphics/libGLU/distinfo @@ -0,0 +1,4 @@ +MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5 +SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655 +MD5 (xorg/X11R6.7.0-src3.tar.gz) = 4c7144786522bbce383b21ace72bf669 +SIZE (xorg/X11R6.7.0-src3.tar.gz) = 10855793 diff --git a/graphics/libGLU/files/patch-GLU-Imakefile b/graphics/libGLU/files/patch-GLU-Imakefile new file mode 100644 index 000000000000..78fa9f847194 --- /dev/null +++ b/graphics/libGLU/files/patch-GLU-Imakefile @@ -0,0 +1,11 @@ +--- lib/GLU/Imakefile.orig Sun May 9 16:24:25 2004 ++++ lib/GLU/Imakefile Sun May 9 16:24:53 2004 +@@ -47,7 +47,7 @@ + #define CplusplusSource + + #ifdef SharedGLUReqs +-REQUIREDLIBS = SharedGLUReqs ++REQUIREDLIBS = -L$(USRLIBDIR) SharedGLUReqs + #endif + + #ifndef SeparateSharedCompile diff --git a/graphics/libGLU/pkg-descr b/graphics/libGLU/pkg-descr new file mode 100644 index 000000000000..1f5d7835c14f --- /dev/null +++ b/graphics/libGLU/pkg-descr @@ -0,0 +1,6 @@ +This package contains the OpenGL utility library. + +WWW: http://www.freedesktop.org/Software/xorg + +- Eric Anholt +anholt@FreeBSD.org diff --git a/graphics/libGLU/pkg-plist b/graphics/libGLU/pkg-plist new file mode 100644 index 000000000000..ba0970e3ba25 --- /dev/null +++ b/graphics/libGLU/pkg-plist @@ -0,0 +1,4 @@ +include/GL/glu.h +lib/libGLU.a +lib/libGLU.so +lib/libGLU.so.1 diff --git a/graphics/libGLU/scripts/configure b/graphics/libGLU/scripts/configure new file mode 100644 index 000000000000..d95275797c01 --- /dev/null +++ b/graphics/libGLU/scripts/configure @@ -0,0 +1,9 @@ +#!/bin/sh + +LOCALDEF=$WRKDIR/.config + +rm -f $LOCALDEF +echo "#define UseInstalledPrograms YES" >> $LOCALDEF +echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF + +sh $PORTSDIR/x11-servers/xorg-server/scripts/configure.gen |