aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmlc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-20 18:56:07 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-20 18:56:07 +0000
commit20ffeb0bb106c3f1452878c00e7e99cfecbcfedc (patch)
tree0e390eafb507df254f8963e62c42d7897cd003de /textproc/htmlc
parent81cc0d7cf385f491f147ae9bdc10c66aa8fece07 (diff)
Notes
Diffstat (limited to 'textproc/htmlc')
-rw-r--r--textproc/htmlc/Makefile10
1 files changed, 4 insertions, 6 deletions
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 <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>