diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mldonkey-core/Makefile | 8 | ||||
-rw-r--r-- | net-p2p/mldonkey-gui/Makefile | 6 | ||||
-rw-r--r-- | net-p2p/mldonkey/Makefile | 18 |
3 files changed, 16 insertions, 16 deletions
diff --git a/net-p2p/mldonkey-core/Makefile b/net-p2p/mldonkey-core/Makefile index 1581942a353d..5741dbf6407f 100644 --- a/net-p2p/mldonkey-core/Makefile +++ b/net-p2p/mldonkey-core/Makefile @@ -1,13 +1,11 @@ -# New ports collection makefile for: mldonkey core -# Date created: Sun Jun 15 19:49:31 UTC 2003 -# Whom: Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org> -# +# Created by: Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org> # $FreeBSD$ -# # build only the CORE WITHOUT_GUI= yes +PORTREVISION= 0 + COMMENT= Client 'core' for the MLDonkey peer-to-peer network MASTERDIR= ${.CURDIR}/../mldonkey diff --git a/net-p2p/mldonkey-gui/Makefile b/net-p2p/mldonkey-gui/Makefile index 975bbebf93c3..27428b327f8f 100644 --- a/net-p2p/mldonkey-gui/Makefile +++ b/net-p2p/mldonkey-gui/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: mldonkey -# Date created: 19 December 2002 -# Whom: Holger Lamm <holger@e-gitt.net> -# +# Created by: Holger Lamm <holger@e-gitt.net> # $FreeBSD$ -# # build only the GUI WITHOUT_CORE= yes diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index c8d196e7c6ec..f1f3f72707d2 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: mldonkey -# Date created: 21 August 2002 -# Whom: Holger Lamm <holger@e-gitt.net> -# +# Created by: Holger Lamm <holger@e-gitt.net> # $FreeBSD$ -# PORTNAME= mldonkey PORTVERSION= 3.1.2 +PORTREVISION?= 1 CATEGORIES+= net-p2p MASTER_SITES= SF @@ -74,7 +71,7 @@ PLIST_SUB+= CORE="@comment " GUI="" GUICORE="@comment " .endif # !(defined(WITHOUT_GUI) || defined(WITHOUT_CORE)) .if !defined(WITHOUT_GUI) -BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/lablgtk2/lablrsvg.cma:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 +BUILD_DEPENDS+= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/lablrsvg.cma:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 LIB_DEPENDS+= rsvg-2:${PORTSDIR}/graphics/librsvg2 CONFIGURE_ARGS+=--enable-gui=newgui2 @@ -120,6 +117,15 @@ post-patch: -e 's|%%AUTOCONF%%|${AUTOCONF}|' \ -e 's/-O6//' \ ${BUILD_WRKSRC}/config/Makefile.in + @${REINPLACE_CMD} -E \ + -e 's@(\+)(lablgtk2)@\1site-lib/\2@' \ + -e 's@(\+)(labl\$$\(GTK\))@\1site-lib/\2@' \ + -e 's@(OCAMLLIB/)(\$$LABLGTK_NAME)@\1site-lib/\2@' \ + ${WRKSRC}/config/configure.in \ + ${WRKSRC}/config/Makefile.in + @${REINPLACE_CMD} -E \ + -e 's@(#include <)(lablgtk2/)@\1site-lib/\2@' \ + ${WRKSRC}/src/gtk2/gui/x11/systraystubs.c # update server.met provider .for file in \ src/daemon/common/commonOptions.ml \ |