Index: head/x11/p5-X11-IdleTime/Makefile =================================================================== --- head/x11/p5-X11-IdleTime/Makefile (revision 457526) +++ head/x11/p5-X11-IdleTime/Makefile (revision 457527) @@ -1,33 +1,31 @@ # Created by: Sean Farley # $FreeBSD$ PORTNAME= X11-IdleTime -PORTVERSION= 0.5 -PORTREVISION= 2 +PORTVERSION= 0.09 CATEGORIES= x11 perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module that reports number of seconds that X11 has been idle LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -BUILD_DEPENDS= p5-Inline>=0:devel/p5-Inline \ - p5-Inline-C>=0:devel/p5-Inline-C +BUILD_DEPENDS= p5-Inline>=0.44:devel/p5-Inline \ + p5-Inline-C>=0.44:devel/p5-Inline-C RUN_DEPENDS:= ${BUILD_DEPENDS} MAKE_JOBS_UNSAFE= yes - -USE_XORG= x11 xscrnsaver USES= perl5 -USE_PERL5= configure patch +USE_PERL5= configure +USE_XORG= x11 xext xscrnsaver post-patch: -.for i in IdleTime.pm - @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/${i} - @${PERL} -pi -e "s,[\d\.]+,${PORTVERSION:C/0./0.0/}, if m{VERSION}" ${WRKSRC}/${i} -.endfor + @${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 .include Index: head/x11/p5-X11-IdleTime/distinfo =================================================================== --- head/x11/p5-X11-IdleTime/distinfo (revision 457526) +++ head/x11/p5-X11-IdleTime/distinfo (revision 457527) @@ -1,2 +1,3 @@ -SHA256 (X11-IdleTime-0.5.tar.gz) = 211d0334164619655578e9edecb70f3c581ef2161de53ccc54ba1c9dec6e5fd7 -SIZE (X11-IdleTime-0.5.tar.gz) = 2100 +TIMESTAMP = 1514469885 +SHA256 (X11-IdleTime-0.09.tar.gz) = d8fddc078e7981ee31b7608c653645cb20f016bdddc7c550b4d527efd3624748 +SIZE (X11-IdleTime-0.09.tar.gz) = 6586 Index: head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm =================================================================== --- head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm (revision 457526) +++ head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm (revision 457527) @@ -1,10 +1,12 @@ ---- IdleTime.pm.orig Fri Feb 7 23:22:42 2003 -+++ IdleTime.pm Wed Jul 9 18:23:01 2003 -@@ -12,6 +12,7 @@ +--- IdleTime.pm.orig 2008-07-04 17:02:22 UTC ++++ IdleTime.pm +@@ -13,7 +13,8 @@ use Inline ( C => 'DATA', - VERSION => '0.01', + VERSION => '0.08', NAME => 'X11::IdleTime', -+ INC => '-I/usr/X11R6/include/', - LIBS => '-L/usr/X11R6/lib/ -lX11 -lXext -lXss', +- LIBS => '-L/usr/X11R6/lib/ -lX11 -lXext -lXss', ++ INC => '-I/usr/local/include/', ++ LIBS => '-L/usr/local/lib/ -lX11 -lXext -lXss', ); + 1; Index: head/x11/p5-X11-IdleTime/files/patch-Makefile.PL =================================================================== --- head/x11/p5-X11-IdleTime/files/patch-Makefile.PL (nonexistent) +++ head/x11/p5-X11-IdleTime/files/patch-Makefile.PL (revision 457527) @@ -0,0 +1,13 @@ +--- Makefile.PL.orig 2008-07-04 16:41:37 UTC ++++ Makefile.PL +@@ -5,7 +5,9 @@ use Devel::CheckLib; + + check_lib_or_exit( + # fill in what you prompted the user for here +- lib => [qw(X11 Xext Xss)] ++ lib => [qw(X11 Xext Xss)], ++ INC => '-I/usr/local/include', ++ LIBS => '-L/usr/local/lib' + ); + + Property changes on: head/x11/p5-X11-IdleTime/files/patch-Makefile.PL ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property