diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-23 23:36:34 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-23 23:36:34 +0800 |
commit | 5d2cff5cd3d6a97ba589084614c4dc6fae9a724d (patch) | |
tree | fd56f62f49ecc3975acd1f750363ba10518c1c9a | |
parent | 4b9ab4dd79f61bc3971311f6bb1fa3d1e0c598fc (diff) | |
download | freebsd-ports-gnome-5d2cff5cd3d6a97ba589084614c4dc6fae9a724d.tar.gz freebsd-ports-gnome-5d2cff5cd3d6a97ba589084614c4dc6fae9a724d.tar.zst freebsd-ports-gnome-5d2cff5cd3d6a97ba589084614c4dc6fae9a724d.zip |
Stage. Distfile is unchanged, but is generated differently by using
USE_GITHUB.
PR: 192788
Submitted by: Ports Fury
-rw-r--r-- | devel/pymacs/Makefile | 27 | ||||
-rw-r--r-- | devel/pymacs/distinfo | 4 | ||||
-rw-r--r-- | devel/pymacs/pkg-descr | 13 |
3 files changed, 26 insertions, 18 deletions
diff --git a/devel/pymacs/Makefile b/devel/pymacs/Makefile index 77c98bfbdf68..73b5dc4d064d 100644 --- a/devel/pymacs/Makefile +++ b/devel/pymacs/Makefile @@ -4,27 +4,34 @@ PORTNAME= Pymacs PORTVERSION= 0.25 CATEGORIES= devel editors python elisp -MASTER_SITES= http://github.com/pinard/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/ +MASTER_SITES= GH -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Python package for scripting emacs -USE_PYTHON= yes -USE_PYDISTUTILS=yes -USE_PYTHON_PREFIX= yes +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= pinard +GH_TAGNAME= ${PORTVERSION:S/^/v/} +GH_COMMIT= 5989046 + +USES= python USE_EMACS= yes +USE_PYTHON= distutils -NO_STAGE= yes pre-configure: @(cd ${WRKSRC}; \ ${PYTHON_CMD} pppp -C ppppconfig.py Pymacs.py.in \ pppp.rst.in pymacs.el.in pymacs.rst.in \ contrib tests) -# Install the emacs side of things +post-build: + (cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ + -f batch-byte-compile pymacs.el) + post-install: - ${INSTALL_DATA} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR} - ${EMACS_NAME} -batch -f batch-byte-compile \ - ${PREFIX}/${EMACS_SITE_LISPDIR}/pymacs.el + (cd ${WRKSRC} && ${INSTALL_DATA} pymacs.el pymacs.elc \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}) .include <bsd.port.mk> diff --git a/devel/pymacs/distinfo b/devel/pymacs/distinfo index 9e993d89d393..cd454e99eab2 100644 --- a/devel/pymacs/distinfo +++ b/devel/pymacs/distinfo @@ -1,2 +1,2 @@ -SHA256 (Pymacs-0.25.tar.gz) = bcb1af7f55c5a4c050f41413e54d7d1f3c9bf8febebd99792f4aa45cd8f41c8f -SIZE (Pymacs-0.25.tar.gz) = 120554 +SHA256 (Pymacs-0.25.tar.gz) = 51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2 +SIZE (Pymacs-0.25.tar.gz) = 120597 diff --git a/devel/pymacs/pkg-descr b/devel/pymacs/pkg-descr index 1c6c102c92ab..5743fa289c33 100644 --- a/devel/pymacs/pkg-descr +++ b/devel/pymacs/pkg-descr @@ -1,8 +1,9 @@ -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 -asymmetry 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. +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 asymmetry 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. WWW: http://pymacs.progiciels-bpi.ca/ |