aboutsummaryrefslogtreecommitdiff
path: root/www/links/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2008-05-20 08:17:23 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2008-05-20 08:17:23 +0000
commit1d25a22e4ee769334295766ff08e614e3b599162 (patch)
tree34e15238637e2a833d69934e6a710d22575e7d71 /www/links/Makefile
parent198ae809c4c6960269d606d0325bf640d55bb474 (diff)
Notes
Diffstat (limited to 'www/links/Makefile')
-rw-r--r--www/links/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/www/links/Makefile b/www/links/Makefile
index 26c1a9a2949a..f006941da3c9 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -7,10 +7,16 @@
PORTNAME= links
DISTVERSION= 2.1pre36
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= www
MASTER_SITES= http://links.twibright.com/download/
+PATCH_SITES= ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/ \
+ ftp://ftp.osuosl.org/pub/blfs/conglomeration/links/ \
+ ftp://ftp.ntua.gr/pub/linux/gentoo/distfiles/
+PATCH_DIST_STRIP=-p1
+
MAINTAINER?= demon@FreeBSD.org
COMMENT= Lynx-like text WWW browser
@@ -27,7 +33,9 @@ USE_BZIP2= yes
OPTIONS= SVGALIB "non-X11 graphics support" off \
DIRECTFB "directfb driver support" off \
- X11 "X11 graphics support" on
+ X11 "X11 graphics support" on \
+ UTF8 "With gentoo utf-8 patch" on \
+ TRANS "Hack for background transparency" off
.include <bsd.port.pre.mk>
@@ -61,6 +69,16 @@ CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --without-x
.endif
+.if defined(WITH_UTF8)
+PATCHFILES= links-2.1pre33-utf8.diff.bz2
+pre-configure:
+ pwd && cd ${WRKSRC}/intl && ./gen-intl && ./synclang && cd ..
+.endif
+
+.if defined(WITH_TRANS)
+EXTRA_PATCHES+= ${FILESDIR}/extra-terminal.c.diff
+.endif
+
MAN1= links.1
PLIST_FILES= bin/links