2002-03-30 12:38:21 +01:00
|
|
|
# New ports collection makefile for: hmake
|
|
|
|
# Date created: 27 November 2001
|
|
|
|
# Whom: mwest@uct.ac.za
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hmake
|
2005-03-13 12:23:02 +01:00
|
|
|
PORTVERSION= 3.10
|
2005-04-08 09:15:56 +02:00
|
|
|
PORTREVISION= 1
|
2002-11-20 10:10:55 +01:00
|
|
|
CATEGORIES= devel haskell
|
2002-08-21 16:51:56 +02:00
|
|
|
MASTER_SITES= http://www.haskell.org/hmake/ \
|
|
|
|
ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/ \
|
2004-07-26 14:06:07 +02:00
|
|
|
http://www.cs.york.ac.uk/fp/hmake/
|
2002-09-04 20:39:09 +02:00
|
|
|
PKGNAMEPREFIX= hs-
|
2002-03-30 12:38:21 +01:00
|
|
|
|
2004-03-07 12:16:20 +01:00
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Intelligent compilation management tool for Haskell programs
|
2002-03-30 12:38:21 +01:00
|
|
|
|
2005-03-13 12:23:02 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-03-30 12:38:21 +01:00
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
2005-03-13 12:23:02 +01:00
|
|
|
.if exists(${LOCALBASE}/lib/libreadline.so)
|
|
|
|
LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
|
|
|
|
.endif
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2002-03-30 12:38:21 +01:00
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
USE_GMAKE= YES
|
|
|
|
|
|
|
|
do-install:
|
2002-07-09 19:17:33 +02:00
|
|
|
# cheat a bit, otherwise LIBDIR gets clobbered
|
2002-03-30 12:38:21 +01:00
|
|
|
(cd ${WRKSRC} && ./configure --install)
|
|
|
|
|
|
|
|
MAN1= hmake.1
|
|
|
|
|
2005-03-13 12:23:02 +01:00
|
|
|
CONFLICTS= nhc98-[0-9]*
|
2004-03-07 12:16:20 +01:00
|
|
|
|
2005-03-13 12:23:02 +01:00
|
|
|
.include <bsd.port.post.mk>
|