fbab09fee3
ftp/jigdo net/amule1 net/amule2 net/apollon net/azureus net/bnbt net/btpeer net/btqueue net/cdonkey net/ctorrent net/dcd net/dclib net/dctc net/dctc-gui net/dctc-gui-qt net/edonkey-gui-gtk net/edonkey-gui-gtk-urlslave net/fcptools net/fidelio net/freenet net/frost net/giftcurs net/giftoxic net/giftui net/gift net/gift-fasttrack net/gift-gnutella net/gift-openft net/gkrellm-gift net/gnewtellium net/gnome-btdownload net/gnunet net/gtkhx net/gtk-gnutella net/gtorrentviewer net/hagelslag net/hx net/i2p net/javadc net/kmldonkey net/ktorrent net/libbt net/liberator net/libfreenet net/libpdtp net/libtorrent net/limewire net/linux-agsatellite net/linux-edonkey-core net/linux-edonkey-server net/linux-jigdo net/linux-overnet-core net/minder net/mldonkey net/mldonkey-core net/mldonkey-core-devel net/mldonkey-devel net/mldonkey-gui net/mldonkey-gui-devel net/mldonkey-perlreactor net/mldonkey-sancho net/mldonkey-serverspy net/mldonkey-urlslave net/mutella net/mute-net net/mute-net-gui net/mute-net-text net/napshare net/nicotine net/opendchub net/peercast net/phex net/pyslsk net/py-bittornado net/py-bittornado-core net/py-bittorrent net/py-bittorrent-core net/py-bittorrent-core-devel net/py-bittorrent-devel net/py-fngrab net/py-kenosis net/py-kenosis-bittorrent net/py-py2play net/p5-pdonkey net/qtella net/qtorrent net/rtorrent net/squall net/torrentflux net/torrentsniff net/trackerbt net/transmission net/valknut net/verlihub net/verlihub-plugins net/xmule net/xnap misc/ed2k misc/edonkey-tool-hash misc/linux-edonkey-tool-recovermet Repocopies by: marcus
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# New ports collection makefile for: Linux eDonkey server
|
|
# Date created: 18 December 2001
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com> & Mario S F Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= edonkey
|
|
PORTVERSION= 16.39
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p linux
|
|
MASTER_SITES= http://www.edonkey2000.com/files/
|
|
PKGNAMEPREFIX= linux-
|
|
PKGNAMESUFFIX= -server
|
|
DISTNAME= dserver
|
|
EXTRACT_SUFX= .gz
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A decentralized peer-to-peer file-sharing server (eDonkey2000 server)
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
USE_LINUX= yes
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
#
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
|
|
|
BINARY_NAME= dserver
|
|
RC_SAMPLE= edonkey2000-server.sh.sample
|
|
|
|
post-extract:
|
|
@${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
|
|
|
|
post-patch:
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" \
|
|
-e "s|%%LOCALBASE%%|${LOCALBASE}|" ${FILESDIR}/${RC_SAMPLE} \
|
|
> ${WRKDIR}/${RC_SAMPLE}
|
|
|
|
do-install:
|
|
# pre-install work: create user ids, ...
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
@${INSTALL_PROGRAM} ${WRKDIR}/${BINARY_NAME} ${PREFIX}/sbin
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${RC_SAMPLE} ${PREFIX}/etc/rc.d
|
|
@${INSTALL_DATA} ${FILESDIR}/donkey.ini ${PREFIX}/etc/edonkey2000
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-install:
|
|
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
|
|
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
|
|
|
|
.include <bsd.port.post.mk>
|