2001-09-24 15:44:58 -04:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: forg
|
|
|
|
# Date created: Sep 25, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= forg
|
|
|
|
PORTVERSION= 0.5.1
|
|
|
|
CATEGORIES= net python
|
2003-05-19 21:59:23 -04:00
|
|
|
MASTER_SITES= http://gopher.quux.org:70/give-me-gopher/
|
|
|
|
# Old home website doesn't seem to work anymore (19/05/03)
|
|
|
|
#MASTER_SITES= http://opop.nols.com/proggie/
|
2001-09-24 15:44:58 -04:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 14:00:52 -05:00
|
|
|
COMMENT= A Gopher client
|
2001-09-24 15:44:58 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
|
|
|
${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/pmw
|
|
|
|
|
2002-06-23 02:04:01 -04:00
|
|
|
USE_REINPLACE= yes
|
2001-09-24 15:44:58 -04:00
|
|
|
USE_PYTHON= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for file in forg.py mini-forg.py
|
2002-06-23 02:04:01 -04:00
|
|
|
@${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${file}
|
2001-09-24 15:44:58 -04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/forg.py ${PREFIX}/bin/forg
|
|
|
|
${CP} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|