1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/lang/boo/Makefile
Romain Tartière 5c80951022 - Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
  devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
  devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
  graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
  multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
  www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
  x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).

PR:		ports/143657 [1]
Submitted by:	glewis [1]
2010-06-01 12:41:30 +00:00

67 lines
1.9 KiB
Makefile

# 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>