blob: 2a47505a81ff4d426948e0115e51c8c3ddb85091 (
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
|
PORTNAME= ledit
PORTVERSION= 2.06
CATEGORIES= sysutils
MAINTAINER= k@stereochro.me
COMMENT= Line editor to be used with interactive commands
WWW= http://cristal.inria.fr/~ddr/ledit/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= camlp5r:devel/ocaml-camlp5 \
${OCAMLFIND_DEPEND}
USES= gmake ocaml
USE_GITHUB= yes
GH_ACCOUNT= chetmurthy
GH_TAGNAME= ledit-${PORTVERSION:S/./-/}
ALL_TARGET= all ledit.opt
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
do-configure:
${REINPLACE_CMD} -e '/^INCLUDES=/s|-I +../camlp-streams|-I +site-lib/camlp-streams|' \
-e '/^CAMLP5=/s|-I +../camlp-streams|-I +site-lib/camlp-streams|' \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ledit.opt ${STAGEDIR}${PREFIX}/bin/ledit
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1
@${INSTALL_MAN} ${WRKSRC}/ledit.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>
|