pkgsrc/devel/cogito/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2008-06-12 04:14:13 +02:00
# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:22 joerg Exp $
#
Update to 0.18.2: From the release announce mails: I've released cogito-0.18.2, bringing a couple of bugfixes and a trivial new feature to cogito-0.18.1. Still nothing too groundshattering. * cg-log does not follow history across renames anymore; it never really actually worked and was instead causing problems and random error messages. There needs to be git-core support for this funcionality, hacking it with a perl filter is bad design, so I'm not going to fix the filter (but I'd take patches if someone else did ;). * Fix cg-init not letting you edit the initial commit message by default * Fix cg-clone -l which would not setup alternates properly in some cases * Fix cg-merge not picking the right base when following volatile branches * Fix cg-log -d sometimes showing "% @" in diff output * Some other minor fixes * New cg-object-id -b to print the current branch name * Documentation improvements (better documented ignoring mechanism, ~/.gitconfig mentioned, GIT_COMMITTER_* bogus information fixed, ...) * Some testsuite fixes --- I've released cogito-0.18.1, bringing few minor new features and random bugfixes to the cogito-0.18 version. Nothing groundshattering. * cg-switch -c as a shortcut for cg-switch -r HEAD - use it to create a new branch with less typing * cg-patch -e to edit log message before autocommitting (useful esp. as cg-patch -m -e) * Support for cg-version --lib-dir, --share-dir * cg-admin-rewritehist now defines a map() function for filters' use, translating from old to new commit ids * cg-commit -e now runs editor on /dev/tty even if input is not a tty * Trivial documentation improvements * Random details fixed
2007-03-10 20:09:33 +01:00
DISTNAME= cogito-0.18.2
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.kernel.org/pub/software/scm/cogito/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.kernel.org/pub/software/scm/cogito/
COMMENT= Version control system of the Linux kernel
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= scmgit-[0-9]*:../../devel/scmgit
2007-10-09 21:19:08 +02:00
USE_TOOLS+= gmake bash:run fgrep:run grep:run mktemp:run xargs:run
MAKE_FLAGS+= prefix=${PREFIX:Q}
.include "../../mk/bsd.prefs.mk"
2007-10-09 21:19:08 +02:00
# we need gnu-ish versions of these. In particular, we require
# that grep accept -q and xargs accept -0
.if ${OPSYS} == "SunOS"
DEPENDS+= findutils>=4.1:../../sysutils/findutils
TOOLS_PLATFORM.xargs= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}xargs
.endif
post-patch:
for f in ${WRKSRC}/cg* ; do \
${MV} $$f $$f.bak ; \
${SED} -e 's;\([ ]\)fgrep\([ ]\);\1${FGREP}\2;g' \
-e 's;\([ ]\)grep\([ ]\);\1${GREP}\2;' \
-e 's;\([ ]\)xargs\([ ]\);\1${XARGS}\2;g' \
$$f.bak > $$f ; \
${CHMOD} a+x $$f ; \
done
.include "../../mk/bsd.pkg.mk"