pkgsrc/devel/stgit/Makefile

66 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2013/05/31 12:40:57 wiz Exp $
Update to version 0.14.3. Changes: commit 8fe07fa4cef52c194e27b1ae764e2647c3f674f2 Handle refresh of changed files with non-ASCII names Without -z, git diff-files was quoting them for us. commit adb61608fb1611570bbb53ddd0b7551e90e3fbdd Test for another filename quoting issue in tree_status() stgit.git.tree_status() had another filename quoting issue, similar to the one just fixed. Test for that one too. commit fb9b3c0243657a2cf520e5bd5ccfe4aab94799c8 Handle changed files with non-ASCII names Git was quoting them for us, which was not what we wanted. So call diff-index with the -z flag, so that it doesn't. commit 82863c3c5b26c743d1c0c288d354dd78557a914c Add rebase test for when upstream has deleted a non-ASCII file Test that stg rebase can handle upstream deleting a file with a non-ASCII name. It currently can't. Bug spotted by Jakub Narebski <jnareb@gmail.com>. commit 466bfe50d7930bca950ca2b3436f1278a6b15af5 Fix "refresh" failure with moved files (bug 11661) This patch fixes the git.tree_status() function to not pass missing files to the git-diff-files command which crashes in weird ways (see the bug report on gna.org). commit 340793d1f7dc889720ceef3271ca58187474d110 Allow export to write unapplied files as well This was an artificial limit which upset many people (including me). commit 61fb81b963c1adb0abb08239c24fa4ee39c5929a Fix the sync'ing of unapplied patches only When only unapplied patches are to be sync'ed, the command failed because the first patch was trying to be pushed twice.
2008-07-25 06:00:59 +02:00
DISTNAME= stgit-0.14.3
PKGREVISION= 6
CATEGORIES= devel
MASTER_SITES= http://homepage.ntlworld.com/cmarinas/stgit/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.procode.org/stgit/
COMMENT= Stacked GIT
2012-01-29 09:12:04 +01:00
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
2012-01-29 09:10:43 +01:00
DEPENDS+= scmgit-base>=1.5.2:../../devel/scmgit-base
AUTO_MKDIRS= yes
USE_TOOLS+= bash:run perl gmake
USE_LANGUAGES= #none
REPLACE_PERL= Documentation/build-docdep.perl
REPLACE_BASH= contrib/stg-*
PYTHON_PATCH_SCRIPTS= *.py stgit/*.py stg
PYSETUPINSTALLARGS= --prefix=${PREFIX}
Update to version 0.14.3. Changes: commit 8fe07fa4cef52c194e27b1ae764e2647c3f674f2 Handle refresh of changed files with non-ASCII names Without -z, git diff-files was quoting them for us. commit adb61608fb1611570bbb53ddd0b7551e90e3fbdd Test for another filename quoting issue in tree_status() stgit.git.tree_status() had another filename quoting issue, similar to the one just fixed. Test for that one too. commit fb9b3c0243657a2cf520e5bd5ccfe4aab94799c8 Handle changed files with non-ASCII names Git was quoting them for us, which was not what we wanted. So call diff-index with the -z flag, so that it doesn't. commit 82863c3c5b26c743d1c0c288d354dd78557a914c Add rebase test for when upstream has deleted a non-ASCII file Test that stg rebase can handle upstream deleting a file with a non-ASCII name. It currently can't. Bug spotted by Jakub Narebski <jnareb@gmail.com>. commit 466bfe50d7930bca950ca2b3436f1278a6b15af5 Fix "refresh" failure with moved files (bug 11661) This patch fixes the git.tree_status() function to not pass missing files to the git-diff-files command which crashes in weird ways (see the bug report on gna.org). commit 340793d1f7dc889720ceef3271ca58187474d110 Allow export to write unapplied files as well This was an artificial limit which upset many people (including me). commit 61fb81b963c1adb0abb08239c24fa4ee39c5929a Fix the sync'ing of unapplied patches only When only unapplied patches are to be sync'ed, the command failed because the first patch was trying to be pushed twice.
2008-07-25 06:00:59 +02:00
MAKE_ENV+= ASCIIDOC=${PREFIX}/bin/asciidoc
MAKE_ENV+= ASCIIDOC_EXTRA=${ASCIIDOC_EXTRA:M*:Q}
.include "../../mk/bsd.prefs.mk"
.for d in asciidoc docbook-xsl
GITDOCDEP.${d}= ${${${PKG_INFO} -E ${d} || echo:L:sh}:L:C/[^[0-9]]*/ /g:[1..3]:ts.}
.endfor
ASCIIDOC_EXTRA= # empty
.if !empty(GITDOCDEP.asciidoc:M[8]*)
ASCIIDOC_EXTRA+= -a ascidoc7compatible
.endif
.if !empty(GITDOCDEP.docbook-xsl:M1.7[2-9]*)
ASCIIDOC_EXTRA+= -a docbook-xsl-172
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
pre-build:
cd ${WRKSRC}/Documentation && \
${SETENV} ${MAKE_ENV} ${GMAKE} all
pre-install:
${CHMOD} a-x ${WRKSRC}/contrib/stgbashprompt.sh
post-install:
cd ${WRKSRC}/contrib && \
${RM} -f *.orig && \
${INSTALL_SCRIPT} stg-* ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/Documentation && \
${INSTALL_MAN} *.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
${INSTALL_DATA} *.html \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/html
.include "../../mk/bsd.pkg.mk"