blob: 30c3cee213af64c4958162aef43d7a73ec5f4fbe (
plain)
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
39
40
41
42
43
44
45
46
47
48
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= liblouisxml
PORTVERSION= 2.4.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= wen@FreeBSD.org
COMMENT= Library Provide Complete Braille Transcription Services
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= liblouis.so:${PORTSDIR}/devel/liblouis
GNU_CONFIGURE= yes
USES= pkgconfig gmake libtool
USE_LDCONFIG= yes
USE_GNOME= libxml2
USE_GCC= yes
INFO= liblouisxml
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@${REINPLACE_CMD} -e \
's#@libdir@#${PREFIX}/libdata#g' ${WRKSRC}/Makefile.in
post-build:
.for i in msword2brl xml2brl pdf2brl rtf2brl
@${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/bin/bash#g' ${WRKSRC}/tools/${i}
.endfor
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in liblouisxml.html liblouisxml.txt
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
${INSTALL_MAN} ${WRKSRC}/doc/liblouisxml.info ${STAGEDIR}${PREFIX}/info
.include <bsd.port.mk>
|