diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-08-10 11:35:26 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-08-10 11:35:26 +0000 |
commit | 17dad729205e75a0b54754c70379f21133a3c804 (patch) | |
tree | 8e795d7a4357e459d77620f065424bd307f49eda /net/mldonkey/Makefile | |
parent | 0cfe511da3db2d9c52ffb29ed3aeb2e0753ffdee (diff) | |
download | pkgsrc-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/Makefile | 8 |
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} |