2006-08-23 07:35:57 +02:00
|
|
|
# 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
|
2010-10-16 15:50:54 +02:00
|
|
|
PORTVERSION= 6390
|
2011-10-17 08:01:31 +02:00
|
|
|
PORTREVISION= 3
|
2006-08-23 07:35:57 +02:00
|
|
|
CATEGORIES= textproc elisp
|
2010-10-16 15:50:54 +02:00
|
|
|
MASTER_SITES= http://svn.berlios.de/viewcvs/docutils/trunk/docutils/tools/editors/emacs/
|
2006-08-23 07:35:57 +02:00
|
|
|
PKGNAMESUFFIX= -${EMACS_NAME}
|
2009-09-15 16:13:40 +02:00
|
|
|
DISTNAME= rst.el\?revision=${PORTVERSION}
|
2006-08-23 07:35:57 +02:00
|
|
|
EXTRACT_SUFX= # empty
|
|
|
|
|
2010-10-16 15:50:54 +02:00
|
|
|
MAINTAINER= dsh@bamus.cz
|
2006-08-23 07:35:57 +02:00
|
|
|
COMMENT= ReStructuredText Support for Emacs
|
|
|
|
|
|
|
|
USE_EMACS= yes
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
|
|
EXTRACT_AFTER_ARGS= ${WRKSRC}/rst.el
|
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
ELISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}
|
2006-08-23 07:35:57 +02:00
|
|
|
|
2006-09-02 11:55:37 +02:00
|
|
|
.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
|
|
|
|
|
2006-08-23 07:35:57 +02:00
|
|
|
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}
|
|
|
|
|
2006-09-02 11:55:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|