1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

- Fix cduce to work with new ocaml-net version

- Don't build CGI, as netcgi1 is no longer supported
  and cduce doesn't work with netcgi2
- Bump PORTREVISION

Reported by:	pointyhat via pav
This commit is contained in:
Johan van Selst 2011-04-11 22:37:45 +00:00
parent 357bfa8da6
commit 0ed3ec300a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272548

View File

@ -6,7 +6,7 @@
PORTNAME= cduce
PORTVERSION= 0.5.3
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.cduce.org/download/ \
ftp://ftp.stack.nl/pub/users/johans/cduce/
@ -31,12 +31,12 @@ USE_GMAKE= yes
ALL_TARGET= all
INSTALL_TARGET= install_bin install_lib
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --with-ocamlopt --with-cgi --without-netclient --without-pxp_wlex --docdir=${DOCSDIR}
CONFIGURE_ARGS= --prefix=${PREFIX} --with-ocamlopt --without-cgi --without-netclient --without-pxp_wlex --docdir=${DOCSDIR}
SITELIBDIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
MAN1= cduce.1 cduce_mktop.1 dtd2cduce.1
PLIST_FILES= bin/cduce bin/dtd2cduce
PLIST_FILES= bin/cduce
.include <bsd.port.pre.mk>
@ -73,6 +73,10 @@ INSTALL_TARGET+= install_doc
PORTDOCS= *
.endif
post-patch:
${REINPLACE_CMD} 's/-linkpkg/& -thread/' \
${WRKSRC}/Makefile ${WRKSRC}/configure.ml
post-install:
.if defined(WITH_OCAML_EXPAT)
@${ECHO_CMD} "****************************************************************"