1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11/slock/Makefile
Kirill Ponomarev 00d6b428b3 Update x11/slock to 1.4
PR:		217270
Submitted by:	pkubaj@anongoth.pl
Approved by:	mat (mentor), maintainer
Differential Revision:	https://reviews.freebsd.org/D9783
2017-02-24 17:14:38 +00:00

28 lines
678 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= slock
PORTVERSION= 1.4
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Simple X screen locker
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe
CPE_VENDOR= suckless
USE_XORG= x11 xext xproto xrandr xt
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|+=|'\
-e 's|-DHAVE_SHADOW_H|-DHAVE_PAM|' -e '/^LDFLAGS/s|$$| -lpam|' \
${WRKSRC}/config.mk
.include <bsd.port.mk>