View | Details | Raw Unified | Return to bug 172858
Collapse All | Expand All

(-)Makefile (-18 / +9 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	trac-bzr
1
# Created by: Radim Kolar <hsn@sanatana.dharma>
2
# Date created:		2007-03-30
3
# Whom:			Radim Kolar <hsn@sanatana.dharma>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	bzr
4
PORTNAME=	bzr
9
PORTVERSION=	20110228
5
PORTVERSION=	20110228
10
PORTREVISION=	1
6
PORTREVISION=	2
11
CATEGORIES=	www
7
CATEGORIES=	www
12
MASTER_SITES=	http://schema.filez.com/distfiles/
8
MASTER_SITES=	http://schema.filez.com/distfiles/
13
PKGNAMEPREFIX=	trac-
9
PKGNAMEPREFIX=	trac-
Lines 18-38 Link Here
18
14
19
LICENSE=	GPLv2
15
LICENSE=	GPLv2
20
16
21
BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
17
RUN_DEPENDS=	tracd:${PORTSDIR}/www/trac \
22
RUN_DEPENDS=	tracd:${PORTSDIR}/www/trac bzr:${PORTSDIR}/devel/bzr
18
		bzr:${PORTSDIR}/devel/bzr
23
19
24
USE_PYTHON=		-2.7
25
USE_PYDISTUTILS=	yes
26
PYDISTUTILS_NOEGGINFO=	yes
27
28
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
USE_PYTHON=	-2.7
22
USE_PYDISTUTILS=easy_install
23
PYDISTUTILS_PKGNAME=	TracBzr
24
PYDISTUTILS_PKGVERSION=	0.4.2
25
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
29
26
30
PLIST_SUB=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
31
		PYTRAC_BZR_EGG=${PYTRAC_BZR_EGG}
32
33
EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
34
PYTRAC_BZR_EGG=	TracBzr-0.4.2-py${PYTHON_VER}.egg
35
36
post-patch:
27
post-patch:
37
	${REINPLACE_CMD} -e 's|tag_date = 1||' ${WRKSRC}/setup.cfg
28
	${REINPLACE_CMD} -e 's|tag_date = 1||' ${WRKSRC}/setup.cfg
38
29
(-)pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Trac-Bzr is a plugin for Trac (>= 0.10) that provides a
1
Trac-Bzr is a plugin for Trac (>= 0.10) that provides a
2
version control backend for Bzr.
2
version control backend for Bzr.
3
3
4
WWW:	https://launchpad.net/trac-bzr
4
WWW: https://launchpad.net/trac-bzr
(-)pkg-plist (-4 lines)
Lines 1-4 Link Here
1
@comment $FreeBSD$
2
@unexec %%EASY_INSTALL_CMD%% -q -m -N %D/%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%
3
%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%
4
@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/%%PYTRAC_BZR_EGG%%

Return to bug 172858