Add optional UTF-8 support

PR:		ports/97241
Submitted by:	Rong-En Fan <rafan@infor.org>
This commit is contained in:
Renato Botelho 2006-05-14 14:55:31 +00:00
parent 091b954317
commit 80ef72e962
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162338
2 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,8 @@ DISTNAME= slang-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= Routines for rapid alpha-numeric terminal applications development
OPTIONS= UTF8 "Enable UTF-8 support" off
USE_BZIP2= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -34,6 +36,15 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
.if defined(WITH_UTF8)
PATCH_SITES+= http://www.emaillab.org/mutt/tools/
PATCHFILES+= slang-1.4.8-utf8.diff.gz
PATCH_DIST_STRIP+= -p1
post-patch:
@${REINPLACE_CMD} 's,slang-utf8,slang,' ${WRKSRC}/src/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/src && ${MAKE} install_docs

View File

@ -1,3 +1,6 @@
MD5 (slang-1.4.9.tar.bz2) = 4fbb1a7f1257e065ca830deefe13d350
SHA256 (slang-1.4.9.tar.bz2) = fa42e57e902f2161dc2b297e0dcb24ca180024770afa379027db582803ffa2fa
SIZE (slang-1.4.9.tar.bz2) = 631079
MD5 (slang-1.4.8-utf8.diff.gz) = 2946c6369edbf6c0c0f587a1fdc7c4cf
SHA256 (slang-1.4.8-utf8.diff.gz) = b41f6bda4378631c3f76756a92b7819a722e14070aba211a452b45fd86a40bea
SIZE (slang-1.4.8-utf8.diff.gz) = 6369