1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/pymacs/Makefile
Pav Lucistnik 6b1eb12fe4 Pymacs is a powerful tool which, once started from Emacs, allows both-way
communication between Emacs Lisp and Python.  Pymacs aims Python as an
extension language for Emacs rather than the other way around, and this
assymetry is reflected in some design choices.  Within Emacs Lisp code, one
may load and use Python modules.  Python functions may themselves use Emacs
services, and handle Emacs Lisp objects kept in Emacs Lisp space.

PR:		ports/85995
Submitted by:	Mike Meyer <mwm@mired.org>
2005-09-12 07:28:45 +00:00

34 lines
747 B
Makefile

# New ports collection makefile for: pymacs
# Date created: 23 July 2005
# Whom: mwm@mired.org
#
# $FreeBSD$
#
PORTNAME= Pymacs
PORTVERSION= 0.22
CATEGORIES= devel editors python elisp
MASTER_SITES= http://pymacs.progiciels-bpi.ca/archives/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= mwm@mired.org
COMMENT= A Python package for scripting emacs
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_PYTHON_PREFIX= yes
USE_EMACS= yes
.if !defined(EMACS_PORT_NAME)
EMACS_PORT_NAME=xemacs21
.endif
# Install the emacs side of things
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}
${EMACS_NAME} -batch -f batch-byte-compile \
${PREFIX}/${EMACS_SITE_LISPDIR}/pymacs.el
.include <bsd.port.mk>