aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabber.el/Makefile
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2007-02-03 00:56:58 +0000
committerAndrey Slusar <anray@FreeBSD.org>2007-02-03 00:56:58 +0000
commita27b8f4c61408200367509a1c2d7932e16ba6359 (patch)
tree6c0bfbfe4ef8c86bb3322decb863a51b2c8f1d54 /net-im/jabber.el/Makefile
parent1e6633189da72d82b98e0d2acc4f7a844285226f (diff)
downloadports-a27b8f4c61408200367509a1c2d7932e16ba6359.tar.gz
ports-a27b8f4c61408200367509a1c2d7932e16ba6359.zip
Update to 0.7.1
PR: ports/108682 Submitted by: Max N. Boyarov(maintainer)
Notes
Notes: svn path=/head/; revision=183996
Diffstat (limited to 'net-im/jabber.el/Makefile')
-rw-r--r--net-im/jabber.el/Makefile32
1 files changed, 18 insertions, 14 deletions
diff --git a/net-im/jabber.el/Makefile b/net-im/jabber.el/Makefile
index 1096ebd4ad83..a2c9b03b6aa1 100644
--- a/net-im/jabber.el/Makefile
+++ b/net-im/jabber.el/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= jabber.el
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 0.7.1
CATEGORIES= net-im elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= emacs-jabber
@@ -18,28 +17,33 @@ COMMENT= A minimal jabber client for [X]Emacs
NO_BUILD= yes
INFO= jabber.el
-PORTDOCS+= AUTHORS NEWS README filetransfer.txt
+PORTDOCS+= AUTHORS NEWS README
-EMACS_LISPDIR= ${PREFIX}/share/emacs/site-lisp/emacs-jabber
-XEMACS_LISPDIR= ${PREFIX}/lib/xemacs/site-lisp/emacs-jabber
+EMACS_LISPDIR= share/emacs/site-lisp/emacs-jabber
+XEMACS_LISPDIR= lib/xemacs/site-lisp/emacs-jabber
+
+PLIST_SUB+= EMACS_LISPDIR=${EMACS_LISPDIR} \
+ XEMACS_LISPDIR=${XEMACS_LISPDIR}
## Generate info
pre-install:
- ${REINPLACE_CMD} -e 's/^@setfilename jabber.info/@setfilename jabber.el.info/' \
- -e 's/\* jabber\.el: (jabber)\./* jabber.el: (jabber.el)./' \
- ${WRKSRC}/jabber.texi
- ( cd ${WRKSRC}; makeinfo --no-split jabber.texi; )
+ ( cd ${WRKSRC} && ${CP} -f jabber.info jabber.el.info )
+ ${REINPLACE_CMD} -e 's/^File: jabber.info/File: jabber.el.info/' \
+ -e 's/^* jabber.el: (jabber)/* jabber.el: (jabber.el)/' \
+ ${WRKSRC}/jabber.el.info
do-install:
- ${MKDIR} ${EMACS_LISPDIR}
- ${MKDIR} ${XEMACS_LISPDIR}
+ ${MKDIR} ${PREFIX}/${EMACS_LISPDIR}
+ ${MKDIR} ${PREFIX}/${XEMACS_LISPDIR}
cd ${WRKSRC}; \
- for el in `ls -1 *.el`; do \
- ${INSTALL_DATA} $$el ${EMACS_LISPDIR}/; \
- ${LN} -sf ${EMACS_LISPDIR}/$$el ${XEMACS_LISPDIR}/; \
+ for el in `ls -1 *.el`; do \
+ ${INSTALL_DATA} $$el ${PREFIX}/${EMACS_LISPDIR}/; \
+ ${LN} -sf ${PREFIX}/${EMACS_LISPDIR}/$$el ${PREFIX}/${XEMACS_LISPDIR}/; \
done;
${INSTALL_DATA} ${WRKSRC}/${INFO}.info ${PREFIX}/${INFO_PATH}/
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/xmppuri.sh ${EXAMPLESDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}