mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: NAnt
|
|
# Date created: 2005-5-21
|
|
# Whom: Christopher Nehren <apeiron+ports@coitusmentis.info>
|
|
#
|
|
# $FreeBSD$
|
|
# $Id: Makefile,v 1.14 2007/02/07 15:50:37 killfill Exp $
|
|
#
|
|
|
|
PORTNAME= nant
|
|
DISTVERSION= 0.85
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-0.85-src
|
|
|
|
MAINTAINER= nemoliu@FreeBSD.org
|
|
COMMENT= A .NET build tool inspired by Ant
|
|
|
|
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
|
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= MONO_PATH=${WRKSRC}/lib
|
|
INSTALL_TARGET= install prefix=${PREFIX}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC}/src ${WRKSRC}/tests -name '*.build' | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|warnaserror="true"|warnaserror="false"|g;'
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/doc; ${FIND} . \
|
|
| ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
|
|
@${CHMOD} -R ugo-w,ugo+rX ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@cd ${WRKSRC}/examples; ${FIND} . \
|
|
| ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${EXAMPLESDIR}
|
|
@${CHMOD} -R ugo-w,ugo+rX ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include "${PORTSDIR}/lang/mono/bsd.mono.mk"
|
|
.include <bsd.port.post.mk>
|