diff options
Diffstat (limited to 'net/kmldonkey/Makefile')
-rw-r--r-- | net/kmldonkey/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/net/kmldonkey/Makefile b/net/kmldonkey/Makefile index cdb68799c7f4..b41bebcb2070 100644 --- a/net/kmldonkey/Makefile +++ b/net/kmldonkey/Makefile @@ -6,8 +6,7 @@ # PORTNAME= kmldonkey -PORTVERSION= 0.10.pre4 -PORTREVISION= 1 +PORTVERSION= 0.10 CATEGORIES= net kde MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,10 +15,12 @@ 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= ${.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='' @@ -27,4 +28,16 @@ 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> |