diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-01-26 18:42:48 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-01-26 18:42:48 +0000 |
commit | 3ae338468fa78992a3bcdeeea542812097c49a9a (patch) | |
tree | 42f16333b41bd55703b77b24b3fd94e34fb64291 /net-p2p/mldonkey-devel/Makefile | |
parent | Update to 0.11. (diff) |
o After being repo copied to mldonkey-gui port:
- update to 2.02.0
- only install the mldonkey core (leave the GUI for the mldonkey-gui
port)
- update all informational files to reflect this change
- roll our own BSD license kill_mldonkey shell script instead of
using the distribution's one: sh(1) based using fetch(1)
Approved by: portmgr (myself & no objections)
Repo copied by: joe
Submitted by: maintainer
Diffstat (limited to 'net-p2p/mldonkey-devel/Makefile')
-rw-r--r-- | net-p2p/mldonkey-devel/Makefile | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile index db104e3308f5..37c8c62d781f 100644 --- a/net-p2p/mldonkey-devel/Makefile +++ b/net-p2p/mldonkey-devel/Makefile @@ -6,57 +6,43 @@ # PORTNAME= mldonkey -PORTVERSION= 1.16 +PORTVERSION= 2.02.0 CATEGORIES= net -MASTER_SITES= http://www.schraegerpunkt.de/ \ - http://ernie.eit.uni-kl.de/mldonkey/ - -DISTNAME= ${PORTNAME}-${PORTVERSION}.static.${ARCH}-FreeBSD +MASTER_SITES= http://ernie.eit.uni-kl.de/mldonkey/ \ + http://savannah.nongnu.org/download/mldonkey/stable/contributed/ +DISTNAME= ${PORTNAME}-${PORTVERSION:C/.0$/-0/}.shared.${ARCH}-${OPSYS} MAINTAINER= holger@e-gitt.net -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww +LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= alpha i386 USE_BZIP2= yes -USE_PERL5= yes -USE_REINPLACE= yes NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-distrib +WRKSRC= ${WRKDIR}/${PORTNAME}-distrib-${PORTVERSION} DIRNAME= ${HOME}/.mldonkey -# do not strip, it breaks OCAML binaries -STRIP= +DOCFILES= AUTHORS BUGS ChangeLog Developers.txt FAQ.html \ + Readme.txt TODO ed2k_links.txt post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \ ${WRKDIR}/wrapper.sh - @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \ - ${WRKSRC}/kill_mldonkey - -pre-install: -# we can strip the GTK binary - @${STRIP_CMD} ${WRKSRC}/mldonkey_gui do-install: @${INSTALL_PROGRAM} ${WRKSRC}/mldonkey ${PREFIX}/bin/mldonkey-real - @${INSTALL_PROGRAM} ${WRKSRC}/mldonkey_gui ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/kill_mldonkey ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKDIR}/kill_mldonkey ${PREFIX}/bin @${INSTALL_SCRIPT} ${WRKSRC}/mldonkey_previewer ${PREFIX}/bin @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mldonkey .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR} +.for file in ${DOCFILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif post-install: @${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE} -.include <bsd.port.pre.mk> - -install-user: extract - @${TEST} -d ${DIRNAME} || ${MKDIR} ${DIRNAME} - @${CP} ${WRKSRC}/servers.ini ${DIRNAME}/ - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |