summaryrefslogtreecommitdiff
path: root/editors/emacs20/Makefile
blob: 7a7861e2946629cea252ef9d8a8ff748e7eab562 (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
# New ports collection makefile for:	GNU emacs
# Version required:	20.2
# Date created:		29 October 1994
# Whom:			jkh
#
# $Id: Makefile,v 1.29 1997/07/17 10:38:15 asami Exp $
#

DISTNAME=	emacs-20.2
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_GNU}

MAINTAINER=	jseger@FreeBSD.org

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	i386--freebsd --with-x-toolkit
STRIP=
MAN1=		emacs.1 etags.1 ctags.1
prefix=		${PREFIX}
sharedstatedir=	${PREFIX}/share/com

pre-build:
	${RM} -rf ${WRKSRC}/info/*
post-install:
	if [ ! -f ${PREFIX}/info/dir ]; then \
	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
.for info in ccmode cl dired-x ediff emacs forms gnus message mh-e \
     sc vip viper
	install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor

.include <bsd.port.mk>