1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/devel/nant/Makefile
2011-10-27 17:30:50 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: NAnt
# Date created: 2005-5-21
# Whom: Christopher Nehren <apeiron+ports@coitusmentis.info>
#
# $FreeBSD$
#
PORTNAME= nant
PORTVERSION= 0.91
CATEGORIES= devel
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A .NET build tool inspired by Ant
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 TARGET=mono-4.0
MAKE_JOBS_UNSAFE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${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(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>