1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/devel/hs-hmake/Makefile
Ashish SHUKLA 86f2dbca13 Bump PORTREVISION of all ports dependent on lang/ghc as during
upgrade, lang/ghc cabal package cache gets invalidated causing all
dependent ports to be reinstalled.

Obtained from:	FreeBSD Haskell
2011-05-26 00:51:15 +00:00

56 lines
1.2 KiB
Makefile

# New ports collection makefile for: hmake
# Date created: 27 November 2001
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= hmake
PORTVERSION= 3.14
PORTREVISION= 6
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/hmake/ \
ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/ \
http://www.cs.york.ac.uk/fp/hmake/
PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org
COMMENT= Intelligent compilation management tool for Haskell programs
BROKEN= does not compile
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
hs-readline>=1.0.1.0:${PORTSDIR}/devel/hs-readline
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_GMAKE= YES
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
PLIST_SUB+= ARCH=ix86
.elif ${ARCH} == "amd64"
PLIST_SUB+= ARCH=amd64
.endif
.if exists(${LOCALBASE}/lib/libreadline.so)
LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline
.endif
do-install:
# cheat a bit, otherwise LIBDIR gets clobbered
(cd ${WRKSRC} && ./configure --install)
post-install:
@${STRIP_CMD} ${PREFIX}/bin/runhs
MAN1= hmake.1
CONFLICTS= nhc98-[0-9]*
.include <bsd.port.post.mk>