blob: 0c43da4f40ce61598a19e1235bdaf3ba6befaaf9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: hmake
# Date created: 27 November 2001
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= hmake
PORTVERSION= 3.08
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= mwest@uct.ac.za
COMMENT= Intelligent compilation management tool for Haskell programs
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_GMAKE= YES
.include <bsd.port.pre.mk>
do-install:
.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)
@${ECHO} ""
@${ECHO} "It seems that there is already a version of hmake installed on"
@${ECHO} "this system. Please deinstall it, or define OVERRIDE_HMAKE to"
@${ECHO} "override the installed version."
@${ECHO} ""
@${ECHO} "NOTE: hmake is part of nhc98"
@${ECHO} ""
@${FALSE}
.else
# cheat a bit, otherwise LIBDIR gets clobbered
(cd ${WRKSRC} && ./configure --install)
.endif
MAN1= hmake.1
.include <bsd.port.post.mk>
|