[27486] trunk/dports/textproc/less/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 4 16:39:13 PDT 2007


Revision: 27486
          http://trac.macosforge.org/projects/macports/changeset/27486
Author:   ryandesign at macports.org
Date:     2007-08-04 16:39:12 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
less: update to version 406 and now also install documentation files; ticket #12063.

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

Modified: trunk/dports/textproc/less/Portfile
===================================================================
--- trunk/dports/textproc/less/Portfile	2007-08-04 23:34:32 UTC (rev 27485)
+++ trunk/dports/textproc/less/Portfile	2007-08-04 23:39:12 UTC (rev 27486)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name	    	less
-version	    	394
-revision	1
+version	    	406
 categories  	textproc
 maintainers 	mike.mclean at pobox.com
 description    	Less is a program similar to more, which allows backward movement.
@@ -17,10 +16,19 @@
 homepage	http://www.greenwoodsoftware.com/less/
 platforms	darwin
 master_sites	${homepage}
-checksums	md5 a9f072ccefa0d315b325f3e9cdbd4b97
+checksums       md5 c6062663b5be92dfcdfd6300ba0811e4 \
+                sha1 7aeab848682c3ac7cd9ba54e4c96199f9fdf25e5 \
+                rmd160 db62576ba6976cc1efe17680b6a6da5237dba425
 destroot.destdir	prefix=${destroot}${prefix}
 depends_lib	port:ncursesw
 
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}-${version}
+
+    xinstall -m 0755 -d ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} NEWS README ${destroot}${docdir}
+}
+
 livecheck.check regex
 livecheck.url   ${homepage}news.html
 livecheck.regex "The current released version is ${name}-(\[0-9\]+)\\."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/b7e9425d/attachment.html


More information about the macports-changes mailing list