Lines 7-21
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= ledit |
9 |
PORTNAME= ledit |
10 |
PORTVERSION= 1.11 |
10 |
PORTVERSION= 2.00 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
13 |
MASTER_SITES= ftp://ftp.inria.fr/INRIA/cristal/Daniel.de_Rauglaudre/Tools/ \ |
12 |
MASTER_SITES= http://cristal.inria.fr/~ddr/ledit/distrib/src/ \ |
14 |
http://home.leo.org/~barner/freebsd/distfiles/ |
13 |
http://pauillac.inria.fr/~ddr/ledit/distrib/src/ |
|
|
14 |
EXTRACT_SUFX= .tgz |
15 |
|
15 |
|
16 |
MAINTAINER= barner@FreeBSD.org |
16 |
MAINTAINER= barner@FreeBSD.org |
17 |
COMMENT= Line editor to be used with interactive commands |
17 |
COMMENT= Line editor to be used with interactive commands |
18 |
|
18 |
|
|
|
19 |
BUILD_DEPENDS= camlp5r:${PORTSDIR}/devel/ocaml-camlp5 |
20 |
|
21 |
USE_GMAKE= yes |
19 |
USE_OCAML= yes |
22 |
USE_OCAML= yes |
20 |
|
23 |
|
21 |
ALL_TARGET= all ledit.opt |
24 |
ALL_TARGET= all ledit.opt |
Lines 23-31
ALL_TARGET= all ledit.opt
Link Here
|
23 |
PLIST_FILES= bin/ledit |
26 |
PLIST_FILES= bin/ledit |
24 |
|
27 |
|
25 |
MAN1= ledit.1 |
28 |
MAN1= ledit.1 |
|
|
29 |
PORTDOCS= CHANGES LICENSE README |
30 |
|
31 |
.include <bsd.port.pre.mk> |
26 |
|
32 |
|
27 |
do-install: |
33 |
do-configure: |
28 |
${INSTALL_PROGRAM} ${WRKSRC}/ledit.out ${PREFIX}/bin/ledit |
34 |
${REINPLACE_CMD} -e '/^BINDIR=/s;/usr/local;${PREFIX};' \ |
29 |
${INSTALL_MAN} ${WRKSRC}/ledit.l ${MANPREFIX}/man/man1/ledit.1 |
35 |
-e '/^LIBDIR=/s;/usr/local;${PREFIX};' \ |
|
|
36 |
-e '/^MANDIR=/s;/usr/local;${PREFIX};' \ |
37 |
${WRKSRC}/Makefile |
38 |
|
39 |
post-install: |
40 |
.if !defined(NOPORTDOCS) |
41 |
@${MKDIR} ${DOCSDIR} |
42 |
. for f in ${PORTDOCS} |
43 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
44 |
. endfor |
45 |
.endif |
30 |
|
46 |
|
31 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.post.mk> |