[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / roundup

File: [cvs.NetBSD.org] / pkgsrc / devel / roundup / Makefile (download)

Revision 1.56, Mon Sep 2 13:19:43 2019 UTC (4 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.55: +2 -2 lines

Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8

# $NetBSD: Makefile,v 1.56 2019/09/02 13:19:43 adam Exp $

DISTNAME=	roundup-1.4.19
PKGREVISION=	3
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_ACCEPTED=	27 # 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"