mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
844d0d2237
- Stagify - Introduce explicit dependency on GCC to make it build on 10.x and later - Remove indefinite article from COMMENT - Mark jobs unsafe as it does not build reliably on multi-core systems - Remove hmake from conflicting packages, it is long gone - Rework handling of documentation - Update master site Obtained from: FreeBSD Haskell
44 lines
965 B
Makefile
44 lines
965 B
Makefile
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nhc98
|
|
PORTVERSION= 1.22
|
|
CATEGORIES= lang haskell
|
|
MASTER_SITES= http://haskell.org/${PORTNAME}/
|
|
DISTFILES= ${PORTNAME}src-${PORTVERSION}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= nhc98
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Fully-fledged compiler for Haskell 98
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USES= gmake
|
|
USE_GCC= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX} --heap=4M
|
|
MAKE_ARGS+= ARCH=
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_DEFAULT= DOCS
|
|
|
|
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} +docs
|
|
DOCS_CONFIGURE_OFF= -docs
|
|
|
|
PORTDOCS= *
|
|
CONFLICTS= hs-cpphs-[0-9]*
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
|
|
@${REINPLACE_CMD} -e 's|$$(CC)|gcc|g' ${WRKSRC}/Makefile
|
|
|
|
post-configure:
|
|
@${ECHO} "LIBDIR=${PREFIX}/lib/nhc98" \
|
|
>> ${WRKSRC}/targets/ix86-FreeBSD/config.cache
|
|
|
|
.include <bsd.port.mk>
|