diff options
Diffstat (limited to 'sysutils/bup/Makefile')
-rw-r--r-- | sysutils/bup/Makefile | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/sysutils/bup/Makefile b/sysutils/bup/Makefile index 5d5e99fb430..3f98d0ccf96 100644 --- a/sysutils/bup/Makefile +++ b/sysutils/bup/Makefile @@ -1,13 +1,18 @@ -# $NetBSD: Makefile,v 1.25 2016/07/09 13:04:05 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2016/09/18 23:02:48 gdt Exp $ -DISTNAME= bup-0.27 -PKGREVISION= 2 +DISTNAME= bup-0.28.1 CATEGORIES= sysutils -MASTER_SITES= # https://github.com/bup/bup/releases/ -# doc: switch to "man" branch before downloading -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}.zip +MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/} +# bup has two problems that make packaging difficult. One is that +# building man pages requires non-portable tools (pandoc). The other +# is that it is hosted on github, which makes hosting tarballs +# difficult. The combination of this leads to having a branch "man" +# in bup's git which has autogenerated man pages. For now, we created +# a bup-man tarball that contains the built man pages in a bup-man +# directory, and host it at MASTER_SITES_LOCAL. +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}${EXTRACT_SUFX} -MAINTAINER= pkgsrc-users@NetBSD.org +MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://github.com/bup/bup COMMENT= Highly efficient file backup system based on the git packfile format LICENSE= gnu-gpl-v2 @@ -29,6 +34,9 @@ MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} USE_TOOLS+= bash gmake perl REPLACE_PERL= format-subst.pl wvtestrun + +# In 0.28.1, there is "bup-python" which calls the python found by +# configure. Arguably many of these are no longer necessary. REPLACE_PYTHON+= cmd/bloom-cmd.py REPLACE_PYTHON+= cmd/cat-file-cmd.py REPLACE_PYTHON+= cmd/daemon-cmd.py @@ -74,14 +82,6 @@ REPLACE_PYTHON+= t/root-status REPLACE_PYTHON+= t/test-ls.sh 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-ls.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 @@ -98,6 +98,8 @@ REPLACE_BASH+= t/test-save-creates-no-unrefs.sh REPLACE_BASH+= t/test.sh REPLACE_BASH+= wvtest-bup.sh +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 share/doc/${PKGBASE} + post-install: ${INSTALL_DATA} ${DOCDIR}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup |