blob: a57bd21a57f59bae235606b65fd89bbd08fc4382 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= liblouis
PORTVERSION= 2.5.4
CATEGORIES= devel
MASTER_SITES= http://www.liblouis.org/downloads/
MAINTAINER= wen@FreeBSD.org
COMMENT= Open-source Braille Translator And Back-translator
LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
USES= gmake libtool
GNU_CONFIGURE= 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} ${STAGEDIR}${DATADIR}/tables
${INSTALL_DATA} ${WRKSRC}/tables/*.dic ${STAGEDIR}${DATADIR}/tables/
${INSTALL_DATA} ${WRKSRC}/tables/*.ctb ${STAGEDIR}${DATADIR}/tables/
${INSTALL_DATA} ${WRKSRC}/tables/*.utb ${STAGEDIR}${DATADIR}/tables/
${INSTALL_DATA} ${WRKSRC}/tables/*.cti ${STAGEDIR}${DATADIR}/tables/
${INSTALL_DATA} ${WRKSRC}/tables/*.dis ${STAGEDIR}${DATADIR}/tables/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in liblouis.html liblouis.txt
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|