summaryrefslogtreecommitdiff
path: root/mail/mew3-xemacs21/Makefile
blob: 124b260b44883deed7afd9829a60a633a084b77e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for: Mew (for xemacs21)
# Date created:		17 January 1998
# Whom:			Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#

MAINTAINER=	kiri@FreeBSD.org
COMMENT=	Message interface to Emacs Window (version 2) for xemacs21

# Mew major version
MEW_MAJOR_VER=	2

# This is a slave port.
MASTERDIR=	${.CURDIR}/../mew${MEW_MAJOR_VER}

# set emacs port
EMACS_PORT_NAME=	xemacs21
EMACS_PACKAGESDIR=	${EMACS_LIBDIR}/site-packages

SCRIPTS_ENV=	EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
MAKE_ENV=	EMACS_LIBDIR=${EMACS_LIBDIR} XEMACS_PKGNAME=${XEMACS_PKGNAME} \
		XEMACS_PKGVER=${XEMACS_PKGVER} \
		EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
PLIST_SUB=	EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}

# use pkg-* files in ${.CURDIR}
PKGDIR=		${.CURDIR}

# how to install
ALL_TARGET=	package info
INSTALL_TARGET=	install-package

# for xemacs package
XEMACS_PKGNAME=	mew${MEW_MAJOR_VER}
XEMACS_PKGVER=	2.00
#MEW_DOCDIR=	${EMACS_PACKAGESDIR}/etc/${XEMACS_PKGNAME}

.include "${MASTERDIR}/Makefile"