[94650] trunk/dports/textproc/idnits/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jun 25 18:29:25 PDT 2012


Revision: 94650
          https://trac.macports.org/changeset/94650
Author:   ryandesign at macports.org
Date:     2012-06-25 18:29:25 -0700 (Mon, 25 Jun 2012)
Log Message:
-----------
idnits: update to 2.12.13 (#33123); use 'use_configure no' instead of 'configure {}'; add 'supported_archs noarch'; add 'license GPL-2+'; install documentation files; fix livecheck

Modified Paths:
--------------
    trunk/dports/textproc/idnits/Portfile

Modified: trunk/dports/textproc/idnits/Portfile
===================================================================
--- trunk/dports/textproc/idnits/Portfile	2012-06-26 01:14:52 UTC (rev 94649)
+++ trunk/dports/textproc/idnits/Portfile	2012-06-26 01:29:25 UTC (rev 94650)
@@ -2,26 +2,40 @@
 
 PortSystem 1.0
 name		idnits
-version		2.08.04
+version		2.12.13
 categories	textproc
 platforms	darwin
 maintainers	fenner
+license		GPL-2+
+supported_archs	noarch
+
 description	Looks for problems in internet draft formatting
 long_description	\
 	'idnits' looks for violations of Section 2.1 and 2.2 of the \
 	requirements listed on http://www.ietf.org/ID-Checklist.html \
 	and some of http://www.ietf.org/ietf/1id-guidelines.html
 homepage	http://tools.ietf.org/tools/idnits/
-master_sites	http://tools.ietf.org/tools/idnits/
+master_sites	${homepage}
 extract.suffix	.tgz
-checksums	md5 a68f89e730f9cf74427406048944ea1c \
-		sha1 176b178d286e1cd297e4300913ea03d68fcea106
 
-# Since it's just a shell script, there's no configure or build.
-# Just destroot directly from the distpath.
-configure	{}
+checksums	rmd160  7b70e51026ec2d4acdfdc0c8cd57ebb6dba64621 \
+		sha256  d705b2deee50827deb7323dfd8789a3785651ddc3c070188440a2f921d93435a
+
+use_configure	no
+
 build		{}
+
 destroot	{
 	xinstall -m 755 ${worksrcpath}/idnits \
 		${destroot}${prefix}/bin/
+	
+	set docdir ${prefix}/share/doc/${subport}
+	xinstall -d ${destroot}${docdir}
+	xinstall -m 644 -W ${worksrcpath} \
+		about changelog control copyright todo \
+		${destroot}${docdir}
 }
+
+livecheck.type	regex
+livecheck.url	${homepage}distinfo
+livecheck.regex	${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120625/dcea5ca2/attachment-0001.html>


More information about the macports-changes mailing list