# New ports collection makefile for: HaXml # Date created: 01 June 2002 # Whom: Oliver Braun # # $FreeBSD$ PORTNAME= haxml PORTVERSION= 1.12 CATEGORIES= textproc haskell MASTER_SITES= http://www.haskell.org/HaXml/ \ ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/ \ http://www.mirror.ac.uk/sites/www.haskell.org/HaXml/ \ PKGNAMEPREFIX= hs- DISTNAME= HaXml-${PORTVERSION} MAINTAINER= haskell@FreeBSD.org COMMENT= A collection of utilities for using Haskell and XML together USE_REINPLACE= yes HAS_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS+= --prefix=${PREFIX}/bin .include .if exists(${LOCALBASE}/bin/nhc98) WITH_NHC98= yes .endif .if exists(${LOCALBASE}/bin/ghc) WITH_GHC= yes .endif .if exists(${LOCALBASE}/bin/hugs) WITH_HUGS= yes .endif .if defined(PACKAGE_BUILDING) WITH_GHC= yes WITH_HUGS= yes .endif .if defined(WITH_NHC98) BUILD_DEPENDS+= nhc98:${PORTSDIR}/lang/nhc98 RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 .endif .if defined(WITH_GHC) BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc .endif .if defined(WITH_HUGS) BUILD_DEPENDS+= hugs:${PORTSDIR}/lang/hugs RUN_DEPENDS+= hugs:${PORTSDIR}/lang/hugs .endif .if defined(WITH_NHC98) PLIST_SUB+= NHC98="" .else PLIST_SUB+= NHC98="@comment " .endif .if defined(WITH_GHC) GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` PLIST_SUB+= GHC="" GHC_VERSION="${GHC_VERSION}" .else PLIST_SUB+= GHC="@comment " .endif .if defined(WITH_HUGS) PLIST_SUB+= HUGS="" .else PLIST_SUB+= HUGS="@comment " .endif pre-everything:: @${ECHO_CMD} "" .if defined(WITH_NHC98) @${ECHO_CMD} " HaXml will be installed for nhc98." .else @${ECHO_CMD} " Define WITH_NHC98 to install HaXml for nhc98." .endif .if defined(WITH_GHC) @${ECHO_CMD} " HaXml will be installed for ghc." .else @${ECHO_CMD} " Define WITH_GHC to install HaXml for ghc." .endif .if defined(WITH_HUGS) @${ECHO_CMD} " HaXml will be installed for hugs" .else @${ECHO_CMD} " Define WITH_HUGS to install HaXml for hugs" .endif .if !defined(WITH_GHC) && !defined(WITH_NHC98) && !defined(WITH_HUGS) @${FALSE} .endif @${ECHO_CMD} "" post-patch: @${REINPLACE_CMD} -e 's,/bin/false,/usr/bin/false,' ${WRKSRC}/configure post-install: .if defined(WITH_GHC) @${INSTALL_DATA} ${WRKSRC}/obj/ghc/pkg.conf \ ${PREFIX}/lib/ghc-${GHC_VERSION}/imports/HaXml/ @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC} && ${RM} -rf docs/HaXml/CVS) @(cd ${WRKSRC} && ${CP} -R docs/* ${DOCSDIR}) .endif .include dabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Cleanup github bits.mat2016-05-122-5/+4
* devel/php5-geshi:Update version 1.0.8.11=>1.0.8.12bofh2016-04-133-19/+32
* Change my non-FreeBSD MAINTAINER mail to bofh@bofh2014-12-241-1/+1
* Cleanup plistbapt2014-10-271-10/+0
* - Update to version 1.0.8.11pawel2014-09-213-11/+108
* - Add LICENSEsunpoet2014-09-082-272/+228
* Convert some more USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-1/+1