mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
39b0375436
It features support for computer and literary braille, supports contracted and uncontracted translation for many, many languages and has support for hyphenation. New languages can easily be added through tables that support a rule- or dictionary based approach. Included are also tools for testing and debugging tables. Liblouis also supports math braille (Nemeth and Marburg). The formatting of braille is provided by the companion project liblouisxml. WWW: http://code.google.com/p/liblouis/ PR: ports/131464 Submitted by: Wen Heping <wenheping at gmail.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: liblouis
|
|
# Date created: 06 Feb 2009
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= liblouis
|
|
PORTVERSION= 1.5.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= An Open-source Braille Translator And Back-translator
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
post-extract:
|
|
@${REINPLACE_CMD} -e \
|
|
's#@libdir@#${PREFIX}/libdata#g' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's#tables doc tests python#tests python#g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${DATADIR}/tables
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.dic ${DATADIR}/tables/
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.ctb ${DATADIR}/tables/
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.utb ${DATADIR}/tables/
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.cti ${DATADIR}/tables/
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.utb2 ${DATADIR}/tables/
|
|
${INSTALL_DATA} ${WRKSRC}/tables/*.dis ${DATADIR}/tables/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in liblouis-guide.html liblouis-guide.txt
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|