aboutsummaryrefslogtreecommitdiffstats
path: root/x11/slock
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-04-09 03:17:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-04-09 03:17:47 +0800
commit81bcccfd1ae972e807677298ce534374d1c43c89 (patch)
tree3622032fa6d31a7359c795d44c1d68e17f9b4b54 /x11/slock
parentdef48fb71c0b8414b0ec0d71bb097d5ff0779d14 (diff)
downloadfreebsd-ports-gnome-81bcccfd1ae972e807677298ce534374d1c43c89.tar.gz
freebsd-ports-gnome-81bcccfd1ae972e807677298ce534374d1c43c89.tar.zst
freebsd-ports-gnome-81bcccfd1ae972e807677298ce534374d1c43c89.zip
- Add CPE info
- Pet portlint - Add permissions to pkg-plist
Diffstat (limited to 'x11/slock')
-rw-r--r--x11/slock/Makefile11
-rw-r--r--x11/slock/pkg-plist1
2 files changed, 7 insertions, 5 deletions
diff --git a/x11/slock/Makefile b/x11/slock/Makefile
index fb23039edf7e..a3a18bc6e6de 100644
--- a/x11/slock/Makefile
+++ b/x11/slock/Makefile
@@ -3,21 +3,22 @@
PORTNAME= slock
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple X screen locker
-MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
- X11INC="${LOCALBASE}/include" CC="${CC}" \
- MANPREFIX="${MANPREFIX}/man"
-PLIST_FILES= bin/slock
-
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= cpe
+CPE_VENDOR= suckless
USE_XORG= x11 xt xproto xext
+MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
+ X11INC="${LOCALBASE}/include" CC="${CC}" \
+ MANPREFIX="${MANPREFIX}/man"
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
diff --git a/x11/slock/pkg-plist b/x11/slock/pkg-plist
new file mode 100644
index 000000000000..a4f336bf7be7
--- /dev/null
+++ b/x11/slock/pkg-plist
@@ -0,0 +1 @@
+@(,,4755) bin/slock