don't use rc script from inside the distfile, use it from the ports tree
like every other port. we sometimes make widespread changes to rc scripts so they need to be easily visible. ok kn, maintainer timeout
This commit is contained in:
parent
13b9a75be9
commit
667fdd3909
@ -1,6 +1,6 @@
|
||||
COMMENT = userland daemon to manage CPU frequency
|
||||
V = 1.0.1
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
DISTNAME = obsdfreqd-${V}
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
9
sysutils/obsdfreqd/patches/patch-Makefile
Normal file
9
sysutils/obsdfreqd/patches/patch-Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -16,5 +16,4 @@ clean:
|
||||
|
||||
install: obsdfreqd
|
||||
install -o root -g wheel -m 555 obsdfreqd ${PREFIX}/sbin/obsdfreqd
|
||||
- install -o root -g wheel -m 555 obsdfreqd.rc ${DESTDIR}/etc/rc.d/obsdfreqd
|
||||
install -o root -g wheel -m 444 obsdfreqd.1 ${PREFIX}/man/man1/obsdfreqd.1
|
10
sysutils/obsdfreqd/pkg/obsdfreqd.rc
Normal file
10
sysutils/obsdfreqd/pkg/obsdfreqd.rc
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/obsdfreqd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
rc_bg=YES
|
||||
|
||||
rc_cmd $1
|
Loading…
x
Reference in New Issue
Block a user