aboutsummaryrefslogtreecommitdiffstats
path: root/net/forg/Makefile
blob: 9589f01ada2bf1e661bee6100cd9b52ba952672a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ex:ts=8
# New ports collection makefile for:    forg
# Date created:         Sep 25, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   forg
PORTVERSION=    0.5.1
PORTREVISION=   2
CATEGORIES= net python
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/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Gopher client

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
        ${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw

NO_SIZE=    yes
USE_PYTHON= yes
NO_BUILD=   yes

post-patch:
.for file in forg.py mini-forg.py
    @${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${file}
.endfor

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/forg.py ${PREFIX}/bin/forg
    ${CP} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}

.include <bsd.port.mk>