[82586] trunk/dports/net/wap11gui
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 16 02:40:20 PDT 2011
Revision: 82586
http://trac.macports.org/changeset/82586
Author: ryandesign at macports.org
Date: 2011-08-16 02:40:17 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
wap11gui: use app portgroup; fix x11 version
Modified Paths:
--------------
trunk/dports/net/wap11gui/Portfile
Removed Paths:
-------------
trunk/dports/net/wap11gui/files/Info.plist.in
Modified: trunk/dports/net/wap11gui/Portfile
===================================================================
--- trunk/dports/net/wap11gui/Portfile 2011-08-16 08:04:22 UTC (rev 82585)
+++ trunk/dports/net/wap11gui/Portfile 2011-08-16 09:40:17 UTC (rev 82586)
@@ -1,9 +1,11 @@
# $Id$
+
PortSystem 1.0
+PortGroup app 1.0
name wap11gui
version 0.12
-revision 11
+revision 12
categories net
maintainers nomaintainer
description Linksys WAP11 Unix Configuration Utility
@@ -19,7 +21,7 @@
depends_lib port:jpeg \
port:net-snmp \
port:libpng \
- path:include/qt3/qt_x11.h:qt3 \
+ path:include/qt3/private/qt_x11_p.h:qt3 \
port:openssl \
port:zlib
@@ -30,10 +32,20 @@
platform darwin {
if {[file isfile ${prefix}/include/qt3/qt_mac.h] || \
- ![file isfile ${prefix}/include/qt3/qt_x11.h]} {
- depends_lib-delete path:include/qt3/qt_x11.h:qt3
+ ![file isfile ${prefix}/include/qt3/private/qt_x11_p.h]} {
+ depends_lib-delete path:include/qt3/private/qt_x11_p.h:qt3
depends_lib-append path:include/qt3/qt_mac.h:qt3-mac
supported_archs i386 ppc
+
+ app.name WAP11GUI
+ app.executable ${worksrcpath}/${name}/${name}
+ app.icon ${filespath}/wap11.icns
+
+ post-destroot {
+ delete ${destroot}${prefix}/bin/${name}
+ }
+ } else {
+ app.create no
}
patchfiles-append patch-admin-ltmain.sh \
@@ -50,33 +62,3 @@
--disable-debug
configure.cflags-append '-I${prefix}/include'
configure.cxxflags-append '-I${prefix}/include'
-
-post-build {
- if {[file isfile ${prefix}/include/qt3/qt_mac.h]} {
- set appName [string toupper ${name}]
- xinstall -d -m 0755 ${worksrcpath}/${name}/${appName}.app/Contents
- set plist ${appName}.app/Contents/Info.plist
- xinstall -m 0644 ${filespath}/Info.plist.in ${worksrcpath}/${name}/${plist}
- reinplace "s|@APPLNAME@|${appName}|" ${worksrcpath}/${name}/${plist}
- reinplace "s|@VERSION@|${version}|" ${worksrcpath}/${name}/${plist}
- system "echo 'APPL????' >${worksrcpath}/${name}/${appName}.app/Contents/PkgInfo"
- xinstall -d -m 0755 ${worksrcpath}/${name}/${appName}.app/Contents/Resources
- set icns ${appName}.app/Contents/Resources/wap11.icns
- xinstall -m 0644 ${filespath}/[file tail ${icns}] ${worksrcpath}/${name}/${icns}
- reinplace "s|@ICONFILE@|[file tail ${icns}]|" ${worksrcpath}/${name}/${plist}
- xinstall -d -m 0755 ${worksrcpath}/${name}/${appName}.app/Contents/MacOS
- xinstall -m 0755 ${worksrcpath}/${name}/${name} ${worksrcpath}/${name}/${appName}.app/Contents/MacOS/${appName}
- reinplace "s|@EXECFILE@|${appName}|" ${worksrcpath}/${name}/${plist}
- }
-}
-
-post-destroot {
- if {[file isfile ${prefix}/include/qt3/qt_mac.h]} {
- set appPath ${destroot}${applications_dir}
- set appName [string toupper ${name}]
- xinstall -d -m 0755 ${appPath}
- system "cp -R ${worksrcpath}/${name}/${appName}.app ${appPath}/${appName}.app"
- file delete ${destroot}${prefix}/bin/${name}
- }
-}
-
Deleted: trunk/dports/net/wap11gui/files/Info.plist.in
===================================================================
--- trunk/dports/net/wap11gui/files/Info.plist.in 2011-08-16 08:04:22 UTC (rev 82585)
+++ trunk/dports/net/wap11gui/files/Info.plist.in 2011-08-16 09:40:17 UTC (rev 82586)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>CFBundleExecutable</key>
- <string>@EXECFILE@</string>
- <key>CFBundleGetInfoString</key>
- <string>@APPNAME@ @VERSION@, MacPorts</string>
- <key>CFBundleIconFile</key>
- <string>@ICONFILE@</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>@VERSION@</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- </dict>
-</plist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/6ab26801/attachment.html>
More information about the macports-changes
mailing list