diff options
author | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2001-12-05 12:52:22 +0000 |
---|---|---|
committer | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2001-12-05 12:52:22 +0000 |
commit | edc0f6b58f932aed0bd979e3d9b09e487df7df3f (patch) | |
tree | 70b760247322ffe9b328db67f7941373b706fcc9 /mail/emh | |
parent | Add %%SANE%% to some kooka files that caused "make package" to fail. (diff) |
Move master port to mail/emh and add support for emacs21.
Add dependence on xemacs-comm-packages for xemacs21.
Change dependence for semi.
Approved by: knu(mentor)
Notes
Notes:
svn path=/head/; revision=51074
Diffstat (limited to 'mail/emh')
-rw-r--r-- | mail/emh/Makefile | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/mail/emh/Makefile b/mail/emh/Makefile index d62a548fcf4b..9405b6173db0 100644 --- a/mail/emh/Makefile +++ b/mail/emh/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: emh +# New ports collection makefile for: emh (for emacs21) # Date Created: 12 Mar 2001 # Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> # @@ -11,21 +11,35 @@ CATEGORIES= mail elisp MASTER_SITES= ftp://ftp.m17n.org/pub/mule/semi/emh/ PKGNAMESUFFIX= -${EMACS_PORT_NAME} -MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp - -BUILD_DEPENDS+= ${LOCALBASE}/share/semi/${MIMEUI_COOKIE}:${PORTSDIR}/editors/${MIMEUI_PORT_NAME} -RUN_DEPENDS+= ${LOCALBASE}/share/semi/${MIMEUI_COOKIE}:${PORTSDIR}/editors/${MIMEUI_PORT_NAME} - -MIMEUI_PRODUCT?= semi -MIMEUI_BRANCH?= 1.13 -MIMEUI_PORT_NAME?= ${MIMEUI_PRODUCT}${MIMEUI_BRANCH:S/.//}-${EMACS_PORT_NAME} -MIMEUI_COOKIE= ${MIMEUI_PRODUCT}-${EMACS_PORT_NAME}-${MIMEUI_BRANCH}.FreeBSD-packages - -EMACS_PORT_NAME?= emacs20 - -ALL_TARGET?= elc -EMH_LISPDIR?= share/emacs/site-lisp/semi -XEMACS_ONLY?= "@comment " +MAINTAINER= yoichi@FreeBSD.org + +BUILD_DEPENDS+= ${LOCALBASE}/share/semi/${SEMI_COOKIE}:${PORTSDIR}/editors/semi${DEPPORT_SUFFIX} +RUN_DEPENDS+= ${LOCALBASE}/share/semi/${SEMI_COOKIE}:${PORTSDIR}/editors/semi${DEPPORT_SUFFIX} + +SEMI_TRUNK= 1.14 +SEMI_COOKIE= semi-${EMACS_PORT_NAME}-${SEMI_TRUNK}.FreeBSD-packages + +EMACS_PORT_NAME?= emacs21 + +.if ${EMACS_PORT_NAME} == "emacs21" +DEPPORT_SUFFIX= +.else +DEPPORT_SUFFIX= -${EMACS_PORT_NAME} +.endif + +.if ${EMACS_PORT_NAME} == xemacs21-mule +ALL_TARGET= package +INSTALL_TARGET= install-package +EMH_LISPDIR= ${EMACS_LIBDIR}/site-packages/lisp/emh +XEMACS_ONLY= "" +BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/mh-e/mh-e.el:${PORTSDIR}/editors/xemacs-comm-packages +RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/mh-e/mh-e.el:${PORTSDIR}/editors/xemacs-comm-packages +.else +ALL_TARGET= elc +EMH_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/semi +MAKE_ARGS+= LISPDIR=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} +XEMACS_ONLY= "@comment " +.endif PLIST_SUB= XEMACS_ONLY=${XEMACS_ONLY} \ EMH_LISPDIR=${EMH_LISPDIR} |