aboutsummaryrefslogtreecommitdiff
path: root/www/trac-remind/Makefile
blob: 28f67bc4d9d31f4a090fe1ffbf16e77ec8813244 (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
# New ports collection makefile for: trac-remind
# Date created:                      May 18 2007
# Whom:                              Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	remind
PORTVERSION=	1
CATEGORIES=	www devel python
MASTER_SITES=	http://www.unixmedia.it/
PKGNAMEPREFIX=	trac-
DISTNAME=	trac${PORTNAME}

MAINTAINER=	gerrit.beine@gmx.de
COMMENT=	Trac tickets reminder script

BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac

NO_BUILD=	yes
USE_ZIP=	yes
USE_PYTHON=	2.3+

PLIST_FILES=	bin/tracremind.py etc/tracremind.conf

post-patch:
	${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
		 -e "s,%%PYTHON%%,${PYTHON_CMD}," ${WRKSRC}/tracremind.py

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/tracremind.py ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/tracremind.conf ${PREFIX}/etc

.include <bsd.port.mk>