1 # $NetBSD: Makefile,v 1.10 2008/03/04 11:02:24 rillig Exp $
4 DISTNAME= cogito-0.18.2
7 MASTER_SITES= http://www.kernel.org/pub/software/scm/cogito/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.kernel.org/pub/software/scm/cogito/
12 COMMENT= Version control system of the Linux kernel
14 PKG_DESTDIR_SUPPORT= user-destdir
16 DEPENDS+= scmgit-[0-9]*:../../devel/scmgit
18 USE_TOOLS+= gmake bash:run fgrep:run grep:run mktemp:run xargs:run
19 MAKE_FLAGS+= prefix=${PREFIX:Q}
21 .include "../../mk/bsd.prefs.mk"
23 # we need gnu-ish versions of these. In particular, we require
24 # that grep accept -q and xargs accept -0
25 .if ${OPSYS} == "SunOS"
27 DEPENDS+= findutils>=4.1:../../sysutils/findutils
28 TOOLS_PLATFORM.xargs= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}xargs
33 for f in ${WRKSRC}/cg* ; do \
35 ${SED} -e 's;\([ ]\)fgrep\([ ]\);\1${FGREP}\2;g' \
36 -e 's;\([ ]\)grep\([ ]\);\1${GREP}\2;' \
37 -e 's;\([ ]\)xargs\([ ]\);\1${XARGS}\2;g' \
43 .include "../../mk/bsd.pkg.mk"