1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/nant/Makefile
2015-10-03 17:07:15 +00:00

36 lines
868 B
Makefile

# Created by: Christopher Nehren <apeiron+ports@coitusmentis.info>
# $FreeBSD$
PORTNAME= nant
PORTVERSION= 0.92
DISTVERSIONSUFFIX= -src
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= .NET build tool inspired by Ant
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS EXAMPLES
INSTALL_TARGET= install destdir=${STAGEDIR} prefix=${PREFIX}
MAKE_ARGS= MCS=mcs MONO='mono --runtime=v4.0' TARGET=mono-4.0
MAKE_JOBS_UNSAFE= yes
TEST_TARGET= run-test
USES= gmake mono pkgconfig
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATADIR= ${PREFIX}/share/NAnt
DOCSDIR= ${PREFIX}/share/doc/NAnt
post-patch:
@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>