1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build

PR:		ports/188387
Submitted by:	maintainer
Reported by:	pkg-fallout
This commit is contained in:
Antoine Brodin 2014-04-20 18:56:07 +00:00
parent 81cc0d7cf3
commit 20ffeb0bb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351628

View File

@ -6,14 +6,13 @@ PORTVERSION= 2.21.0
CATEGORIES= textproc
MASTER_SITES= http://htmlc.inria.fr/ \
http://caml.inria.fr/distrib/bazar-ocaml/htmlc/
EXTRACT_SUFX= .tgz
MAINTAINER= beyert@cs.ucr.edu
COMMENT= A text file generator
COMMENT= Text file generator
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
USES= gmake
USES= gmake tar:tgz
PLIST_FILES= bin/htmlc bin/htmlc.byt share/htmlc/env
PLIST_DIRS= share/htmlc
@ -23,12 +22,11 @@ PORTDOCS= LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${LOCALBASE}
.include <bsd.port.pre.mk>
post-patch:
${RM} -f ${WRKSRC}/doc/Makefile
${TOUCH} ${WRKSRC}/doc/Makefile
${ECHO} "all:" > ${WRKSRC}/doc/Makefile
${REINPLACE_CMD} 's|-warn-error A||g' ${WRKSRC}/config/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc ${STAGEDIR}${PREFIX}/bin
@ -47,4 +45,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/fra.htm ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/index.htm ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>