blob: ac74313c341e7e5d37411b87a62e340f9508e4f0 (
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
|
# New ports collection makefile for: rst.el
# Date created: Sun Aug 20 18:39:03 MSD 2006
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#
PORTNAME= rst.el
PORTVERSION= 4655
CATEGORIES= textproc elisp
MASTER_SITES= http://svn.berlios.de/viewcvs/*checkout*/docutils/trunk/docutils/tools/editors/emacs/
PKGNAMESUFFIX= -${EMACS_NAME}
DISTNAME= rst.el\?rev=${PORTVERSION}
EXTRACT_SUFX= # empty
MAINTAINER= dsh@vlink.ru
COMMENT= ReStructuredText Support for Emacs
USE_EMACS= yes
EMACS_PORT_NAME?= xemacs21-mule
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}/rst.el
PLIST_FILES= ${EMACS_SITE_LISPDIR}/rst.el \
${EMACS_SITE_LISPDIR}/rst.elc
ELISPDIR= ${TARGETDIR}/${EMACS_SITE_LISPDIR}
.include <bsd.port.pre.mk>
.if (${EMACS_NAME} == "xemacs")
BUILD_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/lisp/xemacs-base/compile.el:${PORTSDIR}/editors/xemacs-packages
.endif
do-build:
cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile ${PORTNAME}
do-install:
${MKDIR} ${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}c ${ELISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|