blob: b41bebcb207094156835f7433c7b4ded51c3e253 (
plain)
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
42
43
|
# 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
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
#EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-configure
EXTRA_PATCHES= ${PORTSDIR}/x11/kde3/files/extrapatch-old_configure
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>
|