summaryrefslogtreecommitdiff
path: root/net/mldonkey/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-08-10 11:35:26 +0000
committerjmmv <jmmv@pkgsrc.org>2006-08-10 11:35:26 +0000
commit17dad729205e75a0b54754c70379f21133a3c804 (patch)
tree8e795d7a4357e459d77620f065424bd307f49eda /net/mldonkey/Makefile
parent0cfe511da3db2d9c52ffb29ed3aeb2e0753ffdee (diff)
downloadpkgsrc-17dad729205e75a0b54754c70379f21133a3c804.tar.gz
Some improvements to the rc.d script:
- Put the log and pid files into VARBASE/log and VARBASE/run respectively. - Let the user override several variables from rc.conf. Per wiz@'s suggestion. Bump PKGREVISION to 1.
Diffstat (limited to 'net/mldonkey/Makefile')
-rw-r--r--net/mldonkey/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile
index e5e68a2fcc4..62ccfa6587a 100644
--- a/net/mldonkey/Makefile
+++ b/net/mldonkey/Makefile
@@ -1,13 +1,19 @@
-# $NetBSD: Makefile,v 1.40 2006/05/30 19:25:59 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2006/08/10 11:35:26 jmmv Exp $
#
.include "Makefile.common"
+PKGREVISION= 1
+
RCD_SCRIPTS= mldonkey
BUILD_DEFS+= MLDONKEY_GROUP MLDONKEY_HOME MLDONKEY_USER
OWN_DIRS_PERMS= ${MLDONKEY_HOME} ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
+OWN_DIRS_PERMS+= ${VARBASE}/log/mldonkey \
+ ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
+OWN_DIRS_PERMS+= ${VARBASE}/run/mldonkey \
+ ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
PKG_GROUPS= ${MLDONKEY_GROUP}
PKG_USERS= ${MLDONKEY_USER}:${MLDONKEY_GROUP}