Skip to content

Commit

Permalink
- Update to 0.92
Browse files Browse the repository at this point in the history
- Unbreak build with new Mono compiler model [1]
- Add LICENSE
- Use USES=gmake

Changes:	http://nant.sourceforge.net/release/0.92/releasenotes.html
Reference:	nant/nant#91 [1]
Obtained from:	nant/nant@69c8ee9 [1]
  • Loading branch information
sunpoet committed Aug 27, 2013
1 parent 961b979 commit fb0b1a7
Show file tree
Hide file tree
Showing 5 changed files with 934 additions and 31 deletions.
21 changes: 12 additions & 9 deletions devel/nant/Makefile
Expand Up @@ -2,36 +2,36 @@
# $FreeBSD$

PORTNAME= nant
PORTVERSION= 0.91
PORTVERSION= 0.92
CATEGORIES= devel
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= .NET build tool inspired by Ant

LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual

BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS:= ${BUILD_DEPENDS}

OPTIONS_DEFINE= DOCS EXAMPLES

BROKEN= fails to build

DATADIR= ${PREFIX}/share/NAnt
DOCSDIR= ${PREFIX}/share/doc/NAnt
INSTALL_TARGET= install prefix=${PREFIX}
MAKE_ENV= MONO_PATH=${WRKSRC}/lib TARGET=mono-4.0
MAKE_JOBS_UNSAFE= yes
USE_GMAKE= yes
USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

DATADIR= ${PREFIX}/share/NAnt
DOCSDIR= ${PREFIX}/share/doc/NAnt

.include <bsd.port.options.mk>

post-patch:
@${REINPLACE_CMD} -e 's|MCS=mcs|MCS=dmcs|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build
.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '903,910 d' ${WRKSRC}/NAnt.build
@${REINPLACE_CMD} -e '851,858 d' ${WRKSRC}/NAnt.build
.endif

post-install:
Expand All @@ -40,4 +40,7 @@ post-install:
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif

regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} run-test

.include <bsd.port.mk>
4 changes: 2 additions & 2 deletions devel/nant/distinfo
@@ -1,2 +1,2 @@
SHA256 (nant-0.91-src.tar.gz) = 6694f16d71f77912ba08a6d83d6a1a67afe5f57469d817918cdc7ed1912974b7
SIZE (nant-0.91-src.tar.gz) = 1612336
SHA256 (nant-0.92-src.tar.gz) = 72d4d585267ed7f03e1aa75087d96f4f8d49ee976c32d974c5ab1fef4d4f8305
SIZE (nant-0.92-src.tar.gz) = 1601180

0 comments on commit fb0b1a7

Please sign in to comment.