blob: 303274ccc8f1a06f1d5d3bb4c65352f619eb676d (
plain) (
blame)
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
|
# Created by: Max N. Boyarov <m.boyarov@bsd.by>
# $FreeBSD$
PORTNAME= jabber.el
PORTVERSION= 0.8.0
PORTREVISION= 13
CATEGORIES= net-im elisp
MASTER_SITES= SF/emacs-jabber/emacs-jabber/${PORTVERSION}
DISTNAME= emacs-jabber-${PORTVERSION}
MAINTAINER= m.boyarov@gmail.com
COMMENT= A minimal jabber client for [X]Emacs
RUN_DEPENDS= ${LOCALBASE}/bin/gnutls-cli:${PORTSDIR}/security/gnutls
INFO= emacs-jabber
PORTDOCS+= AUTHORS NEWS README
USE_EMACS= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+= --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacs-jabber \
--disable-schemas-install
pre-configure:
${REINPLACE_CMD} -e 's/jabber\.info/emacs-jabber.info/' \
${WRKSRC}/Makefile.in
( cd ${WRKSRC} && ${CP} -f jabber.info emacs-jabber.info )
${REINPLACE_CMD} -e 's/^File: jabber.info/File: emacs-jabber.info/' \
-e 's/^* jabber.el: (jabber)/* jabber.el: (emacs-jabber)/' \
${WRKSRC}/emacs-jabber.info
pre-install:
${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacs-jabber
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.post.mk>
|