1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/x11/slock/Makefile

29 lines
681 B
Makefile
Raw Normal View History

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= slock
2015-01-12 16:17:14 +00:00
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
2014-12-10 22:29:14 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple X screen locker
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|+=|'\
-e 's|-DHAVE_SHADOW_H|-DHAVE_PAM|' -e '/^LDFLAGS/s|$$| -lpam|' \
${WRKSRC}/config.mk
.include <bsd.port.mk>