2007-07-21 10:03:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2007/07/21 14:03:45 kili Exp $
|
2003-07-24 20:08:45 -04:00
|
|
|
|
2007-07-21 10:03:45 -04:00
|
|
|
COMMENT= compilation manager for Haskell programs
|
2003-07-24 20:08:45 -04:00
|
|
|
|
2007-06-15 17:28:19 -04:00
|
|
|
V= 3.13
|
2003-07-24 20:08:45 -04:00
|
|
|
DISTNAME= hmake-${V}
|
2007-07-21 10:03:45 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2003-07-24 20:08:45 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.haskell.org/hmake/
|
2007-06-15 17:28:19 -04:00
|
|
|
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
2003-07-24 20:08:45 -04:00
|
|
|
|
2007-06-15 17:28:19 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
|
|
http://www.cs.york.ac.uk/fp/hmake/ \
|
|
|
|
ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/
|
2003-07-24 20:08:45 -04:00
|
|
|
|
|
|
|
# BSD style w/o advertising clause
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-06-29 07:07:16 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=simple
|
|
|
|
|
|
|
|
WANTLIB+= c m
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
|
|
|
MODULES= lang/ghc
|
2007-07-21 10:03:45 -04:00
|
|
|
MODGHC_RUNTIME= No
|
2007-06-29 07:07:16 -04:00
|
|
|
CONFIGURE_ARGS= --buildwith=ghc
|
2007-07-21 10:03:45 -04:00
|
|
|
WANTLIB+= ncurses readline
|
|
|
|
LIB_DEPENDS= gmp::devel/gmp
|
2007-06-29 07:07:16 -04:00
|
|
|
.else
|
|
|
|
BUILD_DEPENDS+= ::lang/nhc98
|
|
|
|
CONFIGURE_ARGS= --buildwith=nhc98
|
|
|
|
.endif
|
2003-07-24 20:08:45 -04:00
|
|
|
|
2007-03-18 12:58:35 -04:00
|
|
|
post-install:
|
|
|
|
chown -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/hmake
|
2007-06-15 17:28:19 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hmake
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/hmake/* ${PREFIX}/share/doc/hmake
|
2007-06-29 07:07:16 -04:00
|
|
|
rm ${PREFIX}/man/man1/hmake.1.orig
|
2007-06-15 17:28:19 -04:00
|
|
|
|
2003-07-24 20:08:45 -04:00
|
|
|
.include <bsd.port.mk>
|