2000-05-07 20:49:02 +00:00
|
|
|
# New ports collection makefile for: idle
|
|
|
|
# Date created: 13 April 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@altavista.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= idle
|
|
|
|
PORTVERSION= 0.5
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.python.org/idle/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-07-24 17:05:24 +00:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2000-05-07 20:49:02 +00:00
|
|
|
|
2000-05-08 11:54:09 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
|
2000-05-07 20:49:02 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${LOCALBASE}/bin/python \
|
|
|
|
${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/idle/Icons
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
${INSTALL_DATA} *.py? help.txt ${PREFIX}/share/idle
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Icons/* ${PREFIX}/share/idle/Icons
|
|
|
|
@printf "#!/bin/sh\n${LOCALBASE}/bin/python ${PREFIX}/share/idle/idle.pyc\n" \
|
|
|
|
> ${WRKDIR}/idle.sh
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/idle.sh ${PREFIX}/bin/idle
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/idle
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} NEWS.txt README.txt TODO.txt \
|
|
|
|
extend.txt ${PREFIX}/share/doc/idle
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|