aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-hmake
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-07-09 17:17:33 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-07-09 17:17:33 +0000
commitf17c1a678ad480caf53b80c14cc7de86cc92eae7 (patch)
tree0030041375db3e07a676dd679e9a2588773a6df7 /devel/hs-hmake
parenta4b8a80ee1d46e0ceb815193f57d8c75ba0ac5a6 (diff)
downloadports-f17c1a678ad480caf53b80c14cc7de86cc92eae7.tar.gz
ports-f17c1a678ad480caf53b80c14cc7de86cc92eae7.zip
Notes
Diffstat (limited to 'devel/hs-hmake')
-rw-r--r--devel/hs-hmake/Makefile21
-rw-r--r--devel/hs-hmake/distinfo2
-rw-r--r--devel/hs-hmake/pkg-plist3
3 files changed, 19 insertions, 7 deletions
diff --git a/devel/hs-hmake/Makefile b/devel/hs-hmake/Makefile
index 5024f67f4f64..5cb590bbe61a 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>
diff --git a/devel/hs-hmake/distinfo b/devel/hs-hmake/distinfo
index 2b58f9a70a86..685feb464056 100644
--- a/devel/hs-hmake/distinfo
+++ b/devel/hs-hmake/distinfo
@@ -1 +1 @@
-MD5 (hmake-2.03.tar.gz) = f875df33882478b1f26be703271f2864
+MD5 (hmake-3.05.tar.gz) = 99c53f39034b079a6d69f2118a33317c
diff --git a/devel/hs-hmake/pkg-plist b/devel/hs-hmake/pkg-plist
index e0a885d2e979..b1f902a9e649 100644
--- a/devel/hs-hmake/pkg-plist
+++ b/devel/hs-hmake/pkg-plist
@@ -5,6 +5,7 @@ lib/hmake/ix86-FreeBSD/HInteractive
lib/hmake/ix86-FreeBSD/MkProg
lib/hmake/ix86-FreeBSD/Older
lib/hmake/ix86-FreeBSD/config
-lib/hmake/ix86-FreeBSD/hmake.config
+lib/hmake/ix86-FreeBSD/MkConfig
+lib/hmake/ix86-FreeBSD/hmakerc
@dirrm lib/hmake/ix86-FreeBSD
@dirrm lib/hmake