1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Fix usage of UTF8 locales.

PR:		123311
Submitted by:	Dmitry Klimov <lazyklimm@gmail.com>
This commit is contained in:
Dmitry Sivachenko 2008-05-20 08:17:23 +00:00
parent 198ae809c4
commit 1d25a22e4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213374
2 changed files with 22 additions and 1 deletions

View File

@ -7,10 +7,16 @@
PORTNAME= links PORTNAME= links
DISTVERSION= 2.1pre36 DISTVERSION= 2.1pre36
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES?= www CATEGORIES?= www
MASTER_SITES= http://links.twibright.com/download/ 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 MAINTAINER?= demon@FreeBSD.org
COMMENT= Lynx-like text WWW browser COMMENT= Lynx-like text WWW browser
@ -27,7 +33,9 @@ USE_BZIP2= yes
OPTIONS= SVGALIB "non-X11 graphics support" off \ OPTIONS= SVGALIB "non-X11 graphics support" off \
DIRECTFB "directfb driver 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> .include <bsd.port.pre.mk>
@ -61,6 +69,16 @@ CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --without-x CONFIGURE_ARGS+= --without-x
.endif .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 MAN1= links.1
PLIST_FILES= bin/links PLIST_FILES= bin/links

View File

@ -1,3 +1,6 @@
MD5 (links-2.1pre36.tar.bz2) = 6b0d3fca0c557fdfacf9d723b3c345a6 MD5 (links-2.1pre36.tar.bz2) = 6b0d3fca0c557fdfacf9d723b3c345a6
SHA256 (links-2.1pre36.tar.bz2) = 1d8963e748e26414b4de2877bdd75f74c6af0b64b1407f26b6131cc92eb58c04 SHA256 (links-2.1pre36.tar.bz2) = 1d8963e748e26414b4de2877bdd75f74c6af0b64b1407f26b6131cc92eb58c04
SIZE (links-2.1pre36.tar.bz2) = 3824394 SIZE (links-2.1pre36.tar.bz2) = 3824394
MD5 (links-2.1pre33-utf8.diff.bz2) = 82ba3c492079f8664743ce03446433a3
SHA256 (links-2.1pre33-utf8.diff.bz2) = a34de30b787e6bab984cd5000c7a576f157437f622e9fe3a076808769a56db75
SIZE (links-2.1pre33-utf8.diff.bz2) = 4793