[63614] trunk/dports/x11/xforms

raphael at macports.org raphael at macports.org
Wed Feb 10 02:15:38 PST 2010


Revision: 63614
          http://trac.macports.org/changeset/63614
Author:   raphael at macports.org
Date:     2010-02-10 02:15:34 -0800 (Wed, 10 Feb 2010)
Log Message:
-----------
xforms: update to 1.0.92sp2, update description and homepage, add docs

Modified Paths:
--------------
    trunk/dports/x11/xforms/Portfile

Added Paths:
-----------
    trunk/dports/x11/xforms/files/
    trunk/dports/x11/xforms/files/patch-gl_Makefile.am.diff
    trunk/dports/x11/xforms/files/patch-image_Makefile.am.diff
    trunk/dports/x11/xforms/files/patch-lib_Makefile.am.diff

Modified: trunk/dports/x11/xforms/Portfile
===================================================================
--- trunk/dports/x11/xforms/Portfile	2010-02-10 09:54:53 UTC (rev 63613)
+++ trunk/dports/x11/xforms/Portfile	2010-02-10 10:15:34 UTC (rev 63614)
@@ -4,30 +4,81 @@
 PortSystem      1.0
 
 name            xforms
-version         1.0.91
-revision        1
+version         1.0.92sp2
 categories      x11
 maintainers     raphael openmaintainer
-description     GUI toolkit based on Xlib
-long_description XForms is a GUI toolkit based on Xlib for X Window Systems. \
-                It features a rich set of objects, such as buttons, \
-                scrollbars, and menus etc. integrated into an easy and \
-                efficient object/event callback execution model that allows \
-                fast and easy construction of X-applications. In addition, \
-                the library is extensible and new objects can easily be \
-                created and added to the library.
-homepage        http://savannah.nongnu.org/projects/${name}/
+description         A graphical user interface toolkit for X based on the X11 \
+                    Xlib library
+long_description    XForms is a graphical user interface toolkit for X based on \
+                    the X11 Xlib library. It's written in C and allows to easily \
+                    write GUIs for programs. For that it comes with a lot of \
+                    widgets (buttons, menus, input fields, scrollbars, you name \
+                    it) as well as fdesign, a tool that lets you create a GUI \
+                    using a GUI. In addition, the library is extensible and new \
+                    objects can easily be created and added to the library.
+homepage        http://xforms-toolkit.org/
+license         LGPL-2.1
 platforms       darwin
 master_sites    savannah
 livecheck.url   http://download.savannah.gnu.org/releases-noredirect/${name}/
 livecheck.regex "${name}-(\[0-9\\.\]+)\\${extract.suffix}"
-checksums       md5 4eb57f2e095a1ad3adabf25462bad38a \
-                sha1 88deea062cc4967214435aeac1247405fc85a744 \
-                rmd160 bf9457d33960f82ac6454d70de742a38d421320d
+
+distfiles-append    ${name}.html${extract.suffix} \
+                    ${name}.pdf
+dist_subdir         ${name}/${version}
+
+checksums           ${distname}${extract.suffix} \
+                        md5     3c2806dff3022c536eabd93d32e3dab7 \
+                        sha1    32753ccafa591537ca8eb002809d279d04db5a54 \
+                        rmd160  4b5739dd8232a5d018240717ea28fb9df7b36aa4 \
+                    ${name}.html${extract.suffix} \
+                        md5     46fb9e845b1fb9ed6b6bb34074e4d257 \
+                        sha1    1ca4d77d7060c8a59f21c8e4bad4f83d9b9fdb14 \
+                        rmd160  4668e204e161b1c5749e6977aa58dcce628904be \
+                    ${name}.pdf \
+                        md5     b713c627bf64f46fd958c6b56eb279a2 \
+                        sha1    aaed71323173e47396998f9fee6f7fb590c1f84e \
+                        rmd160  a968d3bbeaebd56066027100d19c33c1660940db
+
 depends_lib \
 	port:xorg-libsm \
-	port:xpm \
+	port:xorg-libXau \
+        port:xorg-libXdmcp \
+        port:xorg-libX11 \
+        port:xpm \
+        port:gettext \
+        port:libiconv \
+        port:mesa \
 	port:jpeg
+depends_build       port:automake \
+                    port:autoconf
 
