mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e1bfdfbe56
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# Created by: nbm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= roundup
|
|
PORTVERSION= 1.5.1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= Issue-Tracking System for Knowledge Workers
|
|
|
|
LICENSE= PSFL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
USES= cpe gettext python:2.7
|
|
CPE_VENDOR= roundup-tracker
|
|
USE_PYTHON= distutils
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS SQLITE PGSQL MYSQL NLS
|
|
OPTIONS_DEFAULT=SQLITE
|
|
OPTIONS_SUB= yes
|
|
|
|
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
|
|
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
|
|
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb@${PY_FLAVOR}
|
|
|
|
SCRIPTS= roundup-admin roundup-demo roundup-gettext roundup-mailgw \
|
|
roundup-server roundup-xmlrpc-server
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/build/scripts-${PYTHON_VER}/,} ${STAGEDIR}${PREFIX}/bin
|
|
.for f in roundup-admin roundup-demo roundup-mailgw roundup-server
|
|
${INSTALL_MAN} ${WRKSRC}/share/man/man1/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
.endfor
|
|
|
|
post-install-NLS-on:
|
|
@(cd ${WRKSRC}/build/share/locale/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale/)
|
|
|
|
.include <bsd.port.mk>
|