blob: 2151cb7d9b353cc281c185404c4db179707bf535 (
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
30
31
32
33
34
35
|
# New ports collection makefile for: green-card
# Date created: 01 June 2002
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
#
PORTNAME= green-card
PORTVERSION= 2.05
PORTREVISION= 1
CATEGORIES= devel haskell
MASTER_SITES= http://www.galois.com/~sof/
PKGNAMEPREFIX= hs-
DISTNAME= gc-${PORTVERSION}-src
MAINTAINER= haskell@FreeBSD.org
COMMENT= A foreign function interface preprocessor for Haskell
BUILD_DEPENDS= ghc-5.04.3:${PORTSDIR}/lang/ghc5
WRKSRC= ${WRKDIR}/gc-${PORTVERSION}
USE_GMAKE= yes
ALL_TARGET= all
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/green-card ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/green-card
@(cd ${WRKSRC}/lib/ghc && ${CP} StdDIS.* libHSgreencard.a ${PREFIX}/lib/green-card)
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC}/doc && ${CP} -R green-card ${PREFIX}/share/doc \
&& ${CP} green-card.dvi.gz green-card.ps.gz ${DOCSDIR})
.endif
.include <bsd.port.mk>
|