summaryrefslogtreecommitdiff
path: root/japanese/cp5022x-el/Makefile
blob: d540286d221eda58ad1c8f3e3812a4fca0dacb25 (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

PORTNAME=	cp5022x
PORTVERSION=	0.0.20120324
PORTREVISION=	3
CATEGORIES=	japanese elisp
PKGNAMESUFFIX=	-el${EMACS_PKGNAMESUFFIX}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	CP50220 and CP51932 coding system support for Emacsen

LICENSE=	GPLv3+

USES=		emacs
USE_GITHUB=	yes
GH_ACCOUNT=	awasira
GH_PROJECT=	cp5022x.el
GH_TAGNAME=	ea7327d

PLIST_FILES=	${EMACS_SITE_LISPDIR}/cp5022x.el.gz \
		${EMACS_SITE_LISPDIR}/cp5022x.elc

do-build:
	cd ${BUILD_WRKSRC} && \
	    ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
	    -f batch-byte-compile cp5022x.el && \
	    ${GZIP_CMD} cp5022x.el

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} && \
	cd ${INSTALL_WRKSRC} && \
	    ${INSTALL_DATA} cp5022x.elc cp5022x.el.gz \
		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}

.include <bsd.port.mk>