1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/pymacs/Makefile
Adam Weinberger ee0c0957ac Stage. Distfile is unchanged, but is generated differently by using
USE_GITHUB.

PR:		192788
Submitted by:	Ports Fury
2014-08-23 15:36:34 +00:00

38 lines
775 B
Makefile

# Created by: mwm@mired.org
# $FreeBSD$
PORTNAME= Pymacs
PORTVERSION= 0.25
CATEGORIES= devel editors python elisp
MASTER_SITES= GH
MAINTAINER= ports@FreeBSD.org
COMMENT= Python package for scripting emacs
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= pinard
GH_TAGNAME= ${PORTVERSION:S/^/v/}
GH_COMMIT= 5989046
USES= python
USE_EMACS= yes
USE_PYTHON= distutils
pre-configure:
@(cd ${WRKSRC}; \
${PYTHON_CMD} pppp -C ppppconfig.py Pymacs.py.in \
pppp.rst.in pymacs.el.in pymacs.rst.in \
contrib tests)
post-build:
(cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
-f batch-byte-compile pymacs.el)
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} pymacs.el pymacs.elc \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
.include <bsd.port.mk>