aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2014-05-22 03:58:46 +0800
committerskreuzer <skreuzer@FreeBSD.org>2014-05-22 03:58:46 +0800
commit5d9f9fd1d1a368f92bd6c905ebc0aebe2b2ab598 (patch)
tree241e8f9a46be83dc06b66933629b1108fae1ef3c /sysutils
parenta2f286f558d474dba0a8f381d8b48c54c8ea1df9 (diff)
downloadfreebsd-ports-gnome-5d9f9fd1d1a368f92bd6c905ebc0aebe2b2ab598.tar.gz
freebsd-ports-gnome-5d9f9fd1d1a368f92bd6c905ebc0aebe2b2ab598.tar.zst
freebsd-ports-gnome-5d9f9fd1d1a368f92bd6c905ebc0aebe2b2ab598.zip
Add staging support
Pet portlint
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/schedutils/Makefile12
-rw-r--r--sysutils/schedutils/pkg-descr2
-rw-r--r--sysutils/schedutils/pkg-plist2
3 files changed, 10 insertions, 6 deletions
diff --git a/sysutils/schedutils/Makefile b/sysutils/schedutils/Makefile
index 03fd7ef1d60e..d154a4e83298 100644
--- a/sysutils/schedutils/Makefile
+++ b/sysutils/schedutils/Makefile
@@ -12,13 +12,15 @@ COMMENT= Collection of realtime scheduling tools
LICENSE= BSD
GNU_CONFIGURE= yes
-MANCOMPRESSED= no
-MAN8= sched.8
-MLINKS= sched.8 resched.8
-
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/ctype.h/d' ${WRKSRC}/isnumber.c
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/getsched ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/resched ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sched ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/sched.8 ${STAGEDIR}${PREFIX}/man/man8
+ ${LN} -sf sched.8.gz ${STAGEDIR}${PREFIX}/man/man8/resched.8.gz
+
.include <bsd.port.mk>
diff --git a/sysutils/schedutils/pkg-descr b/sysutils/schedutils/pkg-descr
index 5ad2949da82c..be73d5116d7e 100644
--- a/sysutils/schedutils/pkg-descr
+++ b/sysutils/schedutils/pkg-descr
@@ -3,4 +3,4 @@ working much like 'nice' and 'renice', except they change the priority
and scheduler. This enables a process to run insoft realtime, as
specified by POSIX.1b.
-WWW: http://sourceforge.net/projects/schedutils/
+WWW: http://sourceforge.net/projects/schedutils/
diff --git a/sysutils/schedutils/pkg-plist b/sysutils/schedutils/pkg-plist
index 203bfe05ef2c..d6a9e08fe24b 100644
--- a/sysutils/schedutils/pkg-plist
+++ b/sysutils/schedutils/pkg-plist
@@ -1,3 +1,5 @@
bin/getsched
sbin/resched
sbin/sched
+man/man8/sched.8.gz
+man/man8/resched.8.gz