2012-11-07 08:58:16 +01:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2007-02-18 01:45:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2008-09-07 13:32:09 +02:00
|
|
|
PORTNAME= slock
|
2015-01-12 17:17:14 +01:00
|
|
|
PORTVERSION= 1.2
|
2007-02-18 01:45:34 +01:00
|
|
|
CATEGORIES= x11
|
2010-07-09 15:43:08 +02:00
|
|
|
MASTER_SITES= http://dl.suckless.org/tools/
|
2007-02-18 01:45:34 +01:00
|
|
|
|
2014-12-10 23:29:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-02-18 01:45:34 +01:00
|
|
|
COMMENT= Simple X screen locker
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
|
|
|
|
X11INC="${LOCALBASE}/include" CC="${CC}" \
|
2007-02-18 01:45:34 +01:00
|
|
|
MANPREFIX="${MANPREFIX}/man"
|
|
|
|
PLIST_FILES= bin/slock
|
|
|
|
|
2010-07-09 15:43:08 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2008-04-21 00:27:05 +02:00
|
|
|
USE_XORG= x11 xt xproto xext
|
2007-02-21 06:55:04 +01:00
|
|
|
|
2007-02-18 01:45:34 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
|
2013-10-10 10:18:54 +02:00
|
|
|
-e 's|-DHAVE_SHADOW_H|-DHAVE_PAM|' -e '/^LDFLAGS/s|$$| -lpam|' \
|
|
|
|
${WRKSRC}/config.mk
|
2007-02-18 01:45:34 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|