summaryrefslogtreecommitdiff
path: root/net/mldonkey-gui/files/wrapper.sh
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-15 19:55:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-15 19:55:31 +0000
commitc328d32cadf39fbecd3209e7c825c6bf9906a772 (patch)
treef9d2ada76e5977f48f7122297a42f0689aa9a786 /net/mldonkey-gui/files/wrapper.sh
parentPrepare it to be a master port: make COMMENT optional so that it (diff)
Make this a slave port of ports/net/mldonkey one. This will enable
packages to be build containing only the MLDonkey GUI.
Diffstat (limited to 'net/mldonkey-gui/files/wrapper.sh')
-rw-r--r--net/mldonkey-gui/files/wrapper.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/net/mldonkey-gui/files/wrapper.sh b/net/mldonkey-gui/files/wrapper.sh
deleted file mode 100644
index c25fd62bc133..000000000000
--- a/net/mldonkey-gui/files/wrapper.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%/bin"
-PROGRAM="${0}"
-DIRNAME=${HOME}/.mldonkey
-
-if [ ! -d ${DIRNAME} ]
-then
- mkdir -p ${DIRNAME}
-fi
-
-echo " ${*} " | grep " \-createdironly " ||
-{
- cd ${DIRNAME} &&
- echo Running under ${DIRNAME} &&
- exec ${PREFIX}/${PROGRAM##*/}-real "${@}" ||
- echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again
-}