summaryrefslogtreecommitdiff
path: root/japanese/mecab
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-04-23 08:16:47 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-04-23 08:16:47 +0000
commit3bc55d8076c240df5c1704b18ad51bff5450967b (patch)
tree246ff7f9ec6f0fa0f5f3505ce9932f868404a93d /japanese/mecab
parentUpdate to 0.75. (diff)
Introduce Makefile.common for upcoming children ports.
Notes
Notes: svn path=/head/; revision=79491
Diffstat (limited to 'japanese/mecab')
-rw-r--r--japanese/mecab/Makefile6
-rw-r--r--japanese/mecab/Makefile.common7
2 files changed, 11 insertions, 2 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index d8c26f32c39d..42f1e8d51720 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -5,8 +5,8 @@
# $FreeBSD$
#
-PORTNAME= mecab
-PORTVERSION= 0.75
+PORTNAME= ${MECAB_PORTNAME}
+PORTVERSION= ${MECAB_PORTVERSION}
CATEGORIES= japanese textproc
MASTER_SITES= http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/src/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -23,6 +23,8 @@ USE_PERL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+.include "${.CURDIR}/Makefile.common"
+
MAN1= mecab.1
EXAMPLES= example/*
diff --git a/japanese/mecab/Makefile.common b/japanese/mecab/Makefile.common
new file mode 100644
index 000000000000..378eade3487c
--- /dev/null
+++ b/japanese/mecab/Makefile.common
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MECAB_PORTNAME= mecab
+MECAB_PORTVERSION= 0.75
+
+MECAB_PORTDIR= ${PORTSDIR}/japanese/${MECAB_PORTNAME}
+MECAB_WRKSRC_CMD= cd ${MECAB_PORTDIR} && ${MAKE} -V WRKSRC