2013-07-31 08:54:09 +02:00
|
|
|
# Created by: Sean Farley <sean-freebsd@farley.org>
|
2003-08-25 19:49:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= X11-IdleTime
|
2017-12-29 19:47:37 +01:00
|
|
|
PORTVERSION= 0.09
|
2003-08-25 19:49:23 +02:00
|
|
|
CATEGORIES= x11 perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2003-08-25 19:49:23 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2006-07-07 08:11:16 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-08-25 19:49:23 +02:00
|
|
|
COMMENT= Perl module that reports number of seconds that X11 has been idle
|
|
|
|
|
2017-09-15 10:58:46 +02:00
|
|
|
LICENSE= ART10 GPLv1+
|
2015-01-03 08:13:15 +01:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2017-12-29 19:47:37 +01:00
|
|
|
BUILD_DEPENDS= p5-Inline>=0.44:devel/p5-Inline \
|
|
|
|
p5-Inline-C>=0.44:devel/p5-Inline-C
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2003-08-25 19:49:23 +02:00
|
|
|
|
2010-09-24 01:40:55 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-07-31 08:54:09 +02:00
|
|
|
USES= perl5
|
2017-12-29 19:47:37 +01:00
|
|
|
USE_PERL5= configure
|
|
|
|
USE_XORG= x11 xext xscrnsaver
|
2003-08-25 19:49:23 +02:00
|
|
|
|
2017-12-31 23:23:48 +01:00
|
|
|
PORTSCOUT= skipv:0.5
|
|
|
|
|
2003-08-25 19:49:23 +02:00
|
|
|
post-patch:
|
2017-12-29 19:47:37 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/IdleTime.pm ${WRKSRC}/Makefile.PL
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/X11/IdleTime/IdleTime.so
|
2003-08-25 19:49:23 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|