1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/x11/slock/Makefile
Andrew Pantyukhin f904d20178 - Update to 0.6
2007-03-07 13:12:27 +00:00

28 lines
649 B
Makefile

# New ports collection makefile for: slock
# Date created: 18 February 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= slock
PORTVERSION= 0.6
CATEGORIES= x11
MASTER_SITES= http://www.suckless.org/download/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Simple X screen locker
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
X11INC="${X11BASE}/include" CC="${CC}" \
MANPREFIX="${MANPREFIX}/man"
PLIST_FILES= bin/slock
USE_XLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
-e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk
.include <bsd.port.mk>