File:  [cvs.NetBSD.org] / pkgsrc / devel / roundup / Makefile
Revision 1.52: download - view: text, annotated - select for diffs
Tue Jul 3 05:03:14 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.52 2018/07/03 05:03:14 adam Exp $

DISTNAME=	roundup-1.4.19
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_PYPI:=r/roundup/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://roundup.sourceforge.net/
COMMENT=	Issue tracking system with command-line, web and email clients
LICENSE=	mit AND zpl-2.0

USE_LANGUAGES=	# empty
USE_TOOLS+=	pax

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # not yet ported as of 1.4.19
REPLACE_PYTHON+=	cgi-bin/roundup.cgi demo.py roundup/admin.py
REPLACE_PYTHON+=	frontends/roundup.cgi
REPLACE_PYTHON+=	roundup/backends/locking.py
REPLACE_PYTHON+=	roundup/cgi/TAL/talgettext.py
REPLACE_PYTHON+=	roundup/msgfmt.py
REPLACE_PYTHON+=	roundup/scripts/roundup_demo.py
REPLACE_PYTHON+=	roundup/scripts/roundup_gettext.py
REPLACE_PYTHON+=	roundup/scripts/roundup_xmlrpc_server.py
REPLACE_PYTHON+=	roundup/version_check.py run_tests.py
REPLACE_PYTHON+=	scripts/add-issue scripts/copy-user.py
REPLACE_PYTHON+=	scripts/imapServer.py scripts/roundup-reminder
REPLACE_PYTHON+=	scripts/schema_diagram.py tools/load_tracker.py
REPLACE_PYTHON+=	tools/migrate-queries.py tools/pygettext.py

ROUNDUPDOCDIR=	${PREFIX}/share/doc/roundup

INSTALLATION_DIRS+=	${ROUNDUPDOCDIR} ${PKGMANDIR}/man1

post-install:
	${INSTALL_MAN} ${WRKSRC}/share/man/man1/roundup-admin.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/share/man/man1/roundup-demo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/share/man/man1/roundup-mailgw.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/share/man/man1/roundup-server.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${DESTDIR}${ROUNDUPDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/COPYING.txt ${DESTDIR}${ROUNDUPDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${ROUNDUPDOCDIR}
	cd ${WRKSRC}/doc && pax -s '/.*\.1//g' -rw -pp -pm . ${DESTDIR}${ROUNDUPDOCDIR}

.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>