30 lines
761 B
Makefile
30 lines
761 B
Makefile
# Created by: Dario Freni <saturnero@gufi.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= python-mode.el
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= lang elisp python
|
|
MASTER_SITES= SF/python-mode/OldFiles
|
|
DISTNAME= python-mode-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Emacs lisp module for the Python language
|
|
|
|
NO_BUILD= yes
|
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
LISPFILES= doctest-mode.el pycomplete.el pycomplete.py python-mode.el
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
|
|
@${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
|
|
.for i in ${LISPFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EMACSLISPDIR}
|
|
${LN} -sf ${EMACSLISPDIR}/${i} ${STAGEDIR}${XEMACSLISPDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|