summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-06 16:56:31 +0000
committerlioux <lioux@FreeBSD.org>2002-05-06 16:56:31 +0000
commit12ad43a880e31cc30721a7b89956eb1a5bc2a15e (patch)
tree36140ace20fb9a95bbad6f8ae20eb29e943e1d3b /net-p2p
parentb4ef275758011c24a7dd5b1f4cde869f764e5bad (diff)
downloadFreeBSD-ports-12ad43a880e31cc30721a7b89956eb1a5bc2a15e.zip
FreeBSD-ports-12ad43a880e31cc30721a7b89956eb1a5bc2a15e.tar.gz
o Separate donkey script wrapper and donkey-real binary: wrapper
stays at bin but binary goes to sbin (this does not break hier(7)) o Bump PORTREVISION since this change is needed by the upcoming edonkey-gui-gtk port update
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