freebsd-ports/www/roundup/Makefile
Dmitry Marakasov 6a68ca1dec - Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
- Use MANPREFIX

Approved by:	portmgr blanket
2017-01-13 09:28:19 +00:00

40 lines
1.1 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
CPE_VENDOR= roundup-tracker
USE_PYTHON= distutils
NO_ARCH= yes
OPTIONS_DEFINE= SQLITE PGSQL MYSQL NLS
OPTIONS_DEFAULT=SQLITE
OPTIONS_SUB= yes
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb
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>