2003-03-24 18:25:05 +01:00
|
|
|
# New ports collection makefile for: roundup
|
|
|
|
# Date created: 23 Mar 2003
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= roundup
|
2011-07-22 15:05:57 +02:00
|
|
|
PORTVERSION= 1.4.19
|
2005-07-09 06:20:09 +02:00
|
|
|
CATEGORIES= www python
|
2009-05-15 10:34:14 +02:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2003-03-24 18:25:05 +01:00
|
|
|
|
2011-03-18 11:04:54 +01:00
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
2003-03-24 18:25:05 +01:00
|
|
|
COMMENT= An Issue-Tracking System for Knowledge Workers
|
|
|
|
|
2011-07-07 15:54:06 +02:00
|
|
|
LICENSE= PSFL
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
|
2011-07-12 07:47:17 +02:00
|
|
|
USE_GETTEXT= yes
|
2011-09-01 17:21:21 +02:00
|
|
|
USE_PYTHON= 2.5+
|
2009-05-15 10:34:14 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
2003-03-24 18:25:05 +01:00
|
|
|
|
2006-05-19 08:02:57 +02:00
|
|
|
OPTIONS= SQLITE "Support Sqlite as backend" on
|
|
|
|
OPTIONS+= PGSQL "Support posggresql as backend" off
|
|
|
|
OPTIONS+= MYSQL "Support mysql as backend" off
|
2011-07-07 15:54:06 +02:00
|
|
|
OPTIONS+= NLS "Native Language Support" on
|
2006-05-19 08:02:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SQLITE)
|
2008-03-17 13:45:13 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
2006-05-19 08:02:57 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PGSQL)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MYSQL)
|
2010-12-27 16:52:11 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
|
2006-05-19 08:02:57 +02:00
|
|
|
.endif
|
|
|
|
|
2011-07-07 15:54:06 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
2011-07-12 07:47:17 +02:00
|
|
|
PLIST_SUB+= NLS="@comment "
|
2011-07-07 15:54:06 +02:00
|
|
|
.endif
|
|
|
|
|
2009-05-15 10:34:14 +02:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
2005-03-13 10:56:30 +01:00
|
|
|
MAN1= roundup-admin.1 roundup-demo.1 roundup-mailgw.1 \
|
|
|
|
roundup-server.1
|
2009-05-15 10:34:14 +02:00
|
|
|
MANCOMPRESSED= no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SCRIPTS= roundup-admin roundup-demo roundup-gettext roundup-mailgw \
|
|
|
|
roundup-server roundup-xmlrpc-server
|
|
|
|
|
|
|
|
post-install:
|
2009-06-09 00:30:55 +02:00
|
|
|
@${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/build/scripts-${PYTHON_VER}/,} ${PREFIX}/bin
|
2009-05-15 10:34:14 +02:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/share/man/man1/,} ${MAN1PREFIX}/man/man1
|
|
|
|
.endif
|
2011-07-22 15:05:57 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
@(cd ${WRKSRC}/build/share/locale/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/locale/)
|
|
|
|
.endif
|
2004-03-22 10:34:43 +01:00
|
|
|
|
2006-05-19 08:02:57 +02:00
|
|
|
.include <bsd.port.post.mk>
|