Date: Mon, 21 Jan 2019 07:30:55 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490822 - in head/graphics: . glee glee/files Message-ID: <201901210730.x0L7UtEc064191@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Mon Jan 21 07:30:55 2019 New Revision: 490822 URL: https://svnweb.freebsd.org/changeset/ports/490822 Log: New port: Cross-platform extension loading library for OpenGL Added: head/graphics/glee/ head/graphics/glee/Makefile (contents, props changed) head/graphics/glee/distinfo (contents, props changed) head/graphics/glee/files/ head/graphics/glee/files/glee.pc.in (contents, props changed) head/graphics/glee/files/patch-Makefile.in (contents, props changed) head/graphics/glee/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Mon Jan 21 07:02:22 2019 (r490821) +++ head/graphics/Makefile Mon Jan 21 07:30:55 2019 (r490822) @@ -266,6 +266,7 @@ SUBDIR += gkrellkam2 SUBDIR += gle SUBDIR += gle-graphics + SUBDIR += glee SUBDIR += glew SUBDIR += glexcess SUBDIR += glfw Added: head/graphics/glee/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glee/Makefile Mon Jan 21 07:30:55 2019 (r490822) @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= GLee +DISTVERSION= 5.4.0 +CATEGORIES= graphics +MASTER_SITES= https://elf-stone.com/downloads/${PORTNAME}/ +DISTNAME= ${PORTNAME}-${DISTVERSION}-src + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cross-platform extension loading library for OpenGL + +LICENSE= BSD2CLAUSE + +USES= gl gmake +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_GL= gl + +NO_WRKSUBDIR= yes + +CFLAGS+= -fPIC +LDFLAGS+= -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined -L${LOCALBASE}/lib -lGL + +SUB_FILES= glee.pc + +PLIST_FILES= include/GL/GLee.h \ + lib/libGLee.so \ + lib/libGLee.so.5 \ + lib/libGLee.so.5.4 \ + libdata/pkgconfig/glee.pc + +post-install: + cd ${STAGEDIR}${PREFIX}/lib && \ + ${MV} libGLee.so libGLee.so.${DISTVERSION:R} && \ + ${LN} -s libGLee.so.${DISTVERSION:R} libGLee.so.${DISTVERSION:R:R} && \ + ${LN} -s libGLee.so.${DISTVERSION:R} libGLee.so + ${INSTALL_DATA} ${WRKDIR}/glee.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + +.include <bsd.port.mk> Added: head/graphics/glee/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glee/distinfo Mon Jan 21 07:30:55 2019 (r490822) @@ -0,0 +1,3 @@ +TIMESTAMP = 1548012607 +SHA256 (GLee-5.4.0-src.tar.gz) = 3b58430172392ec75acdad5fd833ecf494c5518382bc27932f48d46dbb01cd29 +SIZE (GLee-5.4.0-src.tar.gz) = 269529 Added: head/graphics/glee/files/glee.pc.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glee/files/glee.pc.in Mon Jan 21 07:30:55 2019 (r490822) @@ -0,0 +1,12 @@ +prefix=%%PREFIX%% +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: GLee +Description: GL Easy Extension library +Version: 5.4.0 +Requires: +Conflicts: +Libs: -L${libdir} -lGLee +Cflags: -I${includedir} Added: head/graphics/glee/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glee/files/patch-Makefile.in Mon Jan 21 07:30:55 2019 (r490822) @@ -0,0 +1,24 @@ +--- Makefile.in.orig 2009-02-07 20:45:53 UTC ++++ Makefile.in +@@ -38,14 +38,15 @@ BINDISTFILES=glee/${LIBNAME} glee/${READ + + all: + ${CXX} ${SRCDIR}/${SOURCE} -shared -I${SRCDIR} -I${INCLUDEDIR} ${LIBS} \ +- ${CXXFLAGS} ${DEFS} -o ${SRCDIR}/${LIBNAME} ++ ${CXXFLAGS} ${LDFLAGS} ${DEFS} -Wl,-soname,libGLee.so.5 -o ${SRCDIR}/${LIBNAME} + + install: +- ${INSTALLD} ${HEADER} ${INCLUDEDIR}/GL +- ${INSTALLP} ${LIBNAME} ${LIBDIR} +- ${MKDIR} -p ${DATADIR}/doc/GLee +- ${INSTALLD} ${README} ${DATADIR}/doc/GLee +- ${LDCONFIG} ++ ${MKDIR} -p ${DESTDIR}${INCLUDEDIR}/GL ++ ${INSTALLD} ${HEADER} ${DESTDIR}${INCLUDEDIR}/GL ++ ${INSTALLP} ${LIBNAME} ${DESTDIR}${LIBDIR} ++ #${MKDIR} -p ${DATADIR}/doc/GLee ++ #${INSTALLD} ${README} ${DATADIR}/doc/GLee ++ #${LDCONFIG} + + dists: dist bindist redist + Added: head/graphics/glee/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/glee/pkg-descr Mon Jan 21 07:30:55 2019 (r490822) @@ -0,0 +1,4 @@ +GLee facilitates OpenGL extension loading, and +can be used by any code using OpenGL. + +WWW: https://elf-stone.com/glee.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901210730.x0L7UtEc064191>