diff --git a/lang/cduce/Makefile b/lang/cduce/Makefile index 699d08e8654d..458a578798f8 100644 --- a/lang/cduce/Makefile +++ b/lang/cduce/Makefile @@ -1,107 +1,107 @@ # New ports collection makefile for: cduce # Date created: Jun 9, 2005 # Whom: Marwan Burelle # # $FreeBSD$ PORTNAME= cduce -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.1 CATEGORIES= lang MASTER_SITES= http://www.cduce.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= An efficient XML centric functionnal programming language LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre-utf8 BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ ocamlfind:${PORTSDIR}/devel/ocaml-findlib \ ${LOCALBASE}/lib/ocaml/site-lib/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex \ ${LOCALBASE}/lib/ocaml/site-lib/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre \ ${LOCALBASE}/lib/ocaml/site-lib/netstring/netstring.a:${PORTSDIR}/www/ocaml-net RUN_DEPENDS= ocamlfind:${PORTSDIR}/devel/ocaml-findlib # Support for url via ftp/ocaml-ocurl .if defined(WITH_OCURL) BROKEN= error while linking curl.cma - please do not enable Curl support until fixed. BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/curl/curl.cmi:${PORTSDIR}/ftp/ocaml-ocurl .endif # Support for the PXP XML parser .if defined(WITH_OCAML_EXPAT) BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/expat/expat.cmi:${PORTSDIR}/textproc/ocaml-expat .else BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/pxp-engine/pxp_engine.cma:${PORTSDIR}/textproc/ocaml-pxp .endif # Configure : use ocamlopt and don't look for netclient or pxp_wlex HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --with-ocamlopt --without-netclient --without-pxp_wlex # Be sure to not build ocurl support if WITH_OCURL is not defined, # even if ocurl is present. .if !defined(WITH_OCURL) CONFIGURE_ARGS+= --without-curl .endif # Be sure to build with PXP or expat but not both. .if defined(WITH_OCAML_EXPAT) CONFIGURE_ARGS+= --with-expat --without-pxp .else CONFIGURE_ARGS+= --without-expat --with-pxp .endif # Support for OCaml/CDuce interface .if !defined(WITHOUT_MLIFACE) BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/lang/ocaml:patch CONFIGURE_ARGS+= --mliface=`cd ${PORTSDIR}/lang/ocaml; ${MAKE} -V WRKSRC` .endif USE_GMAKE= yes ALL_TARGET= all INSTALL_TARGET= install MAKE_ENV= OCAMLFIND_DESTDIR="${PREFIX}/lib/ocaml/site-lib" .if !defined(NOPORTDOCS) CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/${PORTNAME} ALL_TARGET+= doc INSTALL_TARGET+= install_doc PORTDOCS= * .endif MAN1= cduce.1 cduce_mktop.1 dtd2cduce.1 PKGDEINSTALL= ${PKGINSTALL} FINDLIB_PKGNAME=${PORTNAME} PLIST_FILES= bin/cduce bin/dtd2cduce .if !defined(WITHOUT_MLIFACE) PLIST_FILES+= bin/cduce_mktop .endif post-install: @${FIND} ${PREFIX}/lib/ocaml/site-lib/${FINDLIB_PKGNAME} -type f | \ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} @${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${FINDLIB_PKGNAME}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ocamlfind remove ${FINDLIB_PKGNAME} 2>/dev/null || true" >> ${TMPPLIST} @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .if defined(WITH_OCAML_EXPAT) @${ECHO_CMD} "****************************************************************" @${ECHO_CMD} "* You choose Expat as XML parser, you may encounter some error *" @${ECHO_CMD} "* when loading XML files with external DTD. *" @${ECHO_CMD} "****************************************************************" .endif pre-everything:: @${ECHO} "" @${ECHO} "You may define the following build options:" @${ECHO} "" @${ECHO} " WITH_CURL Enable url support via ftp/ocaml-ocurl (=> no url support by default)" @${ECHO} " WITH_OCAML_EXPAT Enable support for the Expat XML parser." @${ECHO} " WITHOUT_MLIFACE Disable building OCaml/CDuce interface." @${ECHO} "" .include diff --git a/lang/cduce/distinfo b/lang/cduce/distinfo index 050545591807..353a90f1c711 100644 --- a/lang/cduce/distinfo +++ b/lang/cduce/distinfo @@ -1,3 +1,3 @@ -MD5 (cduce-0.4.0.tar.gz) = 94d8071f3a6c0b9b1fb23ee467818eb2 -SHA256 (cduce-0.4.0.tar.gz) = ebffaa9f78cce9080b5bb0576d27eb6e866ee7e6cd0362c8fffe43d1e4e71783 -SIZE (cduce-0.4.0.tar.gz) = 372280 +MD5 (cduce-0.4.1.tar.gz) = f4d0f973c8e6311b08aa0d73e638caac +SHA256 (cduce-0.4.1.tar.gz) = cb6b69f5903b55879ebb2cddb48cbe7d3c0408960c898ad1d7e7959cbfd3f1e2 +SIZE (cduce-0.4.1.tar.gz) = 382908 diff --git a/lang/cduce/files/patch-Makefile b/lang/cduce/files/patch-Makefile deleted file mode 100644 index 80579a74faa8..000000000000 --- a/lang/cduce/files/patch-Makefile +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile.orig Wed Apr 13 15:03:57 2005 -+++ Makefile Wed Apr 13 15:06:03 2005 -@@ -87,13 +87,12 @@ - $(HIDE)$(MAKE) NATIVE=false $@ - endif - --install: all install_bin install_lib install_doc -+install: all install_bin install_lib - - install_bin: - @echo "Install binaries" - $(HIDE)mkdir -p $(BINDIR) - $(HIDE)$(INSTALL) -m755 $(INSTALL_BINARIES) $(BINDIR)/ -- - - install_lib: - @echo "Build META"