blob: 3118d4e639086ca1d88f59641773970cd1462990 (
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
39
|
# Created by: Marwan Burelle <marwan.burelle@lri.fr>
# $FreeBSD$
PORTNAME= ledit
PORTVERSION= 2.03
CATEGORIES= sysutils
MASTER_SITES= http://cristal.inria.fr/%SUBDIR%/ \
http://pauillac.inria.fr/%SUBDIR%/
MASTER_SITE_SUBDIR= ~ddr/${PORTNAME}/distrib/src
MAINTAINER= k@stereochro.me
COMMENT= Line editor to be used with interactive commands
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= camlp5r:devel/ocaml-camlp5
USES= gmake tar:tgz
USE_OCAML= yes
ALL_TARGET= all ledit.opt
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
do-configure:
${REINPLACE_CMD} -e '/^BINDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
-e '/^LIBDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
-e '/^MANDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ledit
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|