aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-VimColor
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-05 16:58:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-05 16:58:15 +0000
commit37a6debc889c37b8d46106bde25844e2723e369b (patch)
tree72e65646f2d4175d1d06767988090651210dd262 /textproc/p5-Text-VimColor
parentbe62e1a4325253cda3f03d6bc12b9387cc6a64f3 (diff)
downloadports-37a6debc889c37b8d46106bde25844e2723e369b.tar.gz
ports-37a6debc889c37b8d46106bde25844e2723e369b.zip
Notes
Diffstat (limited to 'textproc/p5-Text-VimColor')
-rw-r--r--textproc/p5-Text-VimColor/Makefile25
-rw-r--r--textproc/p5-Text-VimColor/distinfo4
-rw-r--r--textproc/p5-Text-VimColor/pkg-plist10
3 files changed, 28 insertions, 11 deletions
diff --git a/textproc/p5-Text-VimColor/Makefile b/textproc/p5-Text-VimColor/Makefile
index 0385cd3821ff..5356b0b314e2 100644
--- a/textproc/p5-Text-VimColor/Makefile
+++ b/textproc/p5-Text-VimColor/Makefile
@@ -6,21 +6,36 @@
#
PORTNAME= Text-VimColor
-PORTVERSION= 0.11
+PORTVERSION= 0.14
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:GEOFFR
PKGNAMEPREFIX= p5-
MAINTAINER= ychsiao@ychsiao.org
COMMENT= Syntax color text in HTML or XML using Vim
-BUILD_DEPENDS= ${SITE_PERL}/Path/Class.pm:${PORTSDIR}/devel/p5-Path-Class
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
+ p5-File-ShareDir-Install>=0.03:${PORTSDIR}/devel/p5-File-ShareDir-Install \
+ p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
+ ${LOCALBASE}/bin/vim:${PORTSDIR}/editors/vim
+RUN_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
+ p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
+ ${LOCALBASE}/bin/vim:${PORTSDIR}/editors/vim
PERL_CONFIGURE= yes
MAN1= text-vimcolor.1
MAN3= Text::VimColor.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
+RUN_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-VimColor/distinfo b/textproc/p5-Text-VimColor/distinfo
index b848fa1b09f3..bd1a14f504ef 100644
--- a/textproc/p5-Text-VimColor/distinfo
+++ b/textproc/p5-Text-VimColor/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Text-VimColor-0.11.tar.gz) = daea9dcdd1ad3d5c18c843e13f1508540e5bc838a908e59a4e90bfd1ce9a52fa
-SIZE (Text-VimColor-0.11.tar.gz) = 20375
+SHA256 (Text-VimColor-0.14.tar.gz) = 5230a704a2f4ec54f04933c5d71c785274e9819e30f9f55766d3d365b5af37f6
+SIZE (Text-VimColor-0.14.tar.gz) = 38480
diff --git a/textproc/p5-Text-VimColor/pkg-plist b/textproc/p5-Text-VimColor/pkg-plist
index 6b74b23018b1..7275a0149470 100644
--- a/textproc/p5-Text-VimColor/pkg-plist
+++ b/textproc/p5-Text-VimColor/pkg-plist
@@ -1,10 +1,12 @@
bin/text-vimcolor
%%SITE_PERL%%/Text/VimColor.pm
-%%SITE_PERL%%/Text/VimColor/light.css
-%%SITE_PERL%%/Text/VimColor/light.xsl
-%%SITE_PERL%%/Text/VimColor/mark.vim
+%%SITE_PERL%%/auto/share/dist/Text-VimColor/light.css
+%%SITE_PERL%%/auto/share/dist/Text-VimColor/light.xsl
+%%SITE_PERL%%/auto/share/dist/Text-VimColor/mark.vim
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VimColor/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VimColor
-@dirrm %%SITE_PERL%%/Text/VimColor
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
+@dirrm %%SITE_PERL%%/auto/share/dist/Text-VimColor
+@dirrmtry %%SITE_PERL%%/auto/share/dist
+@dirrmtry %%SITE_PERL%%/auto/share
@dirrmtry %%SITE_PERL%%/Text