mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
70fca9fe8a
Suggested by: bapt
29 lines
672 B
Makefile
29 lines
672 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slock
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://dl.suckless.org/tools/
|
|
|
|
MAINTAINER= gahr@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
|
|
|
|
USE_XORG= x11 xt xproto xext
|
|
|
|
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>
|