[27588] trunk/dports/textproc/most/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 9 06:09:00 PDT 2007


Revision: 27588
          http://trac.macosforge.org/projects/macports/changeset/27588
Author:   nox at macports.org
Date:     2007-08-09 06:09:00 -0700 (Thu, 09 Aug 2007)

Log Message:
-----------
most:
* Now uses configure args instead of destroot pseudo-environment variables.
* Added livecheck.
* Added x11 variant.
* Taken over (with openmaintainer).

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

Modified: trunk/dports/textproc/most/Portfile
===================================================================
--- trunk/dports/textproc/most/Portfile	2007-08-09 12:55:58 UTC (rev 27587)
+++ trunk/dports/textproc/most/Portfile	2007-08-09 13:09:00 UTC (rev 27588)
@@ -4,21 +4,30 @@
 name             most
 version          4.10.2
 categories       textproc
-maintainers      nomaintainer at macports.org
+maintainers      nox openmaintainer
 description      powerful paging program
 long_description \
     MOST is a powerful paging program for Unix, VMS, MSDOS, and \
     win32 systems. Unlike other well-known paging programs \
     most supports multiple windows and can scroll left and right. \
     Why settle for less?
-homepage         http://www.jedsoft.org/most/
+homepage         http://www.jedsoft.org/${name}/
 platforms        darwin
-master_sites     ftp://space.mit.edu/pub/davis/most/
+master_sites     ftp://space.mit.edu/pub/davis/${name}/
 use_bzip2        yes
 checksums        md5 99a24b6989ac81f436791b957b2e171a \
                  sha1 ae0f271d9a0bc1db9944cced78cc9f76818aabf3 \
                  rmd160 5fca40fad3455bbaea9949268f53496055359b49
 depends_lib      port:slang
 
-destroot.destdir-append MAN_DIR=${prefix}/share/man \
-                        DOC_DIR=${prefix}/share/doc/most
+configure.args  --mandir=${prefix}/share/man \
+                --docdir=${prefix}/share/doc/${name}-${version}
+
+variant x11 description {Enable X11 support} {
+    depends_lib-append      lib:libX11.6:XFree86
+    configure.args-append   --with-x
+}
+
+livecheck.check regex
+livecheck.url   ${homepage}
+livecheck.regex {Version (\d+(?:\.\d+)*)<br>}

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


More information about the macports-changes mailing list