summaryrefslogtreecommitdiff
path: root/net
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
commit195f95e33eb4afc8a70207f8cf525110caf516f7 (patch)
tree1f01a82b2c52c09ec80483cc734a9eca697c2564 /net
parent8baf2297c20e00c02e65d1da0947002a700d1f4d (diff)
downloadpkgsrc-195f95e33eb4afc8a70207f8cf525110caf516f7.tar.gz
Fixed the unprivileged build and PKGMANDIR.
Diffstat (limited to 'net')
-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"