[25319] trunk/dports/www/urlview
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 18 13:58:13 PDT 2007
Revision: 25319
http://trac.macosforge.org/projects/macports/changeset/25319
Author: vinc17 at macports.org
Date: 2007-05-18 13:58:13 -0700 (Fri, 18 May 2007)
Log Message:
-----------
urlview 0.9 revision 1:
* Took the maintainership.
* Fixed homepage URL (URL was no longer valid).
* Depends on ncurses.
* Fixed man page installation (should be in destroot!).
* Use "open" instead of "url_handler.sh" as the default URL handler (see
explanations in the Portfile). No longer install "url_handler.sh".
* Copy doc files into ${prefix}/share/doc/urlview.
Revision Links:
--------------
http://trac.macosforge.org/projects/macports/changeset/1
Modified Paths:
--------------
trunk/dports/www/urlview/Portfile
Removed Paths:
-------------
trunk/dports/www/urlview/files/
Modified: trunk/dports/www/urlview/Portfile
===================================================================
--- trunk/dports/www/urlview/Portfile 2007-05-18 20:34:11 UTC (rev 25318)
+++ trunk/dports/www/urlview/Portfile 2007-05-18 20:58:13 UTC (rev 25319)
@@ -1,26 +1,43 @@
# $Id$
PortSystem 1.0
-name urlview
-version 0.9
-categories www
-maintainers nomaintainer at macports.org
-description URL extractor/launcher
-homepage ftp://ftp.mutt.org/contrib/
-platforms darwin
+name urlview
+version 0.9
+revision 1
+categories www
+maintainers vincent-opdarw at vinc17.org
+description URL extractor/launcher
+homepage ftp://ftp.mutt.org/mutt/contrib/
+platforms darwin
-long_description Urlview is a screen-oriented program for extracting \
- URLs from text files. It displays a menu from which \
- you can launch a command to view a specific item.
+long_description Urlview is a screen-oriented program for extracting \
+ URLs from text files. It displays a menu from which \
+ you can launch a command to view a specific item.
-master_sites ftp://ftp.mutt.org/mutt/contrib/
+master_sites ftp://ftp.mutt.org/mutt/contrib/
-checksums md5 67731f73e69297ffd106b65c8aebb2ab
+checksums md5 67731f73e69297ffd106b65c8aebb2ab \
+ sha1 e366312a7dd04eb38909a36f854c502fbe81f4be
-patchfiles patch-url_handler.sh
+depends_lib port:ncurses
-post-patch { reinplace "s|!!PREFIX!!|${destroot}${prefix}|g" \
- ${worksrcpath}/url_handler.sh }
+# ${destroot} must be used as Makefile.am doesn't take DESTDIR
+# into account for the man page installation (this is a bug).
+configure.args --mandir=${destroot}${prefix}/share/man
-post-destroot { system "install -o root -m 755 ${worksrcpath}/url_handler.sh \
- ${destroot}${prefix}/bin" }
+# There are 3 problems with the url_handler.sh script:
+# * The provided script is out-of-date.
+# * It was not designed for Mac OS X.
+# * Installing it leads to a conflict with another port (tin).
+# As the Mac OS X "open" command (which doesn't exist under Linux) does
+# exactly what url_handler.sh is supposed to do, let's use it instead.
+patch {
+ cd ${workpath}/${name}-${version}
+ reinplace "s|url_handler.sh|open|g" urlview.c urlview.man
+}
+
+pre-destroot {
+ file mkdir "${destroot}${prefix}/share/doc/${name}"
+ xinstall -m 644 AUTHORS COPYING ChangeLog README sample.urlview \
+ "${destroot}${prefix}/share/doc/${name}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070518/fef39975/attachment.html
More information about the macports-changes
mailing list