Tweak WANTLIB (gmp only needed when built with ghc).
Take maintainership.
This commit is contained in:
parent
07262849b8
commit
ac7da55938
@ -1,17 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2006/11/20 13:07:19 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2007/06/29 10:57:29 kili Exp $
|
||||
|
||||
COMMENT= "minimalist documentation tool for Haskell"
|
||||
|
||||
V= 0.2.6
|
||||
DISTNAME= idoc-${V}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= devel
|
||||
MAINTAINER= Don Stewart <dons@openbsd.org>
|
||||
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
||||
HOMEPAGE= http://www.cse.unsw.edu.au/~chak/haskell/idoc/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c m
|
||||
|
||||
# pure Haskell 98
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
||||
MODULES= lang/ghc
|
||||
WANTLIB+= gmp
|
||||
.else
|
||||
BUILD_DEPENDS+= ::lang/nhc98
|
||||
MAKE_FLAGS= HC=nhc98
|
||||
@ -28,11 +38,4 @@ do-install:
|
||||
do-regress:
|
||||
cd ${WRKSRC}/test && ../idoc Foo.hs && /usr/bin/lynx --dump Foo.html
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c gmp m
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user