2005-10-24 19:55:16 +02:00
|
|
|
# New ports collection makefile for: xidle
|
|
|
|
# Date created: 2005-10-24
|
|
|
|
# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xidle
|
|
|
|
PORTVERSION= 24102005
|
2008-03-25 00:21:25 +01:00
|
|
|
PORTREVISION= 2
|
2005-10-24 19:55:16 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= novel
|
|
|
|
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
|
|
COMMENT= Run a program on X inactivity
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
- 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
|
|
|
CFLAGS+= -I${LOCALBASE}/include -D__dead=static
|
|
|
|
MAKE_ARGS+= X11LIBDIR="${LOCALBASE}/lib" \
|
2005-11-25 12:41:42 +01:00
|
|
|
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2005-10-24 19:55:16 +02:00
|
|
|
|
2008-03-25 00:21:25 +01:00
|
|
|
USE_XORG= x11 xscrnsaver
|
2005-10-24 19:55:16 +02:00
|
|
|
PLIST_FILES= bin/xidle
|
|
|
|
MAN1= xidle.1
|
|
|
|
|
2005-11-04 12:02:02 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-24 19:55:16 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xidle ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xidle.1 ${PREFIX}/man/man1
|
|
|
|
|
2005-11-04 12:02:02 +01:00
|
|
|
.include <bsd.port.post.mk>
|