+extract.only-delete ${name}.pdf
+
+patchfiles          patch-lib_Makefile.am.diff \
+                    patch-gl_Makefile.am.diff \
+                    patch-image_Makefile.am.diff
+
+pre-configure {     system "cd ${worksrcpath} && ./autogen.sh"
+}
+configure.args      --enable-demos
+
+post-destroot {     set docdir ${destroot}${prefix}/share/doc/${name}
+                    xinstall -d ${docdir}
+                    xinstall -m 644 -W ${worksrcpath} \
+                        COPYING.LIB \
+                        ChangeLog \
+                        Copyright \
+                        NEWS \
+                        README \
+                        ${docdir}
+                    copy ${workpath}/${name}.html ${docdir}
+                    copy ${prefix}/var/macports/distfiles/${dist_subdir}/${name}.pdf ${docdir}
+                    system "cd ${worksrcpath}/demos && make mostlyclean"
+                    xinstall -d ${destroot}${prefix}/share/${name}
+                    copy ${worksrcpath}/demos \
+                        ${destroot}${prefix}/share/${name}/
+}
+
 # not trivial to autoreconf
 universal_variant no

Added: trunk/dports/x11/xforms/files/patch-gl_Makefile.am.diff
===================================================================
--- trunk/dports/x11/xforms/files/patch-gl_Makefile.am.diff	                        (rev 0)
+++ trunk/dports/x11/xforms/files/patch-gl_Makefile.am.diff	2010-02-10 10:15:34 UTC (rev 63614)
@@ -0,0 +1,11 @@
+--- gl/Makefile.am.orig	2009-12-04 17:34:30.000000000 +0100
++++ gl/Makefile.am	2009-12-04 17:34:50.000000000 +0100
+@@ -7,7 +7,7 @@
+ 
+ lib_LTLIBRARIES = libformsGL.la
+ 
+-libformsGL_la_LDFLAGS = -no-undefined -Wl,--no-undefined -version-info @SO_VERSION@
++libformsGL_la_LDFLAGS = -no-undefined -version-info @SO_VERSION@
+ 
+ libformsGL_la_LIBADD = ../lib/libforms.la $(X_LIBS) -lGL -lX11
+ 

Added: trunk/dports/x11/xforms/files/patch-image_Makefile.am.diff
===================================================================
--- trunk/dports/x11/xforms/files/patch-image_Makefile.am.diff	                        (rev 0)
+++ trunk/dports/x11/xforms/files/patch-image_Makefile.am.diff	2010-02-10 10:15:34 UTC (rev 63614)
@@ -0,0 +1,11 @@
+--- image/Makefile.am.orig	2009-12-04 17:36:08.000000000 +0100
++++ image/Makefile.am	2009-12-04 17:36:24.000000000 +0100
+@@ -7,7 +7,7 @@
+ 
+ lib_LTLIBRARIES = libflimage.la
+ 
+-libflimage_la_LDFLAGS = -no-undefined -Wl,--no-undefined -version-info @SO_VERSION@
++libflimage_la_LDFLAGS = -no-undefined -version-info @SO_VERSION@
+ 
+ libflimage_la_LIBADD = ../lib/libforms.la $(JPEG_LIB) $(X_LIBS) -lX11
+ 

Added: trunk/dports/x11/xforms/files/patch-lib_Makefile.am.diff
===================================================================
--- trunk/dports/x11/xforms/files/patch-lib_Makefile.am.diff	                        (rev 0)
+++ trunk/dports/x11/xforms/files/patch-lib_Makefile.am.diff	2010-02-10 10:15:34 UTC (rev 63614)
@@ -0,0 +1,11 @@
+--- lib/Makefile.am.orig	2009-12-04 17:32:52.000000000 +0100
++++ lib/Makefile.am	2009-12-04 17:33:14.000000000 +0100
+@@ -25,7 +25,7 @@
+ 
+ lib_LTLIBRARIES = libforms.la
+ 
+-libforms_la_LDFLAGS = -no-undefined -Wl,--no-undefined -version-info @SO_VERSION@
++libforms_la_LDFLAGS = -no-undefined -version-info @SO_VERSION@
+ 
+ libforms_la_LIBADD =  $(X_LIBS) $(XPM_LIB) -lX11
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100210/cbf38228/attachment.html>


More information about the macports-changes mailing list