aboutsummaryrefslogtreecommitdiffstats
path: root/www/roundup/Makefile
blob: 2d966c5533540dab3cfb67ced83f47599fa212b8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for: roundup
# Date created:     23 Mar 2003
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   roundup
PORTVERSION=    1.1.2
CATEGORIES= www python
MASTER_SITES=   http://cheeseshop.python.org/packages/source/r/roundup/ \
        http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= dryice@dryice.name
COMMENT=    An Issue-Tracking System for Knowledge Workers

USE_PYTHON= 2.3+
USE_PYDISTUTILS=    yes
USE_GETTEXT=    yes

OPTIONS=    SQLITE  "Support Sqlite as backend" on
OPTIONS+=   METAKIT "Support metakit as backend" off
OPTIONS+=   PGSQL   "Support posggresql as backend" off
OPTIONS+=   MYSQL   "Support mysql as backend" off

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_SQLITE)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/sqlite/__init__.py:${PORTSDIR}/databases/py-PySQLite11
.endif

.if defined(WITH_METAKIT)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/metakit.py:${PORTSDIR}/databases/metakit
.endif

.if defined(WITH_PGSQL)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
.endif

.if defined(WITH_MYSQL)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
.endif

MAN1=       roundup-admin.1 roundup-demo.1 roundup-mailgw.1 \
        roundup-server.1

.include <bsd.port.post.mk>