aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python-mode.el/Makefile
blob: c91a73b871beffa13ea993dd8863fc29977b1a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

NO_STAGE=   yes
do-install:
    ${MKDIR} ${EMACSLISPDIR}
    ${MKDIR} ${XEMACSLISPDIR}
    for i in ${LISPFILES}; do \
        ${INSTALL_DATA} ${WRKSRC}/$${i} ${EMACSLISPDIR}/$${i}; \
        ${LN} -sf ${EMACSLISPDIR}/$${i} ${XEMACSLISPDIR}; \
    done;

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>