[91348] trunk/dports/devel/dialog/Portfile
jwa at macports.org
jwa at macports.org
Fri Mar 30 08:22:31 PDT 2012
Revision: 91348
https://trac.macports.org/changeset/91348
Author: jwa at macports.org
Date: 2012-03-30 08:22:30 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
add subport to install library and headers, closing #30914
Modified Paths:
--------------
trunk/dports/devel/dialog/Portfile
Modified: trunk/dports/devel/dialog/Portfile
===================================================================
--- trunk/dports/devel/dialog/Portfile 2012-03-30 15:14:53 UTC (rev 91347)
+++ trunk/dports/devel/dialog/Portfile 2012-03-30 15:22:30 UTC (rev 91348)
@@ -10,13 +10,10 @@
license LGPL-2.1
maintainers jwa
-description A utility to create nice user interfaces to shell scripts, \
- or other scripting languages, such as perl.
+description a utility to create nice user interfaces for command-line scripts
-long_description Dialog is a utility to create nice user interfaces to shell \
- scripts, or other scripting languages, such as perl. It is \
- non-graphical (it uses curses) so it can be run in the \
- console or an xterm. There are also graphical Xwindows versions.
+long_description ${name} is ${description}. It is non-graphical (it uses \
+ curses) so it can be run in the console or an xterm.
platforms darwin
homepage http://www.invisible-island.net/dialog/
@@ -35,6 +32,10 @@
configure.args --mandir=${prefix}/share/man \
--with-ncursesw
+if {${name} == ${subport}} {
+
+ installs_libs no
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README VERSION \
@@ -61,3 +62,15 @@
livecheck.type regex
livecheck.url [lindex ${master_sites} end]
livecheck.regex ${name}-(\[0-9.-\]+)${extract.suffix}
+} else {
+ livecheck.type none
+}
+
+subport libdialog {
+ description a library to create nice user interfaces for command-line programs
+
+ long_description ${name} is ${description}. It is non-graphical (it uses \
+ curses) so it can be used in console or xterm programs.
+
+ destroot.target install-lib
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120330/194e0405/attachment.html>
More information about the macports-changes
mailing list