summaryrefslogtreecommitdiffstats
path: root/mail/prom-wl/Makefile
blob: a282b377282900cb9db89cdd813733e85977c607 (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
# Created by: KIRIYAMA Kazuhiko<kiri@pis.toba-cmt.ac.jp>
# $FreeBSD$

PORTNAME=	prom-wl
PORTVERSION=	2.7.0
PORTREVISION=	1
CATEGORIES=	mail elisp
MASTER_SITES=	http://www.h6.dion.ne.jp/~nytheta/software/pub/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Procmail reader for Wanderlust on GNU Emacs

# This port requires Wanderlust. But we can't decide which Wanderlust to
# depends, there is NO RUN_DEPENDS mail/wanderlust-*.
#RUN_DEPENDS=	procmail:mail/procmail

NO_BUILD=	yes

ELISPDIR=	${PREFIX}/share/emacs/site-lisp
SITEPKGDIR=	${PREFIX}/lib/xemacs/site-packages

OPTIONS_DEFINE=	DOCS EXAMPLES

do-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog prom-wl-usage.jis \
		${STAGEDIR}${DOCSDIR})
	(cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${STAGEDIR}${DOCSDIR})
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \
		${STAGEDIR}${EXAMPLESDIR})
	@${MKDIR} ${STAGEDIR}${ELISPDIR}
	(cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${STAGEDIR}${ELISPDIR})

# For xemacs package install configuration
	@${MKDIR} ${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl
	@${MKDIR} ${STAGEDIR}${SITEPKGDIR}/pkginfo
	@${LN} -sf ${ELISPDIR}/prom-wl.el \
		${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl/prom-wl.el
	@${ECHO_CMD} 'pkginfo/MANIFEST.prom-wl' > \
		${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl
	@${ECHO_CMD} 'lisp/prom-wl/prom-wl.el' >> \
		${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl

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