summaryrefslogtreecommitdiff
path: root/net/wmnet
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-14 15:49:15 +0000
committerrillig <rillig@pkgsrc.org>2007-03-14 15:49:15 +0000
commit141b0a6d59e670eee5ca7ad9378d4bb8ad13f673 (patch)
tree1f01a82b2c52c09ec80483cc734a9eca697c2564 /net/wmnet
parent87b3fd7233aa0edc3c68e67b714e63034c4d0c7c (diff)
downloadpkgsrc-141b0a6d59e670eee5ca7ad9378d4bb8ad13f673.tar.gz
Fixed the unprivileged build and PKGMANDIR.
Diffstat (limited to 'net/wmnet')
-rw-r--r--net/wmnet/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/wmnet/Makefile b/net/wmnet/Makefile
index f71f137fa52..f41d7c344b8 100644
--- a/net/wmnet/Makefile
+++ b/net/wmnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/12/27 13:37:39 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2007/03/14 15:49:15 rillig Exp $
DISTNAME= wmnet-1.06
PKGREVISION= 5
@@ -15,6 +15,14 @@ HOMEPAGE= http://www.katharineosborne.com/wmnet/
COMMENT= Dockable network monitor
USE_IMAKE= YES
+MAKE_FLAGS+= MANPATH=${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(UNPRIVILEGED:M[Yy][Ee][Ss])
+MAKE_FLAGS+= INSTPGMFLAGS=""
+SPECIAL_PERMS+= bin/wmnet ${ROOT_USER} kmem 2555
+.endif
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"