[83054] trunk/dports/www/linkchecker/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 24 15:06:31 PDT 2011


Revision: 83054
          http://trac.macports.org/changeset/83054
Author:   ryandesign at macports.org
Date:     2011-08-24 15:06:31 -0700 (Wed, 24 Aug 2011)
Log Message:
-----------
linkchecker: use app portgroup, add app icon; see #30817

Modified Paths:
--------------
    trunk/dports/www/linkchecker/Portfile

Modified: trunk/dports/www/linkchecker/Portfile
===================================================================
--- trunk/dports/www/linkchecker/Portfile	2011-08-24 20:49:34 UTC (rev 83053)
+++ trunk/dports/www/linkchecker/Portfile	2011-08-24 22:06:31 UTC (rev 83054)
@@ -2,9 +2,11 @@
 
 PortSystem 1.0
 PortGroup python27 1.0
+PortGroup app 1.0
 
 name			linkchecker
 version			7.0
+revision		1
 set branch		[join [lrange [split ${version} .] 0 1] .]
 categories		www python
 maintainers		mww
@@ -37,11 +39,9 @@
 	system "cd ${worksrcpath} && make -C doc/html"
 }
 
-post-destroot {
-	set app LinkChecker
-	xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS
-	ln -s ${prefix}/bin/linkchecker-gui ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app}
-}
+app.name		LinkChecker
+app.executable	linkchecker-gui
+app.icon		doc/html/logo128x128.png
 
 python.link_binaries_suffix
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110824/74019947/attachment-0001.html>


More information about the macports-changes mailing list