freebsd-ports/devel/pymacs/Makefile
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00

36 lines
742 B
Makefile

# Created by: mwm@mired.org
# $FreeBSD$
PORTNAME= Pymacs
PORTVERSION= 0.25
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= devel editors python elisp
MAINTAINER= ports@FreeBSD.org
COMMENT= Python package for scripting emacs
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= pinard
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>