diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:26:49 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:26:49 +0000 |
commit | 38c2447dd0bda3f974eb9954c374780b354741ae (patch) | |
tree | ee9bebfc120238c4f0523943750df71af3c9a84e /net-p2p/xmule/Makefile | |
parent | 90484f872fa5466e4bf333ecdaafed07fde7c260 (diff) | |
download | ports-38c2447dd0bda3f974eb9954c374780b354741ae.tar.gz ports-38c2447dd0bda3f974eb9954c374780b354741ae.zip |
Notes
Diffstat (limited to 'net-p2p/xmule/Makefile')
-rw-r--r-- | net-p2p/xmule/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/net-p2p/xmule/Makefile b/net-p2p/xmule/Makefile index de7e73d74fda..bb8d2ea5f263 100644 --- a/net-p2p/xmule/Makefile +++ b/net-p2p/xmule/Makefile @@ -1,15 +1,15 @@ -# New ports collection makefile for: lmule +# New ports collection makefile for: xmule # Date created: Tue Mar 11 05:06:20 UTC 2003 # Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= lmule -PORTVERSION= 1.2.1 +PORTNAME= xmule +PORTVERSION= 1.4.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= lmule +MASTER_SITE_SUBDIR= xmule MAINTAINER= lioux@FreeBSD.org COMMENT= Port of eMule eDonkey P2P client using wxWindows class library @@ -20,6 +20,7 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget USE_X_PREFIX= yes +USE_BZIP2= yes USE_GNOME= gnomehier \ gnomehack \ gnomeprefix @@ -32,13 +33,17 @@ CONFIGURE_ARGS= --without-included-gettext \ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" -WX_CONFIG?= "${X11BASE}/bin/wx-config" +WX_CONFIG?= ${X11BASE}/bin/wx-config post-patch: # it works for FreeBSD as well @${REINPLACE_CMD} -E \ -e 's|(Linux)|FreeBSD/\1|' \ ${WRKSRC}/src/*.cpp +# remove ^M + @${REINPLACE_CMD} -E \ + -e 's|
||' \ + ${WRKSRC}/src/MD5Sum.cpp pre-configure: @${FIND} ${WRKSRC} -type f -name "Makefile.in" | \ @@ -53,12 +58,12 @@ post-install: .if exists(${WX_CONFIG}) # detect if wxgtk was linked against gtk1 or gtk2 -DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags +DECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs .else DECISION_GTK_1_OR_2= "" .endif -.if (${DECISION_GTK_1_OR_2:Mgtk2} != "") +.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != "" USE_GNOME+= gtk20 .else USE_GNOME+= gtk12 |