summaryrefslogtreecommitdiffstats
path: root/japanese/ddskk/Makefile
blob: 3a1c65f6feeddce35305baee2539e51de62a981d (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	skk-elisp
# Date created:		31 Oct 1998
# Whom:			Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	ddskk
PORTVERSION=	14.3
PORTREVISION=	2
CATEGORIES=	japanese elisp
MASTER_SITES=	http://openlab.ring.gr.jp/skk/maintrunk/ \
		ftp://ftp.ring.gr.jp/pub/elisp/skk/maintrunk/ \
		http://www.ring.gr.jp/archives/elisp/skk/maintrunk/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER=	hiroto.kagotani@gmail.com
COMMENT=	Simple Kana to Kanji conversion program on Emacsen

MAKE_JOBS_SAFE=	yes
USE_EMACS=	yes
INFO=		skk

SKK_LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/skk
PORTDOCS=	AUTHORS.ja CODENAME.ja Contributors FAQ.ja NEWS.ja README
PORTEXAMPLES=	Emacs.ad dot.emacs dot.skk

ALL_TARGET=	elc info
MAKE_ARGS+=	SKK_LISPDIR=${PREFIX}/${SKK_LISPDIR}

pre-install:
	# required for non-standard PREFIX
	${MKDIR} ${PREFIX}/${SKK_LISPDIR}

post-install:
.for i in skk-jisx0213 skk-lookup
	${INSTALL_DATA} ${WRKSRC}/${i}.el ${PREFIX}/${SKK_LISPDIR}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/READMEs/${i} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
.for i in ${PORTEXAMPLES}
	${INSTALL_DATA}	${WRKSRC}/etc/${i} ${EXAMPLESDIR}
.endfor
.endif

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