[100336] trunk/dports/devel/reinteract/Portfile

g5pw at macports.org g5pw at macports.org
Sat Dec 8 09:48:51 PST 2012


Revision: 100336
          https://trac.macports.org/changeset/100336
Author:   g5pw at macports.org
Date:     2012-12-08 09:48:51 -0800 (Sat, 08 Dec 2012)
Log Message:
-----------
devel/reinteract:
  update to 0.5.10
  use python portgroup
  put python files in proper prefix
  update py-pygtk dependencies

Modified Paths:
--------------
    trunk/dports/devel/reinteract/Portfile

Modified: trunk/dports/devel/reinteract/Portfile
===================================================================
--- trunk/dports/devel/reinteract/Portfile	2012-12-08 17:43:08 UTC (rev 100335)
+++ trunk/dports/devel/reinteract/Portfile	2012-12-08 17:48:51 UTC (rev 100336)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup python 1.0
 
 name			reinteract
-version			0.4.1
-revision		1
+version			0.5.10
+python.version		27
 categories		devel
 platforms		darwin
 maintainers		afb openmaintainer
@@ -13,28 +14,40 @@
 			with python. You enter Python code and expressions and \
 			immediately see the results.
 
-homepage		http://www.reinteract.org/
-master_sites		${homepage}/download/sources/
+homepage		http://www.reinteract.org
+master_sites		http://download.reinteract.org/sources
 use_bzip2		yes
-checksums		md5 62768668fc741d9515312bf9cbde145d \
-			sha1 a5ca1569e8c2b8bdc03939ad8fa6b0ad5a06e789 \
-			rmd160 a72f2b394540676f2ab489d95ff6829f52caa9cd
 
+checksums		rmd160  2d86afbf5b7c054181c1eead01bf8f1116cd7a84 \
+			sha256  d405f70863062ba52b9a075c7a50f465c221e1ded184c14fbecb7c8bf038854d
+
 depends_build		port:pkgconfig
-depends_lib		port:python25 port:py25-gtk
+depends_lib		port:python27 port:py27-pygtk
 
-patchfiles		patch-python.diff
+use_configure		yes
+configure.python	${python.bin}
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+configure.args-append	--exec-prefix=${python.prefix}
 
-configure.env		PYTHON=${prefix}/bin/python2.5
+post-patch {
+    reinplace "s|PYTHON_PREFIX='\${prefix}'|PYTHON_PREFIX=${python.prefix}|" \
+		$worksrcpath/configure
 
+}
+
+build.cmd       make
+build.target    all
+
+destroot.cmd    make
+destroot.destdir "DESTDIR=${destroot}"
+
 variant quartz conflicts x11 description {Enable Quartz rendering} {
     build.target	build-local-app
+    configure.args-append --with-appdir=${applications_dir}
 
     post-destroot {
 	file delete "${destroot}${prefix}/share/applications/reinteract.desktop"
 	file delete "${destroot}${prefix}/share/icons/hicolor/scalable/apps/reinteract.svg"
-	xinstall -d ${destroot}/Applications/MacPorts
-	file copy ${worksrcpath}/Reinteract.app ${destroot}/Applications/MacPorts
     }
 }
 
@@ -63,3 +76,4 @@
     }
 }
 
+python.link_binaries_suffix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121208/942fa6c4/attachment.html>


More information about the macports-changes mailing list