summaryrefslogtreecommitdiff
path: root/japanese/mecab
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-05-20 17:07:10 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-05-20 17:07:10 +0000
commitb9ea6f522310f3776e6ae3320d687e3739b58f12 (patch)
tree9e4d849129ed20cb597435ecc196f167ad95ef52 /japanese/mecab
parentThe pkg-install, pkg-deinstall and pkg-message files are suitable (diff)
Mark IGNORE for perl < 5.8.0
PR: 97523 Submitted by: TAKATSU Tomonari <tota@rtfm.jp>
Notes
Notes: svn path=/head/; revision=162885
Diffstat (limited to 'japanese/mecab')
-rw-r--r--japanese/mecab/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 10cf8dd6e3e5..5f846d299239 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -28,6 +28,12 @@ MAN1= mecab.1
DOCS= AUTHORS README doc/*.html
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 and try again
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@@ -41,4 +47,4 @@ post-patch:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
-e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>