summaryrefslogtreecommitdiffstats
path: root/devel/bicyclerepair/Makefile
blob: 7d128191e454a220a146e1ccb2c80fffbd7bae2d (plain)
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
# Created by: mwm@mired.org
# $FreeBSD$

PORTNAME=	bicyclerepair
PORTVERSION=	0.9
CATEGORIES=	devel python
MASTER_SITES=	SF
PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}

MAINTAINER=	mwm@mired.org
COMMENT=	A python refactoring tool

USE_PYTHON=	2.2+
USE_PYDISTUTILS=yes

.if defined(EMACS_PORT_NAME)
RUN_DEPENDS+=	${LOCALBASE}/bin/pymacs-services:${PORTSDIR}/devel/pymacs
.endif

.if !defined(NOPORTDOCS)
NO_STAGE=	yes
post-install:
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ide-integration/bike.vim ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.emacs ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.idle ${DOCSDIR}
	@${ECHO} "================================================================"
	@${ECHO} "* See" ${DOCSDIR} "for instructions on configuring IDLE"
	@${ECHO} "* and vim to use Bicycle Repair Man."
	@${ECHO} "================================================================"
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud