1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/devel/pymacs/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

41 lines
905 B
Makefile

# New ports collection makefile for: pymacs
# Date created: 23 July 2005
# Whom: mwm@mired.org
#
# $FreeBSD$
#
PORTNAME= Pymacs
PORTVERSION= 0.22
PORTREVISION= 4
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
post-patch:
.for f in __init__.py pymacs.py
${REINPLACE_CMD} -e 's,# Copyright,# coding:latin1 Copyright,g' \
${WRKSRC}/Pymacs/$f
.endfor
# 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>