[153153] trunk/dports/www/links/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Sep 25 19:39:46 PDT 2016
Revision: 153153
https://trac.macports.org/changeset/153153
Author: ryandesign at macports.org
Date: 2016-09-25 19:39:46 -0700 (Sun, 25 Sep 2016)
Log Message:
-----------
links: update to 2.13
Opportunistically linked dependencies are moved to variants.
Resolves #52354
Modified Paths:
--------------
trunk/dports/www/links/Portfile
Modified: trunk/dports/www/links/Portfile
===================================================================
--- trunk/dports/www/links/Portfile 2016-09-26 02:03:50 UTC (rev 153152)
+++ trunk/dports/www/links/Portfile 2016-09-26 02:39:46 UTC (rev 153153)
@@ -4,8 +4,7 @@
PortSystem 1.0
name links
-version 2.12
-revision 1
+version 2.13
description Lynx-like WWW browser that supports tables, menus, etc
long_description \
@@ -17,31 +16,50 @@
license GPL-2+
homepage http://links.twibright.com/
master_sites http://links.twibright.com/download/
-checksums rmd160 a40fbb6d821c2702a435ed66e375ca2cd2639003 \
- sha256 98411811ded1e8028f5aed708dd7d8ec0ae63ce24c2991a0241a989b7d09d84e
+checksums rmd160 f1f29ed90b2c7e397ab53fbd589ece5f2462456b \
+ sha256 c252095334a3b199fa791c6f9a9affe2839a7fbd536685ab07851cb7efaa4405
+
maintainers nomaintainer
use_bzip2 yes
depends_build port:pkgconfig
depends_lib path:lib/libssl.dylib:openssl \
port:bzip2 \
- port:jpeg \
- port:libpng \
port:zlib \
port:xz
-configure.args --enable-javascript --without-svgalib \
- --mandir=${prefix}/share/man --with-ssl
+configure.args --disable-graphics \
+ --enable-javascript \
+ --mandir=${prefix}/share/man \
+ --with-ssl \
+ --without-libjpeg \
+ --without-libpng \
+ --without-librsvg \
+ --without-libtiff \
+ --without-openmp \
+ --without-x
post-patch {
reinplace s|/etc/|${prefix}/etc/| ${workpath}/${worksrcdir}/default.c
}
+variant svg requires x11 description {Enable SVG support} {
+ depends_lib-append port:librsvg
+ configure.args-replace --without-librsvg --with-librsvg
+}
+
+variant tiff requires x11 description {Enable TIFF support} {
+ depends_lib-append port:tiff
+ configure.args-replace --without-libtiff --with-libtiff
+}
+
variant x11 {
- depends_lib-append port:jpeg \
- port:xorg-libXt
- configure.args-append --enable-graphics --with-x
+ depends_lib-append port:jpeg port:libpng port:xorg-libXt
+ configure.args-replace --disable-graphics --enable-graphics
+ configure.args-replace --without-libjpeg --with-libjpeg
+ configure.args-replace --without-libpng --with-libpng
+ configure.args-replace --without-x --with-x
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160925/3ed0308a/attachment.html>
More information about the macports-changes
mailing list