diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-09-19 17:32:20 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-09-19 17:32:20 +0000 |
commit | 9d4633f18071e1c4473ba8c3878fcd944e9c9b40 (patch) | |
tree | 0f81abfa18a9fdabf67251d19e63a0a1d724f1ad /net-p2p/mldonkey-devel/Makefile | |
parent | Fix a catastophic bug where launching services-admin would cause the (diff) |
- Update to 2.5.23 and unbreak
PR: ports/70906
Submitted by: Holger Lamm <holger@e-gitt.net> (maintainer)
Approved by: portmgr (marcus)
Diffstat (limited to 'net-p2p/mldonkey-devel/Makefile')
-rw-r--r-- | net-p2p/mldonkey-devel/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile index d74459c19109..2b11ba1e7f29 100644 --- a/net-p2p/mldonkey-devel/Makefile +++ b/net-p2p/mldonkey-devel/Makefile @@ -6,20 +6,25 @@ # PORTNAME= mldonkey -PORTVERSION= 2.5.21 +PORTVERSION= 2.5.23 CATEGORIES+= net MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}-${PORTVERSION} +DISTNAME= ${PORTNAME}-${DOWNLOADVERSION} + +PATCH_SITES= http://www.schraegerpunkt.de/ +PATCHFILES= mldonkey-${DOWNLOADVERSION}-${PORTVERSION:C/.+\.//}.patch.gz MAINTAINER?= holger@e-gitt.net COMMENT?= A OCAML client for multiple peer-to-peer networks BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml +DOWNLOADVERSION=2.5.22 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pthread --enable-ocamlver=3 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-${DOWNLOADVERSION} USE_GMAKE= yes ALL_TARGET= depend opt @@ -34,6 +39,7 @@ PKGNAMESUFFIX= -core .else PLIST_SUB+= GUI="" BUILD_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \ + autoconf213:${PORTSDIR}/devel/autoconf213 \ ${LOCALBASE}/lib/ocaml/jabbr.cma:${PORTSDIR}/net/ocaml-jabbr # we don't need lablgtk as RUN dependency, but we need gtk+glib USE_GNOME= gtk12 @@ -50,16 +56,15 @@ DOCFILES= Authors.txt Bugs.txt ChangeLog Developers.txt FAQ.html \ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - pre-everything:: .if !defined(WITHOUT_GUI) && !defined(WITHOUT_CORE) @${ECHO_MSG} "You can disable the GUI by defining WITHOUT_GUI." @${ECHO_MSG} "You can disable the CORE by defining WITHOUT_CORE." .endif +pre-configure: + @cd ${WRKSRC}/config && ${AUTOCONF} + post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \ ${WRKDIR}/wrapper.sh |