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

ryandesign at macports.org ryandesign at macports.org
Thu Jul 28 01:48:32 PDT 2011


Revision: 81257
          http://trac.macports.org/changeset/81257
Author:   ryandesign at macports.org
Date:     2011-07-28 01:48:30 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
linkchecker: update to 7.0 and use python27 (see #28416); add launcher for linkchecker-gui in ${applications_dir}; indicate license; update master_sites to avoid redirects; use dist_subdir

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

Modified: trunk/dports/www/linkchecker/Portfile
===================================================================
--- trunk/dports/www/linkchecker/Portfile	2011-07-28 08:40:36 UTC (rev 81256)
+++ trunk/dports/www/linkchecker/Portfile	2011-07-28 08:48:30 UTC (rev 81257)
@@ -1,13 +1,16 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python27 1.0
 
 name			linkchecker
-version			5.0.1
+version			7.0
+set branch		[join [lrange [split ${version} .] 0 1] .]
 categories		www python
 maintainers		mww
 platforms		darwin freebsd
+license			GPL-2+
+
 description		linkchecker for html pages
 long_description	linkchecker for html pages with recursive checking, \
 				multithreaded, output can be colored or normal text, HTML, \
@@ -20,9 +23,26 @@
 				exclusion protocol support, i18n support, CGI web interface.
 
 homepage		http://linkchecker.sourceforge.net/
-master_sites	sourceforge
-checksums		sha1 392d7e21ea1319b4a81616dad06cf4d0d1ad77a6
+master_sites	sourceforge:project/linkchecker/${branch}/
+dist_subdir		${name}
 distname		LinkChecker-${version}
+use_bzip2		yes
 
+checksums		sha1    4facd4b3834e224211654c2e782126c058b03e09 \
+				rmd160  c80a9378ef5a5eaa34f4e3ff6883c2b29109bbd3
+
+depends_lib-append	port:py27-pyqt4
+
+pre-build {
+	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}
+}
+
+python.link_binaries_suffix
+
 livecheck.type	freshmeat
-livecheck.version	5.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/d1ff19cc/attachment.html>


More information about the macports-changes mailing list