blob: 24d30ee7271bba0f900f136f7904fd3512d19f36 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: Boo
# Date created: June 17, 2005
# Whom: Christopher Nehren <apeiron@coitusmentis.info>
#
# $FreeBSD$
#
PORTNAME= boo
PORTVERSION= 0.9.3
CATEGORIES= lang
MASTER_SITES= http://dist.codehaus.org/boo/distributions/
DISTNAME= ${PORTNAME}-${PORTVERSION}.${BUILD_NUMBER}-src
MAINTAINER= mono@FreeBSD.org
COMMENT= A CLI-targeted programming language similar to Python
PATCH_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
BUILD_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \
${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
WRKSRC= ${WRKDIR}
USE_GNOME= gtksourceview
USE_NANT= yes
USE_ZIP= yes
# These two lines seems to help to prevent some weird random bug in nant.
# - Without them, nant fails to build boo sort of 'really often';
# - With them it seems to fail less.
# I (romain@) have not yet found a test condition that triggers the failure in
# a deterministic way. This is under investigation.
MAKE_ENV= LC_ALL=C
NANT_FLAGS+= -debug
BUILD_NUMBER= 3457
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES= *
.endif
post-patch:
@${REINPLACE_CMD} \
-e 's!%%PREFIX%%!${PREFIX}!' \
-e 's!%%DOCSDIR%%!${DOCSDIR}!' \
-e 's!%%EXAMPLESDIR%%!${EXAMPLESDIR}!' \
${WRKSRC}/default.build
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's/%%INSTALLDOCS%%//' ${WRKSRC}/default.build
.else
@${REINPLACE_CMD} -e 's/%%INSTALLDOCS%%/install-docs,/' ${WRKSRC}/default.build
.endif
.if defined(NOPORTEXAMPLES)
@${REINPLACE_CMD} -e 's/%%INSTALLEXAMPLES%%//' ${WRKSRC}/default.build
.else
@${REINPLACE_CMD} -e 's/%%INSTALLEXAMPLES%%/install-examples,/' ${WRKSRC}/default.build
.endif
post-install:
${LOCALBASE}/bin/update-mime-database ${LOCALBASE}/share/mime
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>
|