1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/slock/Makefile
Martin Wilke 9fea7fcb8e - Update to 0.9
- Update MASTER_SITES/WWW
- Take maintainership
2008-09-07 11:32:09 +00:00

28 lines
650 B
Makefile

# New ports collection makefile for: slock
# Date created: 18 February 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= slock
PORTVERSION= 0.9
CATEGORIES= x11
MASTER_SITES= http://code.suckless.org/dl/tools/
MAINTAINER= miwi@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
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||' ${WRKSRC}/config.mk
.include <bsd.port.mk>