pkgsrc/sysutils/bup/Makefile
wiz 7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00

123 lines
4.1 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2014/05/29 23:37:27 wiz Exp $
DISTNAME= bup-0.25
PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= # manually packaged since master site is git repository
# and only available via https
# https://github.com/bup/bup/releases/
# doc tarball: switch to "man" branch before downloading
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}.zip
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://github.com/bup/bup
COMMENT= Highly efficient file backup system based on the git packfile format
LICENSE= gnu-gpl-v2
DEPENDS+= par2-[0-9]*:../../archivers/par2
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
DEPENDS+= git-base-[0-9]*:../../devel/git-base
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-fuse-bindings
DOCDIR= ${WRKDIR}/bup-man
TEST_TARGET= test
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= PYTHON=${PYTHONBIN}
MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
USE_TOOLS+= bash gmake perl
REPLACE_PERL= format-subst.pl wvtestrun
REPLACE_PYTHON+= cmd/bloom-cmd.py
REPLACE_PYTHON+= cmd/cat-file-cmd.py
REPLACE_PYTHON+= cmd/daemon-cmd.py
REPLACE_PYTHON+= cmd/damage-cmd.py
REPLACE_PYTHON+= cmd/drecurse-cmd.py
REPLACE_PYTHON+= cmd/fsck-cmd.py
REPLACE_PYTHON+= cmd/ftp-cmd.py
REPLACE_PYTHON+= cmd/fuse-cmd.py
REPLACE_PYTHON+= cmd/help-cmd.py
REPLACE_PYTHON+= cmd/index-cmd.py
REPLACE_PYTHON+= cmd/init-cmd.py
REPLACE_PYTHON+= cmd/join-cmd.py
REPLACE_PYTHON+= cmd/list-idx-cmd.py
REPLACE_PYTHON+= cmd/ls-cmd.py
REPLACE_PYTHON+= cmd/margin-cmd.py
REPLACE_PYTHON+= cmd/memtest-cmd.py
REPLACE_PYTHON+= cmd/meta-cmd.py
REPLACE_PYTHON+= cmd/midx-cmd.py
REPLACE_PYTHON+= cmd/mux-cmd.py
REPLACE_PYTHON+= cmd/newliner-cmd.py
REPLACE_PYTHON+= cmd/on--server-cmd.py
REPLACE_PYTHON+= cmd/on-cmd.py
REPLACE_PYTHON+= cmd/random-cmd.py
REPLACE_PYTHON+= cmd/restore-cmd.py
REPLACE_PYTHON+= cmd/save-cmd.py
REPLACE_PYTHON+= cmd/server-cmd.py
REPLACE_PYTHON+= cmd/split-cmd.py
REPLACE_PYTHON+= cmd/tag-cmd.py
REPLACE_PYTHON+= cmd/tick-cmd.py
REPLACE_PYTHON+= cmd/version-cmd.py
REPLACE_PYTHON+= cmd/web-cmd.py
REPLACE_PYTHON+= cmd/xstat-cmd.py
REPLACE_PYTHON+= lib/tornado/__init__.py
REPLACE_PYTHON+= lib/tornado/auth.py
REPLACE_PYTHON+= lib/tornado/autoreload.py
REPLACE_PYTHON+= lib/tornado/database.py
REPLACE_PYTHON+= lib/tornado/escape.py
REPLACE_PYTHON+= lib/tornado/httpclient.py
REPLACE_PYTHON+= lib/tornado/httpserver.py
REPLACE_PYTHON+= lib/tornado/httputil.py
REPLACE_PYTHON+= lib/tornado/ioloop.py
REPLACE_PYTHON+= lib/tornado/iostream.py
REPLACE_PYTHON+= lib/tornado/locale.py
REPLACE_PYTHON+= lib/tornado/options.py
REPLACE_PYTHON+= lib/tornado/s3server.py
REPLACE_PYTHON+= lib/tornado/template.py
REPLACE_PYTHON+= lib/tornado/test/test_ioloop.py
REPLACE_PYTHON+= lib/tornado/web.py
REPLACE_PYTHON+= lib/tornado/websocket.py
REPLACE_PYTHON+= lib/tornado/wsgi.py
REPLACE_PYTHON+= main.py
REPLACE_PYTHON+= wvtest.py
REPLACE_PYTHON+= t/hardlink-sets
REPLACE_PYTHON+= t/id-other-than
REPLACE_PYTHON+= t/mksock
REPLACE_PYTHON+= t/root-status
REPLACE_PYTHON+= t/unknown-owner
SUBST_CLASSES+= python-c
SUBST_SED.python-c+= -e 's,python -c,${PYTHONBIN} -c,'
SUBST_STAGE.python-c= pre-configure
SUBST_FILES.python-c+= t/lib.sh
SUBST_FILES.python-c+= t/test-meta.sh
SUBST_MESSAGE.python-c= Fixing python executable in tests.
REPLACE_BASH+= cmd/import-rdiff-backup-cmd.sh
REPLACE_BASH+= t/compare-trees
REPLACE_BASH+= t/configure-sampledata
REPLACE_BASH+= t/force-delete
REPLACE_BASH+= t/subtree-hash
REPLACE_BASH+= t/test-cat-file.sh
REPLACE_BASH+= t/test-command-without-init-fails.sh
REPLACE_BASH+= t/test-index-check-device.sh
REPLACE_BASH+= t/test-meta.sh
REPLACE_BASH+= t/test-redundant-saves.sh
REPLACE_BASH+= t/test-restore-single-file.sh
REPLACE_BASH+= t/test-rm-between-index-and-save.sh
REPLACE_BASH+= t/test-save-creates-no-unrefs.sh
REPLACE_BASH+= t/test.sh
REPLACE_BASH+= wvtest-bup.sh
post-install:
${INSTALL_DATA} ${DOCDIR}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bup
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"