aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/nant/Makefile29
-rw-r--r--devel/nant/distinfo4
-rw-r--r--devel/nant/pkg-plist8
3 files changed, 17 insertions, 24 deletions
diff --git a/devel/nant/Makefile b/devel/nant/Makefile
index 5e5719e7c565..73c18c037be9 100644
--- a/devel/nant/Makefile
+++ b/devel/nant/Makefile
@@ -3,11 +3,10 @@
# Whom: Christopher Nehren <apeiron+ports@coitusmentis.info>
#
# $FreeBSD$
-# $Id: Makefile,v 1.14 2007/02/07 15:50:37 killfill Exp $
#
PORTNAME= nant
-PORTVERSION= 0.90
+PORTVERSION= 0.91
CATEGORIES= devel
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -19,30 +18,24 @@ BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
DATADIR= ${PREFIX}/share/NAnt
+DOCSDIR= ${PREFIX}/share/doc/NAnt
INSTALL_TARGET= install prefix=${PREFIX}
-MAKE_ENV= MONO_PATH=${WRKSRC}/lib
+MAKE_ENV= MONO_PATH=${WRKSRC}/lib TARGET=mono-4.0
MAKE_JOBS_UNSAFE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-.include <bsd.port.pre.mk>
-
post-patch:
- @${REINPLACE_CMD} -e '/install.pkgconfigdir/ s|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build
- @${FIND} ${WRKSRC}/src ${WRKSRC}/tests -name '*.build' | ${XARGS} ${REINPLACE_CMD} -e \
- 's|warnaserror="true"|warnaserror="false"|g;'
+ @${REINPLACE_CMD} -e 's|MCS=mcs|MCS=dmcs|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '903,910 d' ${WRKSRC}/NAnt.build
+.endif
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${DOCSDIR})
- @${CHMOD} -R ugo-w,ugo+rX ${DOCSDIR}
-.endif
.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples; ${FIND} . | ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${EXAMPLESDIR})
- @${CHMOD} -R ugo-w,ugo+rX ${EXAMPLESDIR}
+ ${MKDIR} ${EXAMPLESDIR}/
+ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif
-.include "${PORTSDIR}/lang/mono/bsd.mono.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/nant/distinfo b/devel/nant/distinfo
index d77f1d5580ef..1f6baddea88d 100644
--- a/devel/nant/distinfo
+++ b/devel/nant/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nant-0.90-src.tar.gz) = dce53539e3a794f1c6dbc887deb90f3c20eceeb7e6c5fd7169a71531a1e987cc
-SIZE (nant-0.90-src.tar.gz) = 1716710
+SHA256 (nant-0.91-src.tar.gz) = 6694f16d71f77912ba08a6d83d6a1a67afe5f57469d817918cdc7ed1912974b7
+SIZE (nant-0.91-src.tar.gz) = 1612336
diff --git a/devel/nant/pkg-plist b/devel/nant/pkg-plist
index 39cda4505e00..36193adc5e14 100644
--- a/devel/nant/pkg-plist
+++ b/devel/nant/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
bin/nant
libdata/pkgconfig/nant.pc
%%DATADIR%%/bin/NAnt.CompressionTasks.dll
@@ -38,6 +37,9 @@ libdata/pkgconfig/nant.pc
%%DATADIR%%/bin/extensions/common/2.0/NAnt.MSBuild.dll
%%DATADIR%%/bin/extensions/common/2.0/NAnt.MSBuild.dll.mdb
%%DATADIR%%/bin/extensions/common/2.0/NAnt.MSBuild.xml
+%%DATADIR%%/bin/extensions/common/4.0/NAnt.MSBuild.dll
+%%DATADIR%%/bin/extensions/common/4.0/NAnt.MSBuild.dll.mdb
+%%DATADIR%%/bin/extensions/common/4.0/NAnt.MSBuild.xml
%%DATADIR%%/bin/lib/common/1.1/nunit-console-runner.dll
%%DATADIR%%/bin/lib/common/1.1/nunit-console.exe
%%DATADIR%%/bin/lib/common/1.1/nunit.core.dll
@@ -55,9 +57,6 @@ libdata/pkgconfig/nant.pc
%%DATADIR%%/bin/lib/common/neutral/NDoc.Documenter.Msdn.dll
%%DATADIR%%/bin/lib/common/neutral/NDoc.ExtendedUI.dll
%%DATADIR%%/bin/lib/common/neutral/NUnitCore.dll
-%%DATADIR%%/bin/lib/net/1.0/NDoc.Core.dll
-%%DATADIR%%/bin/lib/net/1.0/NDoc.Documenter.Msdn.dll
-%%DATADIR%%/bin/lib/net/1.0/NDoc.ExtendedUI.dll
%%DATADIR%%/bin/lib/net/1.0/nunit-console-runner.dll
%%DATADIR%%/bin/lib/net/1.0/nunit-console.exe
%%DATADIR%%/bin/lib/net/1.0/nunit.core.dll
@@ -521,6 +520,7 @@ libdata/pkgconfig/nant.pc
@dirrm %%DATADIR%%/bin/lib/common/1.1
@dirrm %%DATADIR%%/bin/lib/common
@dirrm %%DATADIR%%/bin/lib
+@dirrm %%DATADIR%%/bin/extensions/common/4.0
@dirrm %%DATADIR%%/bin/extensions/common/2.0
@dirrm %%DATADIR%%/bin/extensions/common
@dirrm %%DATADIR%%/bin/extensions