aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-01-14 10:01:55 +0800
committerswills <swills@FreeBSD.org>2013-01-14 10:01:55 +0800
commit07302dacebc90187526dd4596fe0853a6e25d567 (patch)
tree55d50e580a46c2370f49829a3d9f669344a75bf1
parent850e7942ef8820e5e44ec3cc4583e0cada2e826f (diff)
downloadfreebsd-ports-gnome-07302dacebc90187526dd4596fe0853a6e25d567.tar.gz
freebsd-ports-gnome-07302dacebc90187526dd4596fe0853a6e25d567.tar.zst
freebsd-ports-gnome-07302dacebc90187526dd4596fe0853a6e25d567.zip
- Update to 1.22
- Give maintainership to submitter - Remove unnecessary entry from pkg-plist PR: ports/175134 Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
-rw-r--r--devel/p5-Thread-Suspend/Makefile24
-rw-r--r--devel/p5-Thread-Suspend/distinfo4
-rw-r--r--devel/p5-Thread-Suspend/pkg-plist1
3 files changed, 16 insertions, 13 deletions
diff --git a/devel/p5-Thread-Suspend/Makefile b/devel/p5-Thread-Suspend/Makefile
index 4a6525ce57f4..1944421c775c 100644
--- a/devel/p5-Thread-Suspend/Makefile
+++ b/devel/p5-Thread-Suspend/Makefile
@@ -2,27 +2,31 @@
# $FreeBSD$
PORTNAME= Thread-Suspend
-PORTVERSION= 1.21
+PORTVERSION= 1.22
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Thread
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= linpc@cs.nctu.edu.tw
COMMENT= Suspend and resume operations for threads
-RUN_DEPENDS= p5-threads>=1.39:${PORTSDIR}/devel/p5-threads \
- p5-threads-shared>=1.01:${PORTSDIR}/devel/p5-threads-shared
-BUILD_DEPENDS:= ${RUN_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Thread::Suspend.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500809
+RUN_DEPENDS+= p5-threads>=1.39:${PORTSDIR}/devel/p5-threads \
+ p5-threads-shared>=1.01:${PORTSDIR}/devel/p5-threads-shared
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+.endif
+
pre-everything::
- @${ECHO_MSG} "--------------------------------------------------------"
+ @${ECHO_MSG} "----------------------------------------------------------"
@${ECHO_MSG} "This module requires a threaded perl. If your install"
- @${ECHO_MSG} "is not threaded please install lang/perl5.8 with threads"
- @${ECHO_MSG} "--------------------------------------------------------"
+ @${ECHO_MSG} "is not threaded please install lang/${PERL_PORT} with threads"
+ @${ECHO_MSG} "----------------------------------------------------------"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Thread-Suspend/distinfo b/devel/p5-Thread-Suspend/distinfo
index 5d4e826eb66f..6758615a5947 100644
--- a/devel/p5-Thread-Suspend/distinfo
+++ b/devel/p5-Thread-Suspend/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Thread-Suspend-1.21.tar.gz) = f86ee8c438a52fbc835a965652f5c3f1c591ae79310c805ca8461ccbae3dbe18
-SIZE (Thread-Suspend-1.21.tar.gz) = 7458
+SHA256 (Thread-Suspend-1.22.tar.gz) = c24640f31a8594d50057cf3cdd3ff36d897f10202d9c540fd638116855275d1b
+SIZE (Thread-Suspend-1.22.tar.gz) = 7943
diff --git a/devel/p5-Thread-Suspend/pkg-plist b/devel/p5-Thread-Suspend/pkg-plist
index 46d7562dfdb9..584cdbd356db 100644
--- a/devel/p5-Thread-Suspend/pkg-plist
+++ b/devel/p5-Thread-Suspend/pkg-plist
@@ -1,6 +1,5 @@
%%SITE_PERL%%/Thread/Suspend.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend/.packlist
-@dirrmtry %%SITE_PERL%%/Thread/Suspend
@dirrmtry %%SITE_PERL%%/Thread
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread