[35907] trunk/dports/x11
mcalhoun at macports.org
mcalhoun at macports.org
Wed Apr 9 09:56:03 PDT 2008
Revision: 35907
http://trac.macosforge.org/projects/macports/changeset/35907
Author: mcalhoun at macports.org
Date: 2008-04-09 09:56:02 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
glui: Create new port.
Added Paths:
-----------
trunk/dports/x11/glui/
trunk/dports/x11/glui/Portfile
Added: trunk/dports/x11/glui/Portfile
===================================================================
--- trunk/dports/x11/glui/Portfile (rev 0)
+++ trunk/dports/x11/glui/Portfile 2008-04-09 16:56:02 UTC (rev 35907)
@@ -0,0 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id:$
+
+PortSystem 1.0
+
+name glui
+version 2.36
+categories x11
+maintainers mcalhoun
+description A GLUT-based C++ user interface library.
+long_description \
+ GLUI is a GLUT-based C++ user interface library \
+ which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications.
+homepage http://glui.sourceforge.net/
+master_sites sourceforge:glui
+distname ${name}-${version}
+extract.suffix .tgz
+use_configure no
+worksrcdir ${name}-${version}/src
+platforms darwin
+checksums \
+ md5 9e8d506af9a9428dac09e8cd7bda7c1e \
+ sha1 00e6a4a8a331ccfde951966526c63b0f37c7d8f3 \
+ rmd160 f39fe98e3e215816b0af2089ab7ac460df5701b8
+
+patchfiles-append patch-makefile.diff patch-glui.diff patch-glui_filebrowser.diff
+
+destroot {
+ xinstall -m 644 ${worksrcpath}/include/GL/glui.h ${destroot}${prefix}/include
+ xinstall -m 644 ${worksrcpath}/lib/libglui.a ${destroot}${prefix}/lib
+ xinstall -m 755 ${worksrcpath}/bin/ppm2array ${destroot}${prefix}/bin
+}
+
+post-destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/doc/glui_manual.pdf ${destroot}${prefix}/share/doc/${name}
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
+ eval xinstall -m 644 [glob ${worksrcpath}/example/example*.cpp] ${destroot}${prefix}/share/doc/${name}/examples
+ eval xinstall -m 755 [glob ${worksrcpath}/bin/example*] ${destroot}${prefix}/share/doc/${name}/examples
+}
+
+livecheck.check sourceforge
+livecheck.distname Source
Property changes on: trunk/dports/x11/glui/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/9bfb5cde/attachment.html
More information about the macports-changes
mailing list