2001-12-05 12:52:22 +00:00
|
|
|
# New ports collection makefile for: emh (for emacs21)
|
2001-09-03 10:06:09 +00:00
|
|
|
# Date Created: 12 Mar 2001
|
|
|
|
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= emh
|
|
|
|
PORTVERSION= 1.10.1
|
|
|
|
CATEGORIES= mail elisp
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/semi/emh/
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
|
2001-12-05 12:52:22 +00:00
|
|
|
MAINTAINER= yoichi@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= MIME extension of mh-e.el
|
2001-12-05 12:52:22 +00:00
|
|
|
|
|
|
|
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= ""
|
2003-05-12 10:18:31 +00:00
|
|
|
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
|
2001-12-05 12:52:22 +00:00
|
|
|
.else
|
|
|
|
ALL_TARGET= elc
|
|
|
|
EMH_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/semi
|
|
|
|
MAKE_ARGS+= LISPDIR=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
|
|
|
|
XEMACS_ONLY= "@comment "
|
|
|
|
.endif
|
2001-09-03 10:06:09 +00:00
|
|
|
|
|
|
|
PLIST_SUB= XEMACS_ONLY=${XEMACS_ONLY} \
|
|
|
|
EMH_LISPDIR=${EMH_LISPDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|