diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-12-30 02:47:37 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-12-30 02:47:37 +0800 |
commit | b0de3baec2642d36df278dceb8c3c4b30284cd15 (patch) | |
tree | 8114d92cfabb16c03c924294d1d5e5499aeec71c /x11 | |
parent | f58cab91a620d52c1132e1acd524404a738dc969 (diff) | |
download | freebsd-ports-gnome-b0de3baec2642d36df278dceb8c3c4b30284cd15.tar.gz freebsd-ports-gnome-b0de3baec2642d36df278dceb8c3c4b30284cd15.tar.zst freebsd-ports-gnome-b0de3baec2642d36df278dceb8c3c4b30284cd15.zip |
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
Diffstat (limited to 'x11')
-rw-r--r-- | x11/p5-X11-IdleTime/Makefile | 20 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/distinfo | 5 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/files/patch-IdleTime.pm | 14 | ||||
-rw-r--r-- | x11/p5-X11-IdleTime/files/patch-Makefile.PL | 13 |
4 files changed, 33 insertions, 19 deletions
diff --git a/x11/p5-X11-IdleTime/Makefile b/x11/p5-X11-IdleTime/Makefile index 9b1984790f53..43ee3ab36300 100644 --- a/x11/p5-X11-IdleTime/Makefile +++ b/x11/p5-X11-IdleTime/Makefile @@ -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 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 <bsd.port.mk> diff --git a/x11/p5-X11-IdleTime/distinfo b/x11/p5-X11-IdleTime/distinfo index ef0780acebf7..9ac41e170d65 100644 --- a/x11/p5-X11-IdleTime/distinfo +++ b/x11/p5-X11-IdleTime/distinfo @@ -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 diff --git a/x11/p5-X11-IdleTime/files/patch-IdleTime.pm b/x11/p5-X11-IdleTime/files/patch-IdleTime.pm index 1e35f2ea03a5..5c3f9223a85d 100644 --- a/x11/p5-X11-IdleTime/files/patch-IdleTime.pm +++ b/x11/p5-X11-IdleTime/files/patch-IdleTime.pm @@ -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; diff --git a/x11/p5-X11-IdleTime/files/patch-Makefile.PL b/x11/p5-X11-IdleTime/files/patch-Makefile.PL new file mode 100644 index 000000000000..27eb69be583d --- /dev/null +++ b/x11/p5-X11-IdleTime/files/patch-Makefile.PL @@ -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' + ); + + |