summaryrefslogtreecommitdiff
path: root/devel/liblouisxml/Makefile
blob: c0b6e8bcabd5d7978de63aaf7f3f80565a9aa5d3 (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
49
50
51
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	liblouisxml
PORTVERSION=	2.4.0
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Library Provide Complete Braille Transcription Services

LICENSE=	LGPL3+ GPLv3+
LICENSE_COMB=	multi

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

RUN_DEPENDS=	${LOCALBASE}/bin/bash:shells/bash
LIB_DEPENDS=	liblouis.so:devel/liblouis

GNU_CONFIGURE=	yes
USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes
USE_GNOME=	libxml2
USE_GCC=	yes

INFO=		liblouisxml

OPTIONS_DEFINE=	DOCS

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:
	${INSTALL_DATA} ${WRKSRC}/doc/liblouisxml.info ${STAGEDIR}${PREFIX}/info

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in liblouisxml.html liblouisxml.txt
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>