# New ports collection makefile for: Boo # Date created: June 17, 2005 # Whom: Christopher Nehren # # $FreeBSD$ # PORTNAME= boo PORTVERSION= 0.9.4.9 CATEGORIES= lang MASTER_SITES= http://dist.codehaus.org/boo/distributions/ DISTNAME= ${PORTNAME}-${PORTVERSION}-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 PLIST_SUB+= PORTVERSION="2.${PORTVERSION:R}" .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