diff options
author | obache <obache@pkgsrc.org> | 2011-03-20 06:55:13 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-20 06:55:13 +0000 |
commit | 778f10c80a61dd5c9aff088a604d84e47bdb7681 (patch) | |
tree | efbe6669c66a7929abec209c0c771aacbadaa77b /net/wmnet | |
parent | 4137228b03862b349af5d26ca7d1f80f06a18ef6 (diff) | |
download | pkgsrc-778f10c80a61dd5c9aff088a604d84e47bdb7681.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'net/wmnet')
-rw-r--r-- | net/wmnet/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/wmnet/Makefile b/net/wmnet/Makefile index c275ec37721..cbbc6707bab 100644 --- a/net/wmnet/Makefile +++ b/net/wmnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/09/19 06:20:07 tron Exp $ +# $NetBSD: Makefile,v 1.17 2011/03/20 06:55:13 obache Exp $ DISTNAME= wmnet-1.06 PKGREVISION= 5 @@ -14,12 +14,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.katharineosborne.com/wmnet/ COMMENT= Dockable network monitor +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= YES -MAKE_FLAGS+= MANPATH=${PREFIX}/${PKGMANDIR} .include "../../mk/bsd.prefs.mk" -.if !empty(UNPRIVILEGED:M[Yy][Ee][Ss]) +.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" MAKE_FLAGS+= INSTPGMFLAGS="" SPECIAL_PERMS+= bin/wmnet ${BINOWN} kmem 2555 .endif |