1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11/xidle/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

40 lines
881 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= 1
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
USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include -D__dead=static
MAKE_ARGS+= X11LIBDIR="${X11BASE}/lib" \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
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>