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