aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-23 16:16:47 +0800
committerknu <knu@FreeBSD.org>2003-04-23 16:16:47 +0800
commit926ed406b2f5d2e54ff3321fea7d258f7c3efe90 (patch)
tree60a168b4faad554971e6f05dad891104c21b8bd2 /japanese
parentd4ffb56f5068cb2caaa2eddca581078cee97831c (diff)
downloadfreebsd-ports-gnome-926ed406b2f5d2e54ff3321fea7d258f7c3efe90.tar.gz
freebsd-ports-gnome-926ed406b2f5d2e54ff3321fea7d258f7c3efe90.tar.zst
freebsd-ports-gnome-926ed406b2f5d2e54ff3321fea7d258f7c3efe90.zip
Introduce Makefile.common for upcoming children ports.
Diffstat (limited to 'japanese')
-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