Follow ghc changes.

This commit is contained in:
kili 2010-04-22 21:57:26 +00:00
parent 811f40d736
commit eb3567fa26
2 changed files with 22 additions and 23 deletions

View File

@ -1,35 +1,34 @@
# $OpenBSD: Makefile,v 1.8 2007/07/21 14:05:10 kili Exp $
# $OpenBSD: Makefile,v 1.9 2010/04/22 21:57:26 kili Exp $
COMMENT= minimalist documentation tool for Haskell
COMMENT = minimalist documentation tool for Haskell
V= 0.2.6
DISTNAME= idoc-${V}
PKGNAME= ${DISTNAME}p1
CATEGORIES= devel
MAINTAINER= Matthias Kilian <kili@openbsd.org>
HOMEPAGE= http://www.cse.unsw.edu.au/~chak/haskell/idoc/
MASTER_SITES= ${HOMEPAGE}
DISTNAME = idoc-0.2.6
PKGNAME = ${DISTNAME}p2
CATEGORIES = devel
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
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB= c m
WANTLIB = c m
# pure Haskell 98
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
MODULES= lang/ghc
MODGHC_RUNTIME= No
LIB_DEPENDS= gmp::devel/gmp
WANTLIB += pthread util
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = nort
.else
BUILD_DEPENDS+= ::lang/nhc98
MAKE_FLAGS= HC=nhc98
BUILD_DEPENDS += ::lang/nhc98
MAKE_FLAGS = HC=nhc98
.endif
ALL_TARGET=
USE_GMAKE= Yes
ALL_TARGET =
USE_GMAKE = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/idoc ${PREFIX}/bin

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/14 23:43:56 espie Exp $
bin/idoc
@comment $OpenBSD: PLIST,v 1.3 2010/04/22 21:57:26 kili Exp $
@bin bin/idoc
share/doc/idoc/
share/doc/idoc/README