summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-10 12:46:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-10 12:46:42 +0000
commit5ad477520d719da3b4513d0f6be260a70e9f6c0d (patch)
treeb85d39613c0e538173210d52265f41a9baf85132 /x11
parentFix mpdcon distfile name (diff)
Remove bad pam.d file, change i3lock to be setuid so it can use pam_unix and really validate passwords
Reported by: gahr Approved by: maintainer (implicit)
Notes
Notes: svn path=/head/; revision=329986
Diffstat (limited to 'x11')
-rw-r--r--x11/i3lock/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/i3lock/Makefile b/x11/i3lock/Makefile
index 017bf5901b8a..296735f856c6 100644
--- a/x11/i3lock/Makefile
+++ b/x11/i3lock/Makefile
@@ -3,6 +3,7 @@
PORTNAME= i3lock
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/${PORTNAME}/
@@ -23,15 +24,14 @@ MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
MANDIR="${MANPREFIX}/man"
PLIST_FILES= bin/i3lock \
- etc/pam.d/i3lock
-
-MAN1= i3lock.1
+ man/man1/i3lock.1.gz
LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xproto xext
USE_BZIP2= yes
-USE_GMAKE= yes
-USES= iconv pkgconfig
+USES= gmake iconv pkgconfig
+
+post-install:
+ ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/i3lock
-NO_STAGE= yes
.include <bsd.port.mk>