aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bicyclerepair/Makefile
blob: 7959ef60dfbd09f6207d4ec7a233ef7e71e6c3ad (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
# 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
NO_STAGE=   yes

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

.if !defined(NOPORTDOCS)
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>