mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
ee0c0957ac
USE_GITHUB. PR: 192788 Submitted by: Ports Fury
38 lines
775 B
Makefile
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>
|