blob: 60279f4dd008d832a23570c95beddbe305352bac (
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
|
# New ports collection makefile for: Boo
# Date created: June 17, 2005
# Whom: Christopher Nehren <apeiron@coitusmentis.info>
#
# $FreeBSD$
#
PORTNAME= boo
PORTVERSION= 0.9.2
PORTREVISION= 1
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
BUILD_NUMBER= 3383
.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>
|