[82182] trunk/dports/sysutils/contacts/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Aug 9 17:38:55 PDT 2011


Revision: 82182
          http://trac.macports.org/changeset/82182
Author:   ryandesign at macports.org
Date:     2011-08-09 17:38:54 -0700 (Tue, 09 Aug 2011)
Log Message:
-----------
contacts: build manually, without Xcode project, to fix build with Xcode 4+; see #30683

Modified Paths:
--------------
    trunk/dports/sysutils/contacts/Portfile

Modified: trunk/dports/sysutils/contacts/Portfile
===================================================================
--- trunk/dports/sysutils/contacts/Portfile	2011-08-10 00:31:01 UTC (rev 82181)
+++ trunk/dports/sysutils/contacts/Portfile	2011-08-10 00:38:54 UTC (rev 82182)
@@ -1,7 +1,6 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup xcode 1.0
 
 name		contacts
 version		1.1
@@ -23,11 +22,19 @@
 checksums	md5 37b6a6a0312dabc4ad2ddd8805f93e12
 patchfiles	patch-FormatHelper.m
 
-xcode.target	contacts
-xcode.destroot.path	${prefix}/bin
-
 post-patch {
 	reinplace "s|/usr/share|${prefix}/share|g" \
 		${worksrcpath}/${name}.pbproj/project.pbxproj
 }
 
+use_configure	no
+variant universal {}
+
+build {
+    system -W ${worksrcpath} "${configure.cc} [get_canonical_archflags] -framework AppKit -framework Foundation -framework AddressBook -o contacts contacts.m FormatHelper.m"
+}
+
+destroot {
+    xinstall ${worksrcpath}/contacts ${destroot}${prefix}/bin
+    xinstall -m 644 ${worksrcpath}/contacts.1 ${destroot}${prefix}/share/man/man1
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110809/f398b15a/attachment-0001.html>


More information about the macports-changes mailing list