1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/x11/xidle/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

39 lines
849 B
Makefile

# New ports collection makefile for: xidle
# Date created: 2005-10-24
# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xidle
PORTVERSION= 24102005
PORTREVISION= 2
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
CFLAGS+= -I${LOCALBASE}/include -D__dead=static
MAKE_ARGS+= X11LIBDIR="${LOCALBASE}/lib" \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_XORG= x11 xscrnsaver
PLIST_FILES= bin/xidle
MAN1= xidle.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502104
post-extract:
@${REINPLACE_CMD} -e 's|getopt_long_only|getopt_long|' ${WRKSRC}/xidle.c
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xidle ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xidle.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>