Date: Fri, 29 Dec 2017 18:47:37 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457527 - in head/x11/p5-X11-IdleTime: . files Message-ID: <201712291847.vBTIlbZ8062961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Dec 29 18:47:37 2017 New Revision: 457527 URL: https://svnweb.freebsd.org/changeset/ports/457527 Log: Update to 0.09 - Remove USE_PERL5=patch - Strip shared library - Regenerate patch file with makepatch: Changes: http://search.cpan.org/dist/X11-IdleTime/Changes Added: head/x11/p5-X11-IdleTime/files/patch-Makefile.PL (contents, props changed) Modified: head/x11/p5-X11-IdleTime/Makefile head/x11/p5-X11-IdleTime/distinfo head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm Modified: head/x11/p5-X11-IdleTime/Makefile ============================================================================== --- head/x11/p5-X11-IdleTime/Makefile Fri Dec 29 18:47:31 2017 (r457526) +++ head/x11/p5-X11-IdleTime/Makefile Fri Dec 29 18:47:37 2017 (r457527) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= X11-IdleTime -PORTVERSION= 0.5 -PORTREVISION= 2 +PORTVERSION= 0.09 CATEGORIES= x11 perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,20 +13,19 @@ COMMENT= Perl module that reports number of seconds th 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 <bsd.port.mk> Modified: head/x11/p5-X11-IdleTime/distinfo ============================================================================== --- head/x11/p5-X11-IdleTime/distinfo Fri Dec 29 18:47:31 2017 (r457526) +++ head/x11/p5-X11-IdleTime/distinfo Fri Dec 29 18:47:37 2017 (r457527) @@ -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 Modified: head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm ============================================================================== --- head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm Fri Dec 29 18:47:31 2017 (r457526) +++ head/x11/p5-X11-IdleTime/files/patch-IdleTime.pm Fri Dec 29 18:47:37 2017 (r457527) @@ -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; Added: head/x11/p5-X11-IdleTime/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/p5-X11-IdleTime/files/patch-Makefile.PL Fri Dec 29 18:47:37 2017 (r457527) @@ -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' + ); + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712291847.vBTIlbZ8062961>