aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-idoc/Makefile
blob: c3ab97c95fada6438b841d64dd77fc38529627c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    idoc
# Date created:             25 October 2002
# Whom:                 Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   idoc
PORTVERSION=    0.2.5
PORTREVISION=   1
CATEGORIES= devel haskell
MASTER_SITES=   http://www.cse.unsw.edu.au/~chak/haskell/idoc/
PKGNAMEPREFIX=  hs-

MAINTAINER= haskell@FreeBSD.org
COMMENT=    A No Frills Haskell Interface Documentation System

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc

PLIST_FILES=    bin/idoc
USE_REINPLACE=  yes
USE_GMAKE=  yes

ALL_TARGET= # empty

post-patch:
    @${REINPLACE_CMD} -e 's|^\(PREFIX\)|#\1|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's|IOExts|Debug.Trace|' ${WRKSRC}/IDoc.hs

.include <bsd.port.mk>