aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/kmldonkey/Makefile
blob: c57aa196f4714b99abf9698f264e533f536e44c8 (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
37
38
39
40
41
# 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.10.1
PORTREVISION=   1
CATEGORIES= net kde
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.pre/pre/}

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

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

MAN1=   kmldonkey.1 kmldonkey_submit.1

pre-configure:
# disable AUTO* tools
    @${FIND} -E ${WRKSRC} -type f \
        -iregex ".*(Makefile.in|configure)" \
        | ${XARGS} -x -n 10 \
        ${REINPLACE_CMD} -E \
            -e 's!^(AUTOCONF|AUTOHEADER|AUTOMAKE|ACLOCAL).*$$!\1=${TRUE}!'

pre-build:
# disable AUTO* tools
    @${ECHO_CMD} > ${WRKSRC}/admin/cvs.sh

.include <bsd.port.mk>