diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-25 17:49:23 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-25 17:49:23 +0000 |
commit | fa984a41697dd39e50ec44bb21cdf6345191ab0b (patch) | |
tree | 253ccd8102bf90cd521702041f1a1b9726da0ac4 | |
parent | 458d3d20d3a9f7b3744411bbec2ba53e15b09816 (diff) | |
download | ports-fa984a41697dd39e50ec44bb21cdf6345191ab0b.tar.gz ports-fa984a41697dd39e50ec44bb21cdf6345191ab0b.zip |
Notes
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/Makefile | 42 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/distinfo | 1 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/files/patch-aa | 10 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/pkg-descr | 8 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/pkg-plist | 7 |
6 files changed, 69 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 5ecbdef3cfc1..fae52474c425 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -82,6 +82,7 @@ SUBDIR += offix-clipboard SUBDIR += offix-execute SUBDIR += oooqs + SUBDIR += p5-X11-IdleTime SUBDIR += p5-X11-Protocol SUBDIR += peeper SUBDIR += portoseguro diff --git a/x11/p5-X11-IdleTime/Makefile b/x11/p5-X11-IdleTime/Makefile new file mode 100644 index 000000000000..8dfbde7822ef --- /dev/null +++ b/x11/p5-X11-IdleTime/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: p5-X11-IdleTime +# Date created: 9 July 2003 +# Whom: Sean Farley <sean-freebsd@farley.org> +# +# $FreeBSD$ +# + +PORTNAME= X11-IdleTime +PORTVERSION= 0.01 +CATEGORIES= x11 perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= X11 +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org +COMMENT= Perl module that reports number of seconds that X11 has been idle + +BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_XLIB= yes +USE_REINPLACE= yes +PERL_CONFIGURE= yes + +MANPREFIX= ${SITE_PERL} +MAN3= X11::IdleTime.3 + +post-patch: +.for i in IdleTime.pm + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/${i} +.endfor + +.include <bsd.port.pre.mk> + +## +## this port requires PERL 5.8.x or later +## +.if ${PERL_LEVEL} < 500800 +IGNORE= Port requires perl 5.8.x or later. Install lang/perl5.8 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/x11/p5-X11-IdleTime/distinfo b/x11/p5-X11-IdleTime/distinfo new file mode 100644 index 000000000000..09b2af496e7b --- /dev/null +++ b/x11/p5-X11-IdleTime/distinfo @@ -0,0 +1 @@ +MD5 (X11-IdleTime-0.01.tar.gz) = 110db52863b1a351752bc2ede6eec2e1 diff --git a/x11/p5-X11-IdleTime/files/patch-aa b/x11/p5-X11-IdleTime/files/patch-aa new file mode 100644 index 000000000000..1e35f2ea03a5 --- /dev/null +++ b/x11/p5-X11-IdleTime/files/patch-aa @@ -0,0 +1,10 @@ +--- IdleTime.pm.orig Fri Feb 7 23:22:42 2003 ++++ IdleTime.pm Wed Jul 9 18:23:01 2003 +@@ -12,6 +12,7 @@ + C => 'DATA', + VERSION => '0.01', + NAME => 'X11::IdleTime', ++ INC => '-I/usr/X11R6/include/', + LIBS => '-L/usr/X11R6/lib/ -lX11 -lXext -lXss', + ); + diff --git a/x11/p5-X11-IdleTime/pkg-descr b/x11/p5-X11-IdleTime/pkg-descr new file mode 100644 index 000000000000..6b0efd47f83e --- /dev/null +++ b/x11/p5-X11-IdleTime/pkg-descr @@ -0,0 +1,8 @@ +X11::IdleTime has one sub routine, GetIdleTime() which returns the number of +seconds that X11 has been idle (no mouse or keyboard activity). + + +Copyright (C) 2003 Adam Wendt + +This library is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. diff --git a/x11/p5-X11-IdleTime/pkg-plist b/x11/p5-X11-IdleTime/pkg-plist new file mode 100644 index 000000000000..f7686974ed84 --- /dev/null +++ b/x11/p5-X11-IdleTime/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/X11/IdleTime.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/X11/IdleTime/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/X11/IdleTime/IdleTime.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/X11/IdleTime/IdleTime.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/X11/IdleTime +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/X11 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/X11 2>/dev/null || true |