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

(-)Makefile (-20 / +6 lines)
Lines 1-39 Link Here
1
# New ports collection makefile for: trac-autocomplete
1
# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
2
# Date created:                      December 16, 2009
3
# Whom:                              Eygene Ryabinkin <rea-fbsd@codelabs.ru>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	datefield
4
PORTNAME=	datefield
9
PORTVERSION=	1.0.1
5
PORTVERSION=	1.0.1
10
PORTREVISION=	2
6
PORTREVISION=	3
11
CATEGORIES=	www python
7
CATEGORIES=	www python
12
MASTER_SITES=	http://dist.codelabs.ru/fbsd/
8
MASTER_SITES=	http://dist.codelabs.ru/fbsd/
13
PKGNAMEPREFIX=	trac-
9
PKGNAMEPREFIX=	trac-
14
DISTNAME=	datefieldplugin-r${REL}
10
DISTNAME=	datefieldplugin-r${REL}
15
11
16
MAINTAINER=	rea@FreeBSD.org
12
MAINTAINER=	rea@FreeBSD.org
17
COMMENT=	A plugin for creating date fields
13
COMMENT=	Plugin for creating date fields
18
14
19
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
20
RUN_DEPENDS+=	trac>=0.11:${PORTSDIR}/www/trac
15
RUN_DEPENDS+=	trac>=0.11:${PORTSDIR}/www/trac
21
16
22
USE_PYTHON=	2.5+
17
USE_PYTHON=	-2.7
23
USE_ZIP=	yes
18
USE_ZIP=	yes
24
NO_BUILD=	yes
19
USE_PYDISTUTILS=	easy_install
25
USE_PYDISTUTILS=	yes
26
PYDISTUTILS_PKGNAME=	TracDateField
20
PYDISTUTILS_PKGNAME=	TracDateField
27
PYDISTUTILS_NOEGGINFO=	yes
28
WRKSRC=		${WRKDIR}/datefieldplugin/0.11
21
WRKSRC=		${WRKDIR}/datefieldplugin/0.11
29
REL=		7267
22
REL=		7267
30
PLIST_FILES=	${PYTHON_SITELIBDIR:S;${LOCALBASE}/;;}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
23
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
31
24
32
# We must fix file permissions -- ZIP file have 0000 for every file.
33
# Directory permissions are fine (they aren't stored inside ZIP
34
# file), but we set them too -- just in case.
35
post-extract:
36
	@${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644
37
	@${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
38
39
.include <bsd.port.mk>
25
.include <bsd.port.mk>

Return to bug 173231