summaryrefslogtreecommitdiff
path: root/japanese/wnn7egg/Makefile
blob: 4015f94f37492d82c0cd7c9519b53d64db7aefce (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:	wnn7egg
# Date created:		01/07/16
# Whom:			Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	wnn7egg
PORTVERSION=	1.02
#PORTREVISION=	1
CATEGORIES=	japanese elisp
MASTER_SITES=	http://www.omronsoft.co.jp/SP/pcunix/wnn7/support/modules/wnn7egg/
DISTNAME=	wnn7-elisp-el-1.02-1
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Wnn7 elisp client

EMACSDIR=	${PREFIX}/share/emacs/site-lisp
ELISPDIR=	${EMACSDIR}/wnn7egg
SITEPKGDIR=	${PREFIX}/lib/xemacs/site-packages
XELISPDIR=	${SITEPKGDIR}/lisp/wnn7egg
DOCSDIR=	${PREFIX}/share/doc/wnn7egg
MANIFEST=	MANIFEST.wnn7egg
WRKSRC=		${WRKDIR}/wnn7/elisp

NO_BUILD=	yes

PORTDOCS=	README Setup_wnn7egg

do-install:
	${MKDIR} ${ELISPDIR} ${XELISPDIR}
	${MKDIR} ${ELISPDIR}/its-v309 ${XELISPDIR}/its-v309
	${INSTALL_DATA} ${WRKSRC}/emacs20/*.el ${ELISPDIR}
	${INSTALL_DATA} ${WRKSRC}/emacs20/its-v309/*.el ${ELISPDIR}/its-v309

	${INSTALL_DATA} ${WRKSRC}/emacs20/eggrc-wnn7 ${ELISPDIR}
	${INSTALL_DATA} ${WRKSRC}/xemacs21/*.el ${XELISPDIR}
	${INSTALL_DATA} ${WRKSRC}/xemacs21/its-v309/*.el ${XELISPDIR}/its-v309
	${INSTALL_DATA} ${WRKSRC}/xemacs21/eggrc-wnn7 ${XELISPDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>