aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-02 13:10:25 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-02 13:10:25 +0000
commitf775b6859848fa62dfefc51f26be755fbe39545b (patch)
tree5fdbc66aafdeb70a94e61f9fe2475963bee8cf74 /mail
parent93892e79dd8687378e009aaa91b47129839f3e08 (diff)
downloadports-f775b6859848fa62dfefc51f26be755fbe39545b.tar.gz
ports-f775b6859848fa62dfefc51f26be755fbe39545b.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/emh/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/emh/Makefile b/mail/emh/Makefile
index d93354a67ffc..b6bc0325bd3f 100644
--- a/mail/emh/Makefile
+++ b/mail/emh/Makefile
@@ -23,15 +23,10 @@ SEMI_TRUNK= 1.14
SEMI_COOKIE= semi-${EMACS_PORT_NAME}-${SEMI_TRUNK}.FreeBSD-packages
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs21
-
-.if ${EMACS_PORT_NAME} == "emacs21"
-DEPPORT_SUFFIX=
-.else
-DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
-.endif
+.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == xemacs21-mule
+DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
ALL_TARGET= package
INSTALL_TARGET= install-package
EMH_LISPDIR= ${EMACS_LIBDIR}/site-packages/lisp/emh
@@ -39,6 +34,11 @@ XEMACS_ONLY= ""
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/mh-e/mh-e.el:${PORTSDIR}/editors/xemacs-packages
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/mh-e/mh-e.el:${PORTSDIR}/editors/xemacs-packages
.else
+.if ${EMACS_PORT_NAME} == "emacs20"
+DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
+.else
+DEPPORT_SUFFIX=
+.endif
ALL_TARGET= elc
EMH_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/semi
MAKE_ARGS+= LISPDIR=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
@@ -48,4 +48,4 @@ XEMACS_ONLY= "@comment "
PLIST_SUB= XEMACS_ONLY=${XEMACS_ONLY} \
EMH_LISPDIR=${EMH_LISPDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>