[20271] trunk/dports/graphics

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 1 08:14:33 PST 2006


Revision: 20271
          http://trac.macosforge.org/projects/macports/changeset/20271
Author:   jwa at macports.org
Date:     2006-11-01 08:14:32 -0800 (Wed, 01 Nov 2006)

Log Message:
-----------
This is the test release of wxWidgets. Version 2.7.1.

Added Paths:
-----------
    trunk/dports/graphics/wxWidgets-devel/
    trunk/dports/graphics/wxWidgets-devel/Portfile

Added: trunk/dports/graphics/wxWidgets-devel/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-devel/Portfile	                        (rev 0)
+++ trunk/dports/graphics/wxWidgets-devel/Portfile	2006-11-01 16:14:32 UTC (rev 20271)
@@ -0,0 +1,91 @@
+# $Id: Portfile,v 1.18 2006/04/04 06:29:12 blb Exp $
+
+PortSystem 1.0
+
+name			wxWidgets-devel
+version			2.7.1
+categories		graphics devel
+platforms		darwin
+maintainers		jwa at macports.org mww at macports.org
+description		mature cross-platform C++ GUI framework
+long_description	wxWidgets is a mature open-source cross-platform C++ \
+				GUI framework for MacOS, Unix, Linux, Windows. It can \
+				make use of a variety of native widget sets as well as \
+				its own widget set: MacOS, GTK+, Motif, WIN32. \
+				wxWidgets will even run on embedded systems using \
+				Linux and X11.
+
+homepage		http://www.wxwidgets.org/
+distname		wxWidgets
+master_sites	ftp://biolpc22.york.ac.uk/pub/${version}/ \
+				sourceforge:wxwindows
+use_bzip2		yes
+distfiles		${distname}-${version}${extract.suffix}
+dist_subdir		${distname}/${version}
+checksums		${distname}-${version}${extract.suffix} \
+					md5 5406cc14e87f9c7893753374f034c058 \
+				${distname}-${version}${extract.suffix} \
+					sha1 6cb5db4cfaab048527a0e9c6f73775cd5fba1c91 \
+				${distname}-${version}${extract.suffix} \
+					rmd160 258a5f98d617880bdb142bdfe239fcd982ba02c3
+
+depends_lib		port:jpeg \
+				port:tiff \
+				port:libpng \
+				port:zlib \
+				port:libiconv \
+				port:expat \
+				port:libsdl \
+				port:libsdl_mixer
+
+#set worksrcdir	build
+set worksrcdir	${distname}-${version}/build
+
+extract.only	${distname}-${version}${extract.suffix}
+
+#configure.cmd	../${distname}-${version}/configure
+configure.cmd	../configure
+configure.env	CPPFLAGS="-I${prefix}/include" \
+				CFLAGS="-I${prefix}/include" \
+				LDFLAGS="-L${prefix}/lib"
+configure.args	--mandir=${prefix}/share/man \
+				--with-libiconv-prefix=${prefix} \
+				--with-libjpeg \
+				--with-libtiff \
+				--with-libpng \
+				--with-zlib \
+				--with-sdl \
+				--with-opengl \
+				--with-mac \
+				--disable-sdltest \
+				--enable-unicode \
+				--enable-display \
+				--enable-monolithic
+
+platform darwin 8 {
+	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+}
+
+set contrib		"gizmos stc"
+
+build.target
+
+post-build {
+		system "cd ${build.dir} && make -C contrib/src/gizmos"
+		system "cd ${build.dir} && make -C contrib/src/stc"
+}
+
+post-destroot {
+		system "cd ${destroot.dir} && make -C contrib/src/gizmos install ${destroot.destdir}"
+		system "cd ${destroot.dir} && make -C contrib/src/stc install ${destroot.destdir}"
+
+	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${workpath}/${name}-${version} \
+		install-mac.txt install-mgl.txt install-motif.txt \
+		INSTALL-OS2.txt install-x11.txt readme-cocoa.txt \
+		readme-gtk.txt readme-mac.txt \
+		readme-mgl.txt readme-motif.txt readme-x11.txt \
+		${destroot}${prefix}/share/doc/${name}
+	system "cd ${destroot}${prefix}/bin && \
+		ln -sf ${prefix}/lib/wx/config/mac-unicode-release-2.6 wx-config"
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061101/509ffcd9/attachment.html


More information about the macports-changes mailing list