pkgsrc/devel/roundup/Makefile
wiz 2f30023e84 Rename zpl to zpl-2.0 to make space for zpl-2.1.
Switch all packages currently referencing zpl to zpl-2.0.
Add zpl-2.1.
Add zpl-2.1 to default-allowed per FSF.
2015-07-15 18:19:54 +00:00

47 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2015/07/15 18:19:54 wiz Exp $
DISTNAME= roundup-1.4.19
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://pypi.python.org/packages/source/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 # 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"