blob: 2ba07d5f02dc3e2672bafd54798b51e1f3ebc0a5 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# New ports collection makefile for: planner.el
# Date created: March 09 2005
# Whom: Dryice Liu <dryice@liu.com.cn>
#
# $FreeBSD$
#
PORTNAME= planner.el
PORTVERSION= 3.31
CATEGORIES= deskutils elisp
MASTER_SITES= http://sacha.free.net.ph/notebook/emacs/planner/ \
http://bsdchat.com/dist/dryice/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= planner-el-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= dryice@dryice.name
COMMENT= PlannerMode is an organizer and day planner for Emacs
EMACS_PORT_NAME?= emacs21
.if ${EMACS_PORT_NAME} != "emacs21"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
.endif
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emacs-wiki/emacs-wiki.el:${PORTSDIR}/textproc/emacs-wiki
OPTIONS= BBDB "BBDB support" off
OPTIONS+= ERC "ERC support" off
OPTIONS+= VM "View Mail support" off
OPTIONS+= W3M "W3M support" off
OPTIONS+= WL "Wanderlust support" off
OPTIONS+= XTLA "XTLA support" off
.include <bsd.port.pre.mk>
.if defined(WITH_BBDB)
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/bbdb/bbdb-com.el:${PORTSDIR}/databases/bbdb
.endif
.if defined(WITH_ERC)
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/erc/erc.el:${PORTSDIR}/irc/erc
.endif
.if defined(WITH_VM)
RUN_DEPENDS+= qp-decode:${PORTSDIR}/mail/vm
.endif
.if defined(WITH_W3M)
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/w3m/w3m.el:${PORTSDIR}/www/emacs-w3m
.endif
.if defined(WITH_WL)
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/wl/wl.el:${PORTSDIR}/mail/wanderlust
.endif
.if defined(WITH_XTLA)
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/xtla/xtla.el:${PORTSDIR}/devel/xtla
.endif
INFO= planner-el
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/planner
do-build:
cd ${WRKSRC}; makeinfo --no-split planner-el.texi
do-install:
${MKDIR} ${LISPDIR}
.for i in *.el
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/planner-el.info ${PREFIX}/info
.include <bsd.port.post.mk>
|