summaryrefslogtreecommitdiff
path: root/lang/python-mode.el/Makefile
blob: e0250afe52ec8dc28d22aa15cec1a7ab74f056c2 (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
35
36
37
38
39
# New ports collection makefile for:	python-mode.el
# Date created:				11 October 2005
# Whom:					Dario Freni <saturnero@gufi.org
#
# $FreeBSD$
#

PORTNAME=	python-mode.el
PORTVERSION=	1.0
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	lang elisp python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=python-mode
DISTNAME=	python-mode-${PORTVERSION}

MAINTAINER=	saturnero@gufi.org
COMMENT=	Emacs lisp module for the Python language

NO_BUILD=	yes

CONFLICTS=	python-2.4.[012]*
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} ${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>