diff --git a/textproc/htmlc/Makefile b/textproc/htmlc/Makefile index 58d2d8acfa5a..949a7ab50214 100644 --- a/textproc/htmlc/Makefile +++ b/textproc/htmlc/Makefile @@ -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 - 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 +.include