aboutsummaryrefslogtreecommitdiff
path: root/korean/hanemacs/Makefile
blob: 27da4364b633254ad23ea7bb0e5b4d337558719e (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
40
41
42
43
44
45
46
# New ports collection makefile for:	hanemacs
# Version required:	19.34b-2
# Date created:		12 Mar 1998
# Whom:			CHOI Junho <junker@jazz.snu.ac.kr>
#
# $Id: Makefile,v 1.1.1.1 1998/05/17 22:25:54 kuriyama Exp $
#

DISTNAME=	hanemacs-19.34b-1
PKGNAME=	ko-hanemacs-19.34b1
CATEGORIES=	korean editors
MASTER_SITES=	ftp://ftp.kaist.ac.kr/pub/hangul/editor/HanEmacs/ \
		ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/editor/HanEmacs/

MAINTAINER=	junker@jazz.snu.ac.kr

BROKEN_ELF=	yes

WRKSRC=		${WRKDIR}/hanemacs-19.34
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	i386--freebsd --with-x-toolkit --prefix=${PREFIX}
STRIP=
MAN1=		emacs.1 etags.1 ctags.1

pre-build:
	@cd ${WRKSRC}; \
	for file in \
		hanemacs.README hanemacs_manual.ks \
		hanemacs_manual.ps hanemacs_manual.txt; do \
	${CP} $$file etc/; \
	done; \
	${CP} ${FILESDIR}/site-init.el lisp/

post-install:
.for file in hanemacs-19.34 emacsclient etags ctags b2m
	strip ${PREFIX}/bin/${file}
.endfor
	if [ ! -f ${PREFIX}/info/dir ]; then \
	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
	install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor

.include <bsd.port.mk>