summaryrefslogtreecommitdiff
path: root/mail/mew2-xemacs21/Makefile
blob: 2b4d0461f36ab84faee0310838ca80bacdfaa9b5 (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
# 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

# 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"