Skip to content
Permalink
Browse files

Add x11 variant

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1032 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Oct 11, 2002
1 parent b98b2af commit 27e0a8b79f3b6d65f3029666783af5ec25ec89a4
Showing with 11 additions and 2 deletions.
  1. +11 −2 www/links/Portfile
@@ -1,6 +1,6 @@
PortSystem 1.0
name links
version 2.0
version 2.1pre3
description Lynx-like WWW browser that supports tables, menus, etc

long_description Lynx-like WWW browser that supports tables, menus, \
@@ -12,9 +12,18 @@ master_sites http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/\
http://unixpages.org/distfiles/
maintainers landonf@opendarwin.org
use_bzip2 yes
checksums md5 c41b3dea2c4a93ed77636db3c67807e2
checksums md5 6c6fb4d5ae15c626599adf69f31ad67f

patchfiles patch-x.c

configure.args --enable-javascript --with-ssl --without-svgalib
post-patch { reinplace s|/etc/|${prefix}/etc/| ${workpath}/${worksrcdir}/default.c }

variant x11 {
depends_lib lib:libpng.3:libpng lib:libjpeg.9:jpeg
configure.env CPPFLAGS=-I${prefix}/include\\ -no-cpp-precomp \
LDFLAGS=-L${prefix}/lib
configure.args-append --enable-graphics --with-x
}

contents bin/links man/man1/links.1

0 comments on commit 27e0a8b

Please sign in to comment.
You can’t perform that action at this time.