aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/xemacs21-mule-common/Makefile4
-rw-r--r--editors/xemacs21-mule/Makefile4
-rw-r--r--japanese/xemacs21-canna+freewnn/Makefile4
-rw-r--r--japanese/xemacs21-canna+wnn6/Makefile4
-rw-r--r--japanese/xemacs21-canna/Makefile4
-rw-r--r--japanese/xemacs21-freewnn/Makefile4
-rw-r--r--japanese/xemacs21-wnn6/Makefile4
7 files changed, 7 insertions, 21 deletions
diff --git a/editors/xemacs21-mule-common/Makefile b/editors/xemacs21-mule-common/Makefile
index 9a7a6bc4751a..2ebf011baed8 100644
--- a/editors/xemacs21-mule-common/Makefile
+++ b/editors/xemacs21-mule-common/Makefile
@@ -22,9 +22,7 @@
# LIB_INPUT_METHOD : LIB_DEPENDS list of Input Methods
# BUILD_INPUT_METHOD: BUILD_DEPENDS list of Input Methods
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/editors/xemacs!!:S!-mule-common$!!}
+XEMACS_MAJOR_VER= 21
.for dir in \
editors/xemacs${XEMACS_MAJOR_VER}-mule \
diff --git a/editors/xemacs21-mule/Makefile b/editors/xemacs21-mule/Makefile
index 487befe8d1a5..9b74e668fe52 100644
--- a/editors/xemacs21-mule/Makefile
+++ b/editors/xemacs21-mule/Makefile
@@ -70,9 +70,7 @@ INSTALL_TARGET?=install-arch-dep
FILESDIR= ${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/files
PLIST?= ${PKGLDIR}/PLIST
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER?= ${.CURDIR:S!^${PORTSDIR}/editors/xemacs!!:S!-mule$!!}
+XEMACS_MAJOR_VER?= 21
MULE_PORT= yes
PKGNAMEEXT?= -mule
DESCR_TMPL?= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-mule/files/DESCR.tmpl
diff --git a/japanese/xemacs21-canna+freewnn/Makefile b/japanese/xemacs21-canna+freewnn/Makefile
index 3cabe43f2d03..279526496edf 100644
--- a/japanese/xemacs21-canna+freewnn/Makefile
+++ b/japanese/xemacs21-canna+freewnn/Makefile
@@ -6,9 +6,7 @@
# $FreeBSD$
#
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna+wnn4$!!}
+XEMACS_MAJOR_VER= 21
CANNA= yes
WNN4= yes
diff --git a/japanese/xemacs21-canna+wnn6/Makefile b/japanese/xemacs21-canna+wnn6/Makefile
index cc7027675231..a51ea92a52da 100644
--- a/japanese/xemacs21-canna+wnn6/Makefile
+++ b/japanese/xemacs21-canna+wnn6/Makefile
@@ -6,9 +6,7 @@
# $FreeBSD$
#
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna+wnn6$!!}
+XEMACS_MAJOR_VER= 21
CANNA= yes
WNN6= yes
diff --git a/japanese/xemacs21-canna/Makefile b/japanese/xemacs21-canna/Makefile
index bfc513b30ff4..0592ebb33d38 100644
--- a/japanese/xemacs21-canna/Makefile
+++ b/japanese/xemacs21-canna/Makefile
@@ -28,9 +28,7 @@ MANLANG= ja
MAN1= xemacs-ja.1
DESCR= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/pkg/DESCR
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER?= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna$!!}
+XEMACS_MAJOR_VER?= 21
LANGPREFIX= ja-
DESCR_TMPL= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/files/DESCR.tmpl
.if defined(CANNA) && defined(WNN4)
diff --git a/japanese/xemacs21-freewnn/Makefile b/japanese/xemacs21-freewnn/Makefile
index 521e3f8181d8..ef93bf6c876e 100644
--- a/japanese/xemacs21-freewnn/Makefile
+++ b/japanese/xemacs21-freewnn/Makefile
@@ -6,9 +6,7 @@
# $FreeBSD$
#
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-wnn4$!!}
+XEMACS_MAJOR_VER= 21
WNN4= yes
.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"
diff --git a/japanese/xemacs21-wnn6/Makefile b/japanese/xemacs21-wnn6/Makefile
index 49be02f9ca19..fc34580a579a 100644
--- a/japanese/xemacs21-wnn6/Makefile
+++ b/japanese/xemacs21-wnn6/Makefile
@@ -6,9 +6,7 @@
# $FreeBSD$
#
-.include <bsd.port.pre.mk>
-
-XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-wnn6$!!}
+XEMACS_MAJOR_VER= 21
WNN6= yes
.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"