mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
4fb1cfb1cd
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20 - add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk - add entry in UPDATING - bulk change all ports AL2 => APACHE20 - math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4 PR: ports/184785 Submitted by: ohauer Reviewed by: tabthorpe Approved by: portmgr (tabthorpe@)
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ironpython
|
|
PORTVERSION= 2.7.4
|
|
CATEGORIES= lang python
|
|
DISTNAME= ipy-${PORTVERSION}
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= Python implementation based on .NET
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= IronLanguages
|
|
GH_PROJECT= main
|
|
GH_TAGNAME= ipy-2.7.4
|
|
GH_COMMIT= 568c234
|
|
|
|
SUB_FILES= ipy ipy64
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/xbuild /t:Stage \
|
|
/p:Configuration=Release /p:ReferencedPlatform=V4 \
|
|
/p:Mono=true /p:BaseConfiguration=Release
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ironpython
|
|
cd ${WRKSRC}/Stage/Release/IronPython-${PORTVERSION} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/ironpython;
|
|
${CHMOD} a+x ${STAGEDIR}${PREFIX}/lib/ironpython/ipy.exe
|
|
${CHMOD} a+x ${STAGEDIR}${PREFIX}/lib/ironpython/ipy64.exe
|
|
for f in ${SUB_FILES}; do \
|
|
${INSTALL_SCRIPT} ${WRKDIR}/$$f ${STAGEDIR}${PREFIX}/bin; \
|
|
done
|
|
|
|
post-install:
|
|
@for f in ${SUB_FILES}; do \
|
|
${ECHO_CMD} "bin/$$f" >> ${TMPPLIST}; \
|
|
done
|
|
@${FIND} -P ${STAGEDIR}${PREFIX}/lib/ironpython ! -type d 2>/dev/null | \
|
|
${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
|
|
@${FIND} -P -d ${STAGEDIR}${PREFIX}/lib/ironpython -type d 2>/dev/null | \
|
|
${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|