aboutsummaryrefslogtreecommitdiff
path: root/devel/libslang
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-05-14 14:55:31 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-05-14 14:55:31 +0000
commit80ef72e9629e312f67927dde5453f3ee2f629b48 (patch)
treebe9ad990f84bfac212b2bf137b5eb3cdbb767e4a /devel/libslang
parent091b95431797e5eefd276779a482dd793c0fe8a5 (diff)
downloadports-80ef72e9629e312f67927dde5453f3ee2f629b48.tar.gz
ports-80ef72e9629e312f67927dde5453f3ee2f629b48.zip
Notes
Diffstat (limited to 'devel/libslang')
-rw-r--r--devel/libslang/Makefile11
-rw-r--r--devel/libslang/distinfo3
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 422104d09f8f..86e1bd89e753 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -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
diff --git a/devel/libslang/distinfo b/devel/libslang/distinfo
index a02cca14ced7..9ad959297c99 100644
--- a/devel/libslang/distinfo
+++ b/devel/libslang/distinfo
@@ -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