summaryrefslogtreecommitdiff
path: root/mail/prom-wl/Makefile
blob: a73ed8ddd9f0b5f15aa3926f9834c3dcb5d37f88 (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
# 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=	araujo@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:${PORTSDIR}/mail/procmail

NO_BUILD=	yes

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

NO_STAGE=	yes
do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@(cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog \
					prom-wl-usage.jis \
					${DOCSDIR}/)
	@(cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${DOCSDIR}/)
.endif

.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	@(cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \
					${EXAMPLESDIR}/)
.endif

	@${MKDIR} ${ELISPDIR}
	@(cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${ELISPDIR}/)

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

.include <bsd.port.mk>