summaryrefslogtreecommitdiff
path: root/editors/xemacs21-sumo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs21-sumo/Makefile')
-rw-r--r--editors/xemacs21-sumo/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/editors/xemacs21-sumo/Makefile b/editors/xemacs21-sumo/Makefile
index e822049f3c19..0e8e8732cff1 100644
--- a/editors/xemacs21-sumo/Makefile
+++ b/editors/xemacs21-sumo/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: Meta port of XEmacs mule with sumo package
-# Version required: 21.1.8
+# Version required: 21.1
# Date created: 19 August 1999
# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xemacs-${NAMEPREFIX}sumo${NAMEEXT}-${XEMACS_VER}
+DISTNAME= xemacs-${NAMEPREFIX}sumo${NAMEEXT}-${XEMACS_REL}
PKGNAME= ${LANGPREFIX}${DISTNAME}
CATEGORIES= editors
MASTER_SITES= # empty
@@ -21,17 +21,18 @@ RUN_DEPENDS= ${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.zenirc:${PORT
EXTRACT_ONLY= # empty
NO_BUILD= yes
-XEMACS_VER= 21.1.8
-XEMACS_DIR= xemacs-${XEMACS_VER}
-ARCH_SUBDIR= ${MACHINE_ARCH}--freebsd
+XEMACS_MAJOR_VER= 21
+XEMACS_REL= 21.1
+XEMACS_VER= 21.1.8
+XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
.if defined(LANGPREFIX) && (${LANGPREFIX} == "ja-")
-RUN_DEP_LIST= ${PREFIX}/lib/${XEMACS_DIR}/${ARCH_SUBDIR}/config.values:${PORTSDIR}/japanese/xemacs${NAMEEXT}
+RUN_DEP_LIST= ${PREFIX}/lib/xemacs-${XEMACS_VER}/${XEMACS_ARCH}/config.values:${PORTSDIR}/japanese/xemacs${XEMACS_MAJOR_VER}${NAMEEXT}
.else
-RUN_DEP_LIST= ${PREFIX}/lib/${XEMACS_DIR}/${ARCH_SUBDIR}/config.values:${PORTSDIR}/editors/xemacs-mule
-NAMEPREFIX= mule-
+RUN_DEP_LIST= ${PREFIX}/lib/xemacs-${XEMACS_VER}/${XEMACS_ARCH}/config.values:${PORTSDIR}/editors/xemacs${XEMACS_MAJOR_VER}-mule
+NAMEPREFIX= mule-
.endif
-do-install: # empty
+do-install: # empty
.include <bsd.port.mk>