blob: 0193f06b64b9dd177458f1d64f1b5e143011ad76 (
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
36
|
# New ports collection makefile for: bnfc
# Date created: 2007-02-11
# Whom: Kai Wang <kaiw27@gmail.com>
#
# $FreeBSD$
#
PORTNAME= bnfc
PORTVERSION= 2.4b
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cs.chalmers.se/Cs/Research/Language-technology/BNFC/download/ \
http://web.student.chalmers.se/~kaiw/FreeBSD/disfiles/
DISTNAME= BNFC-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= kaiw27@gmail.com
COMMENT= A Labelled BNF converter
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
WRKSRC= ${WRKDIR}/BNFC
USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bnfc ${PREFIX}/bin
post-install:
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|