aboutsummaryrefslogtreecommitdiff
path: root/sysutils/whowatch
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-14 23:52:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-14 23:52:03 +0000
commit1d841944cf1837c6cc0022e207df851d60ba0ef9 (patch)
tree516b159700b7b0208cf1662c941e405659f4c82b /sysutils/whowatch
parente02c48cba27dc3009a8bc7c74ca8da14c1d93b36 (diff)
downloadports-1d841944cf1837c6cc0022e207df851d60ba0ef9.tar.gz
ports-1d841944cf1837c6cc0022e207df851d60ba0ef9.zip
Notes
Diffstat (limited to 'sysutils/whowatch')
-rw-r--r--sysutils/whowatch/Makefile12
-rw-r--r--sysutils/whowatch/files/patch-whowatch.c (renamed from sysutils/whowatch/files/utmpx-whowatch.c)0
-rw-r--r--sysutils/whowatch/files/patch-whowatch.h (renamed from sysutils/whowatch/files/utmpx-whowatch.h)0
3 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile
index 18b0af2bf23c..6cf1e9ebab02 100644
--- a/sysutils/whowatch/Makefile
+++ b/sysutils/whowatch/Makefile
@@ -11,19 +11,15 @@ MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays information in real time about users currently logged on
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
PLIST_FILES= bin/whowatch man/man1/${PORTNAME}.1.gz
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 900006
-EXTRA_PATCHES= ${PATCHDIR}/utmpx-whowatch.h \
- ${PATCHDIR}/utmpx-whowatch.c
-.endif
-
pre-patch:
@${FIND} ${WRKSRC} -name 'proc????.c' | ${XARGS} ${REINPLACE_CMD} -E \
-e 's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/whowatch/files/utmpx-whowatch.c b/sysutils/whowatch/files/patch-whowatch.c
index 9a0b00848f83..9a0b00848f83 100644
--- a/sysutils/whowatch/files/utmpx-whowatch.c
+++ b/sysutils/whowatch/files/patch-whowatch.c
diff --git a/sysutils/whowatch/files/utmpx-whowatch.h b/sysutils/whowatch/files/patch-whowatch.h
index b0e051737708..b0e051737708 100644
--- a/sysutils/whowatch/files/utmpx-whowatch.h
+++ b/sysutils/whowatch/files/patch-whowatch.h