summaryrefslogtreecommitdiffstats
path: root/devel/hs-hmake/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-07-09 17:17:33 +0000
committerdwcjr <dwcjr@FreeBSD.org>2002-07-09 17:17:33 +0000
commitbd0db77b2f54283eeb29b0b0f5d53450e764668f (patch)
tree8d0d2e24312a8aa3646ca6f3e9b53b88b9bf9435 /devel/hs-hmake/Makefile
parent13eccd9471ce57f96760d98547045b6475a96c77 (diff)
downloadFreeBSD-ports-bd0db77b2f54283eeb29b0b0f5d53450e764668f.zip
FreeBSD-ports-bd0db77b2f54283eeb29b0b0f5d53450e764668f.tar.gz
Update to 3.05
Unbreak PR: 40356 Submitted by: Oliver Braun Approved by: maintainer
Diffstat (limited to 'devel/hs-hmake/Makefile')
-rw-r--r--devel/hs-hmake/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/devel/hs-hmake/Makefile b/devel/hs-hmake/Makefile
index 5024f67..5cb590b 100644
--- a/devel/hs-hmake/Makefile
+++ b/devel/hs-hmake/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hmake
-PORTVERSION= 2.03
+PORTVERSION= 3.05
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/
@@ -14,16 +14,27 @@ MAINTAINER= mwest@uct.ac.za
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
-BROKEN= "Does not build"
-
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_GMAKE= YES
-# cheat a bit, otherwise LIBDIR gets clobbered
+.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.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud