aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/htmlc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-04-21 02:56:07 +0800
committerantoine <antoine@FreeBSD.org>2014-04-21 02:56:07 +0800
commitbbe6a3ba147df4f08805411e6696651bfc45c743 (patch)
tree0e390eafb507df254f8963e62c42d7897cd003de /textproc/htmlc
parent424b392e32be7c361cea3cd70ca7951990c66ec3 (diff)
downloadfreebsd-ports-gnome-bbe6a3ba147df4f08805411e6696651bfc45c743.tar.gz
freebsd-ports-gnome-bbe6a3ba147df4f08805411e6696651bfc45c743.tar.zst
freebsd-ports-gnome-bbe6a3ba147df4f08805411e6696651bfc45c743.zip
Fix build
PR: ports/188387 Submitted by: maintainer Reported by: pkg-fallout
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>