summaryrefslogtreecommitdiffstats
path: root/editors/tamago-emacs21/Makefile
blob: 374bfd112670048e6262bd97c9e93f0460dc2dd7 (plain)
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
# New ports collection makefile for:	tamago
# Date created:		6 March 2000
# Whom:			tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	tamago
PORTVERSION=	4.0.6
CATEGORIES=	editors elisp
MASTER_SITES=	ftp://ftp.m17n.org/pub/tamago/ \
		ftp://ftp.kddlabs.co.jp/Japan/m17n.org/tamago/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

PATCH_SITES=	${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR=	kuriyama
PATCHFILES=	tamago-${PORTVERSION}-20011028.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	emacs-${EMACS_VER}:${PORTSDIR}/editors/${EMACS_PORT_NAME}
RUN_DEPENDS=	emacs-${EMACS_VER}:${PORTSDIR}/editors/${EMACS_PORT_NAME}

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

EMACS_PORT_NAME?=	emacs21

ELISPDIR=	${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
PLIST_SUB=	ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp"

pre-configure:
	@${PERL} -pi -e 's|emacs/site-lisp|${EMACS_NAME}/${EMACS_VER}/site-lisp|g' \
	    ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud