summaryrefslogtreecommitdiff
path: root/sysutils/slocate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/slocate/Makefile')
-rw-r--r--sysutils/slocate/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/slocate/Makefile b/sysutils/slocate/Makefile
index 93f66365d3f..96662cee089 100644
--- a/sysutils/slocate/Makefile
+++ b/sysutils/slocate/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2012/12/12 15:24:17 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2016/05/17 10:32:09 fhajny Exp $
#
DISTNAME= slocate-3.1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://fossies.org/unix/misc/old/
@@ -23,9 +24,9 @@ EGDIR= ${PREFIX}/share/examples/slocate
MESSAGE_SUBST+= EGDIR=${EGDIR}
OWN_DIRS= ${PREFIX}/var/slocate
-OWN_DIRS_PERMS+= ${PREFIX}/var/slocate ${ROOT_USER} ${SLOCATE_GROUP} 0750
+OWN_DIRS_PERMS+= ${PREFIX}/var/slocate ${REAL_ROOT_USER} ${SLOCATE_GROUP} 0750
-SPECIAL_PERMS+= src/slocate ${ROOT_USER} ${SLOCATE_GROUP} 2755
+SPECIAL_PERMS+= src/slocate ${REAL_ROOT_USER} ${SLOCATE_GROUP} 2755
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/slocate ${DESTDIR}${PREFIX}/bin/