aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-09-08 01:12:10 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-09-08 01:12:10 +0000
commit9839011ec3910790376ce9ace5e2a1c5bcb2781f (patch)
tree41c61966bf1404bd3cfce06493a35d6a1a4acfc6 /japanese
parent41a56135d1e8a68844e4c575702cdbad451d7322 (diff)
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Notes
Notes: svn path=/head/; revision=199069
Diffstat (limited to 'japanese')
-rw-r--r--japanese/another-htmllint/Makefile1
-rw-r--r--japanese/eijiro-fpw/Makefile1
-rw-r--r--japanese/mecab/Makefile6
-rw-r--r--japanese/mypaedia-fpw/Makefile1
-rw-r--r--japanese/otojiro-fpw/Makefile1
-rw-r--r--japanese/p5-Date-Japanese-Era/Makefile6
-rw-r--r--japanese/p5-Lingua-JA-Numbers/Makefile10
-rw-r--r--japanese/p5-MeCab/Makefile6
-rw-r--r--japanese/p5-Unicode-Japanese/Makefile6
-rw-r--r--japanese/p5-WWW-2ch/Makefile8
-rw-r--r--japanese/srd-fpw/Makefile1
-rw-r--r--japanese/tiarra/Makefile8
-rw-r--r--japanese/waeijiro-fpw/Makefile1
-rw-r--r--japanese/wikicker/Makefile2
14 files changed, 16 insertions, 42 deletions
diff --git a/japanese/another-htmllint/Makefile b/japanese/another-htmllint/Makefile
index 4b7812e77bab..ea38fb459eeb 100644
--- a/japanese/another-htmllint/Makefile
+++ b/japanese/another-htmllint/Makefile
@@ -16,6 +16,7 @@ COMMENT= Another HTML-lint (all messages are written in Japanese)
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${JCODE}:${PORTSDIR}/japanese/p5-Jcode
+USE_PERL5= YES
USE_ZIP= YES
WRKSRC= ${WRKDIR}
EXTRACT_BEFORE_ARGS= -a -q
diff --git a/japanese/eijiro-fpw/Makefile b/japanese/eijiro-fpw/Makefile
index 97500a2c092c..59b5d080f99e 100644
--- a/japanese/eijiro-fpw/Makefile
+++ b/japanese/eijiro-fpw/Makefile
@@ -22,6 +22,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:${PORTSDIR}/japanese/freep
MANUAL_PACKAGE_BUILD=Needs data from CDROM
RESTRICTED= "The original dictionary is not free"
USE_GMAKE= yes
+USE_PERL5= yes
WRKSRC= ${WRKDIR}/eijiro-fpw${PORTVERSION}
DICT_PATH?= /cdrom
SRCFILE?= eijiro52.txt
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 19896c6fc9a6..dabfda875c39 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -17,7 +17,7 @@ COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
USE_AUTOTOOLS= libtool:15
USE_ICONV= yes
-USE_PERL5_BUILD= yes
+USE_PERL5_BUILD= 5.8.0+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -35,10 +35,6 @@ 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-patch:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
-e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/japanese/mypaedia-fpw/Makefile b/japanese/mypaedia-fpw/Makefile
index 7ca91d3b1fe2..b6c96442a4c7 100644
--- a/japanese/mypaedia-fpw/Makefile
+++ b/japanese/mypaedia-fpw/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
IS_INTERACTIVE= YES
RESTRICTED= "The original dictionary is not free"
+USE_PERL5= yes
WRKSRC= ${WRKDIR}/mypaedia-fpw${PORTVERSION}
DICT_PATH?= /cdrom
diff --git a/japanese/otojiro-fpw/Makefile b/japanese/otojiro-fpw/Makefile
index 623244233e55..9360acb7c246 100644
--- a/japanese/otojiro-fpw/Makefile
+++ b/japanese/otojiro-fpw/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:${PORTSDIR}/japanese/freep
MANUAL_PACKAGE_BUILD=Needs data from CDROM
RESTRICTED= "The original dictionary is not free"
USE_GMAKE= yes
+USE_PERL5= yes
WRKSRC= ${WRKDIR}/otojiro-fpw${PORTVERSION:S/.a/a/}
DICT_PATH?= /cdrom
SRCFILE?= otojiro.txt
diff --git a/japanese/p5-Date-Japanese-Era/Makefile b/japanese/p5-Date-Japanese-Era/Makefile
index e626930002a8..7f5a2499edd0 100644
--- a/japanese/p5-Date-Japanese-Era/Makefile
+++ b/japanese/p5-Date-Japanese-Era/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-
${SITE_PERL}/Lingua/JA/Numbers.pm:${PORTSDIR}/japanese/p5-Lingua-JA-Numbers
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.1+ # inherited from p5-Lingua-JA-Numbers
MAN3= Date::Japanese::Era.3 \
Date::Japanese::Era::Table.3 \
@@ -28,8 +28,4 @@ MAN3= Date::Japanese::Era.3 \
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-.if ${PERL_LEVEL} < 500801 # inherited from p5-Lingua-JA-Numbers
-IGNORE= requires at least Perl 5.8.1. Please install lang/perl5.8 and try again
-.endif
-
.include <bsd.port.post.mk>
diff --git a/japanese/p5-Lingua-JA-Numbers/Makefile b/japanese/p5-Lingua-JA-Numbers/Makefile
index 603cdcfa301f..2b420ebe7897 100644
--- a/japanese/p5-Lingua-JA-Numbers/Makefile
+++ b/japanese/p5-Lingua-JA-Numbers/Makefile
@@ -17,12 +17,6 @@ COMMENT= Converts numeric values to and from their Japanese string equivalents
MAN3= Lingua::JA::Numbers.3
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.1+
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500801 # as set by vendor
-IGNORE= requires at least Perl 5.8.1. Please install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/p5-MeCab/Makefile b/japanese/p5-MeCab/Makefile
index 5e39a6db9665..0364d3c989b2 100644
--- a/japanese/p5-MeCab/Makefile
+++ b/japanese/p5-MeCab/Makefile
@@ -17,14 +17,10 @@ COMMENT= MeCab library module for Perl5
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
.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
-
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
post-install:
diff --git a/japanese/p5-Unicode-Japanese/Makefile b/japanese/p5-Unicode-Japanese/Makefile
index adae6ea521b8..3f2068b6db76 100644
--- a/japanese/p5-Unicode-Japanese/Makefile
+++ b/japanese/p5-Unicode-Japanese/Makefile
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= ../../authors/id/H/HI/HIO
MAINTAINER= knu@FreeBSD.org
COMMENT= A Perl5 module to handle Japanese character encodings
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
MAN1= ujconv.1
MAN3= Unicode::Japanese.3 Unicode::Japanese::JA.3
@@ -22,8 +22,4 @@ MAN3= Unicode::Japanese.3 Unicode::Japanese::JA.3
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-.if ${PERL_LEVEL} < 500800
-IGNORE= needs perl 5.8.0 or higher, install lang/perl5.8 and try again
-.endif
-
.include <bsd.port.post.mk>
diff --git a/japanese/p5-WWW-2ch/Makefile b/japanese/p5-WWW-2ch/Makefile
index ff44579b7634..2b78d09be76c 100644
--- a/japanese/p5-WWW-2ch/Makefile
+++ b/japanese/p5-WWW-2ch/Makefile
@@ -27,10 +27,4 @@ MAN3= WWW::2ch.3 \
WWW::2ch::Dat.3 \
WWW::2ch::Plugin::Jbbs.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 50600
-IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/srd-fpw/Makefile b/japanese/srd-fpw/Makefile
index 9ef4313fe34f..c6b5f979ec9f 100644
--- a/japanese/srd-fpw/Makefile
+++ b/japanese/srd-fpw/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
IS_INTERACTIVE= YES
RESTRICTED= "The original dictionary is not free"
+USE_PERL5= yes
WRKSRC= ${WRKDIR}/srd-fpw${PORTVERSION}
DICT_PATH?= /cdrom
diff --git a/japanese/tiarra/Makefile b/japanese/tiarra/Makefile
index a26b7967dc89..41e0f17e2956 100644
--- a/japanese/tiarra/Makefile
+++ b/japanese/tiarra/Makefile
@@ -31,12 +31,6 @@ PLIST_SUB= TIARRA_USER=${TIARRA_USER} \
TIARRA_USER= tiarra
TIARRA_GROUP= tiarra
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE= needs perl 5.6.0 or higher, install lang/perl5.8 and try again
-.endif
-
do-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@${MKDIR} ${PREFIX}/tiarra
@@ -51,4 +45,4 @@ do-install:
@${CHMOD} o-rwx ${PREFIX}/tiarra/log
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/waeijiro-fpw/Makefile b/japanese/waeijiro-fpw/Makefile
index ea5d82772928..277f1b5c33f6 100644
--- a/japanese/waeijiro-fpw/Makefile
+++ b/japanese/waeijiro-fpw/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:${PORTSDIR}/japanese/freep
MANUAL_PACKAGE_BUILD=Needs data from a CDROM
RESTRICTED= "The original dictionary is not free"
USE_GMAKE= yes
+USE_PERL5= yes
DICT_PATH?= /cdrom
SRCFILE?= waeiji52.txt
diff --git a/japanese/wikicker/Makefile b/japanese/wikicker/Makefile
index fc28887902bd..f9875dce2757 100644
--- a/japanese/wikicker/Makefile
+++ b/japanese/wikicker/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= http://www.naney.org/comp/distrib/WiKicker/archive/
MAINTAINER= ports@FreeBSD.org
COMMENT= Wiki like system by perl5
+USE_PERL5= yes
+
# ============================================================================
# = You have to appoint GPG to use a function to upload an image. =
# = If it is necessary, it seems to be WITH_IMAGEUPLOAD=yes =