mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
1c6997db08
- Pet portlint(1) by moving LICENSE section earlier Changes: http://cristal.inria.fr/~ddr/ledit/CHANGES PR: ports/165626 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
52 lines
1.0 KiB
Makefile
52 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ledit
|
|
# Date created: Feb 8, 2005
|
|
# Whom: Marwan Burelle <marwan.burelle@lri.fr>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ledit
|
|
PORTVERSION= 2.03
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://cristal.inria.fr/~ddr/ledit/distrib/src/ \
|
|
http://pauillac.inria.fr/~ddr/ledit/distrib/src/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Line editor to be used with interactive commands
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= camlp5r:${PORTSDIR}/devel/ocaml-camlp5
|
|
|
|
USE_GMAKE= yes
|
|
USE_OCAML= yes
|
|
|
|
ALL_TARGET= all ledit.opt
|
|
|
|
PLIST_FILES= bin/ledit
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
MAN1= ledit.1
|
|
PORTDOCS= CHANGES LICENSE README
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-configure:
|
|
${REINPLACE_CMD} -e '/^BINDIR=/s;/usr/local;${PREFIX};' \
|
|
-e '/^LIBDIR=/s;/usr/local;${PREFIX};' \
|
|
-e '/^MANDIR=/s;/usr/local;${PREFIX};' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
. for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
. endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|