summaryrefslogtreecommitdiff
path: root/devel/roundup/Makefile
blob: acfd52275a4f72f936b61f1f42ae77c5416b9016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.49 2016/06/08 17:43:27 wiz 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=	33 34 35 # 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"