diff options
author | danfe <danfe@FreeBSD.org> | 2014-03-16 00:17:42 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-03-16 00:17:42 +0800 |
commit | 62cd3cb91964821d430af97f54daf90aa4af114d (patch) | |
tree | 0af98f01c7d64ca806f21cb1381e6538574a68e1 /vietnamese/libviet | |
parent | c2a651ea9b0d62e05711f306799be683e88c2cb7 (diff) | |
download | freebsd-ports-gnome-62cd3cb91964821d430af97f54daf90aa4af114d.tar.gz freebsd-ports-gnome-62cd3cb91964821d430af97f54daf90aa4af114d.tar.zst freebsd-ports-gnome-62cd3cb91964821d430af97f54daf90aa4af114d.zip |
Stagify, generally cleanup Makefile, provide more useful port description.
Diffstat (limited to 'vietnamese/libviet')
-rw-r--r-- | vietnamese/libviet/Makefile | 30 | ||||
-rw-r--r-- | vietnamese/libviet/pkg-descr | 10 |
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 |