aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-08 16:41:23 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-08 16:41:23 +0000
commitd8ee1a37fda26263bc048d57d43db1bec7efe7e4 (patch)
tree92c4d6159d09dea7c5d5646e17cfc9de998ff967 /lang/ghc/Makefile
parent8cc9996555e7872998cb6eb8c3c584c51731236f (diff)
downloadports-d8ee1a37fda26263bc048d57d43db1bec7efe7e4.tar.gz
ports-d8ee1a37fda26263bc048d57d43db1bec7efe7e4.zip
Notes
Diffstat (limited to 'lang/ghc/Makefile')
-rw-r--r--lang/ghc/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index da1dac950e75..2b091500e006 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -11,12 +11,21 @@ MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/
SRC_DIST= ghc-${PORTVERSION}-src-1${EXTRACT_SUFX}
BOOT_DIST= ghc-${PORTVERSION}-i386-unknown-freebsd-boot${EXTRACT_SUFX}
+BOOT_DIST5= ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}
-DISTFILES= ${SRC_DIST} ${BOOT_DIST}
+USE_BZIP2= yes
+.include <bsd.port.pre.mk>
+
+DISTFILES= ${SRC_DIST}
+
+.if ${OSVERSION} < 500000
+DISTFILES+= ${BOOT_DIST}
+.else
+DISTFILES+= ${BOOT_DIST5}
+.endif
MAINTAINER= simonmar@microsoft.com
-USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -44,4 +53,4 @@ pre-configure:
pre-build:
@${MKDIR} ${TMPDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>