[99673] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Tue Nov 13 20:52:18 PST 2012


Revision: 99673
          https://trac.macports.org/changeset/99673
Author:   ryandesign at macports.org
Date:     2012-11-13 20:52:18 -0800 (Tue, 13 Nov 2012)
Log Message:
-----------
pb2make: rename to pbtomake, update to version 4.0 (#36754), use Xcode portgroup

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

Added Paths:
-----------
    trunk/dports/devel/pbtomake/

Modified: trunk/dports/devel/pbtomake/Portfile
===================================================================
--- trunk/dports/devel/pb2make/Portfile	2012-11-14 02:15:52 UTC (rev 99672)
+++ trunk/dports/devel/pbtomake/Portfile	2012-11-14 04:52:18 UTC (rev 99673)
@@ -1,34 +1,38 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup           xcode 1.0
 
-name		pb2make
-version		3
+name                pbtomake
+version             4.0
 categories	devel
-platforms	darwin
 maintainers	nomaintainer
 description	Project Builder pbproj file to standard Makefile converter
-long_description	PTOMAKE is an application to convert from a Apples \
+long_description    ${name} is an application to convert from an Apple \
 			Project Builder pbproj file to standard Makefile. It \
 			will convert simple projects to allow them to be built \
 			on other platforms.
 
-homepage	http://members.bellatlantic.net/%7Evze35xda/software.html
-master_sites	http://members.bellatlantic.net/%7Evze35xda/Load/
-distname	TOMAKE10.3
-checksums	md5 0c506b3223237eac478464e2d0998759
+homepage            http://members.bellatlantic.net/~vze35xda/software.html
+master_sites        http://members.bellatlantic.net/~vze35xda/Load/
+distname            TOMAKE-Xcode2.1
+dist_subdir         ${name}/${version}
 use_zip		yes
 
-worksrcdir	${worksrcdir}/Source/PBTOMAKE
+checksums           rmd160  73889dec7306cd3d435fe85e531fe2d81309ae4f \
+                    sha256  9a2a3a8dcc7bdac58fca88fde21bd9676b2fb4c31a178b2da74a7a3227bee0bd
 
-use_configure	no
+build.dir           ${worksrcpath}/Source/PBTOMAKE
 
-build.target
+xcode.destroot.path ${prefix}/bin
 
-destroot	{
-	xinstall -s -m 755 ${worksrcpath}/pbtomake \
-		${destroot}${prefix}/bin/pb2make
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/../../Docs article.rtf manual.rtf \
-		readme.rtf ${destroot}${prefix}/share/doc/${name}
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        Docs/article.rtf \
+        Docs/articleII.rtf \
+        Docs/readme.rtf \
+        pbtomake.pdf \
+        ${destroot}${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121113/c96a465e/attachment.html>


More information about the macports-changes mailing list