summaryrefslogtreecommitdiff
path: root/mail/xcite/Makefile
blob: b2e6dd86c4e0f63334378058a019daa576fce46f (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
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
# $FreeBSD$

PORTNAME=	xcite
PORTVERSION=	1.60
PORTREVISION=	19
PORTREVISION=	5
CATEGORIES=	mail elisp
MASTER_SITES=	http://www.gentei.org/~yuuji/software/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
DISTNAME=	${PORTNAME}.el
EXTRACT_SUFX=	# empty

MAINTAINER=	ume@FreeBSD.org
COMMENT=	Exciting Cite for any Mail/News reading modes on Emacs

USE_EMACS=	yes

NO_WRKSUBDIR=	yes

EXTRACT_CMD=		${CP}
EXTRACT_BEFORE_ARGS=	-p
EXTRACT_AFTER_ARGS=	.

PLIST_FILES=	${EMACS_VERSION_SITE_LISPDIR}/${DISTNAME} \
		${EMACS_VERSION_SITE_LISPDIR}/${DISTNAME}c

NO_STAGE=	yes
do-build:
	@cd ${WRKDIR} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
		-f batch-byte-compile ${DISTNAME}

do-install:
	@${INSTALL_DATA} ${WRKSRC}/${DISTNAME} \
		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
	@${INSTALL_DATA} ${WRKSRC}/${DISTNAME}c \
		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

.include <bsd.port.mk>