aboutsummaryrefslogtreecommitdiffstats
path: root/net/kmldonkey/Makefile
blob: 40d8ebf49bd6794c0f45819b21b83201be2c2d36 (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
# New ports collection makefile for:    KMLDonkey
# Date created:     Thu Feb 20 22:04:46 UTC 2003
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kmldonkey
PORTVERSION=    0.5
CATEGORIES= net kde
MASTER_SITES=   http://www.gibreel.net/dump/

MAINTAINER= lioux@FreeBSD.org
COMMENT=    KDE integration for MLDonkey eDonkey P2P client

RUN_DEPENDS=     \
    ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter

USE_KDELIBS_VER=3
USE_PYTHON= yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-transform-name=''
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -E -e \
        's|/usr/bin/env python|${LOCALBASE}/bin/python|' \
        ${WRKSRC}/scripts/*.py

.include <bsd.port.mk>