summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/linux-edonkey-core/Makefile3
-rw-r--r--net-p2p/linux-edonkey-core/files/wrapper.sh2
-rw-r--r--net-p2p/linux-edonkey-core/pkg-plist2
3 files changed, 4 insertions, 3 deletions
diff --git a/net-p2p/linux-edonkey-core/Makefile b/net-p2p/linux-edonkey-core/Makefile
index 91526f5..14526c4 100644
--- a/net-p2p/linux-edonkey-core/Makefile
+++ b/net-p2p/linux-edonkey-core/Makefile
@@ -7,6 +7,7 @@
PORTNAME= edonkey
PORTVERSION= 0.2000.16.16.59.3
+PORTREVISION= 1
CATEGORIES= net linux
MASTER_SITES= http://users.aber.ac.uk/tpm01/
PKGNAMESUFFIX= -core
@@ -46,7 +47,7 @@ pre-install:
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/sbin/${BINARY_NAME}-real
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
diff --git a/net-p2p/linux-edonkey-core/files/wrapper.sh b/net-p2p/linux-edonkey-core/files/wrapper.sh
index 46fd18d..238d37b 100644
--- a/net-p2p/linux-edonkey-core/files/wrapper.sh
+++ b/net-p2p/linux-edonkey-core/files/wrapper.sh
@@ -11,7 +11,7 @@ fi
if [ ! -h ${DIRNAME}/${PROGRAM##*/} ]
then
- ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
+ ln -sf ${PREFIX}/sbin/${PROGRAM##*/}-real ${DIRNAME}/${PROGRAM##*/}
fi
echo " ${*} " | grep " \-createdironly " ||
diff --git a/net-p2p/linux-edonkey-core/pkg-plist b/net-p2p/linux-edonkey-core/pkg-plist
index 3f5b878..b500e2c 100644
--- a/net-p2p/linux-edonkey-core/pkg-plist
+++ b/net-p2p/linux-edonkey-core/pkg-plist
@@ -1,4 +1,4 @@
bin/donkey
-bin/donkey-real
+sbin/donkey-real
%%PORTDOCS%%share/doc/edonkey-core/README.FreeBSD
%%PORTDOCS%%@dirrm share/doc/edonkey-core
OpenPOWER on IntegriCloud