summaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-03-15 16:17:42 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-03-15 16:17:42 +0000
commit4cc893b37b7d3c8b5aa5b340ecb207de7c228ae1 (patch)
tree0af98f01c7d64ca806f21cb1381e6538574a68e1 /vietnamese
parentKill bogus EOL whitespace. (diff)
Stagify, generally cleanup Makefile, provide more useful port description.
Notes
Notes: svn path=/head/; revision=348338
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/libviet/Makefile30
-rw-r--r--vietnamese/libviet/pkg-descr10
2 files changed, 23 insertions, 17 deletions
diff --git a/vietnamese/libviet/Makefile b/vietnamese/libviet/Makefile
index 33f26d8efe1c..86718863b9b1 100644
--- a/vietnamese/libviet/Makefile
+++ b/vietnamese/libviet/Makefile
@@ -1,31 +1,29 @@
-# Created by: David O'Brien (obrien@NUXI.com)
+# Created by: David O'Brien <obrien@NUXI.com>
# $FreeBSD$
PORTNAME= libviet
PORTVERSION= 20010210
PORTREVISION= 1
CATEGORIES= vietnamese devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
MAINTAINER= obrien@FreeBSD.org
COMMENT= VIQR<->VISCII conversion and VISCII ctype-like routines
+USES= tar:bzip2
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/lib
-USE_BZIP2= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- @${INSTALL_DATA} ${WRKSRC}/libvntype.a ${WRKSRC}/libviqr.a \
- ${PREFIX}/lib
- @${MKDIR} ${PREFIX}/include/viet
- @cd ${WRKSRC}/../include ; ${INSTALL_DATA} \
- charset.h charseta.h charsetv.h ctype.h portable.h vncompos.h vnkeys.h vntype.h \
- ${PREFIX}/include/viet
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR} \
- && ${CHMOD} a+rx ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/../README.lib ${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/libvntype.a ${WRKSRC}/libviqr.a \
+ ${STAGEDIR}${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/include/viet
+ (cd ${WRKSRC}/../include && ${INSTALL_DATA} charset.h charseta.h \
+ charsetv.h ctype.h portable.h vncompos.h vnkeys.h vntype.h \
+ ${STAGEDIR}${PREFIX}/include/viet)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../README.lib ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/vietnamese/libviet/pkg-descr b/vietnamese/libviet/pkg-descr
index d9431506e719..3e6c3a321f4b 100644
--- a/vietnamese/libviet/pkg-descr
+++ b/vietnamese/libviet/pkg-descr
@@ -1 +1,9 @@
-VIQR<->VISCII (RFC 1456) conversion and VISCII ctype-like routines
+This port offers VIQR<->VISCII (RFC 1456) conversion and VISCII ctype-like
+routines for Vietnamese text processing. Of prime interest is the finite
+state machine that reads 7-bit Viet-Net style Vietnamese and produces 8-bit
+output. Developers are encouraged to take advantage of these routines for
+these reasons:
+
+ - Parsing task is greatly simplified
+ - Makes one's code easier to port from one character encoding to another
+ - Ensures a consistent user interface across many software packages