Reduce context in diff to not cover RCS ID. Set USE_BSD_MAKEFILE. DESTDIR support.diff -r1.13 -r1.14 pkgsrc/textproc/bsdgrep-devel/Makefile
(joerg)
@@ -1,20 +1,23 @@ | @@ -1,20 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2007/12/06 21:43:19 cjep Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2008/06/21 20:37:40 joerg Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= bsdgrep-20071201 | 4 | DISTNAME= bsdgrep-20071201 | |
5 | PKGNAME= bsdgrep-devel-20071201 | 5 | PKGNAME= bsdgrep-devel-20071201 | |
6 | CATEGORIES= sysutils textproc | 6 | CATEGORIES= sysutils textproc | |
7 | MASTER_SITES= http://www.fawlty.net/software/ | 7 | MASTER_SITES= http://www.fawlty.net/software/ | |
8 | 8 | |||
9 | MAINTAINER= cjep@NetBSD.org | 9 | MAINTAINER= cjep@NetBSD.org | |
10 | HOMEPAGE= # none | 10 | HOMEPAGE= # none | |
11 | COMMENT= BSD version of grep as in NetBSD src/usr.bin/grep | 11 | COMMENT= BSD version of grep as in NetBSD src/usr.bin/grep | |
12 | 12 | |||
13 | MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP} | 14 | ||
15 | USE_BSD_MAKEFILE= yes | |||
16 | ||||
17 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 | |||
15 | 18 | |||
16 | post-patch: | 19 | post-patch: | |
17 | @${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1 | 20 | @${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1 | |
18 | 21 | |||
19 | .include "../../devel/zlib/buildlink3.mk" | 22 | .include "../../devel/zlib/buildlink3.mk" | |
20 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2007/12/13 21:48:39 cjep Exp $ | 1 | $NetBSD: distinfo,v 1.12 2008/06/21 20:37:40 joerg Exp $ | |
2 | 2 | |||
3 | SHA1 (bsdgrep-20071201.tar.gz) = ae5eabcaa6fbf1760023ee6f3d4a596fe1db9039 | 3 | SHA1 (bsdgrep-20071201.tar.gz) = ae5eabcaa6fbf1760023ee6f3d4a596fe1db9039 | |
4 | RMD160 (bsdgrep-20071201.tar.gz) = 915ac4d8c6a44e56a6bf88454e7cc9ae5dc7f363 | 4 | RMD160 (bsdgrep-20071201.tar.gz) = 915ac4d8c6a44e56a6bf88454e7cc9ae5dc7f363 | |
5 | Size (bsdgrep-20071201.tar.gz) = 13161 bytes | 5 | Size (bsdgrep-20071201.tar.gz) = 13161 bytes | |
6 | SHA1 (patch-aa) = e8c11d96352d24e2880fe1f9bbeef6ded99b1569 | 6 | SHA1 (patch-aa) = bd3d73bbd72890173f63a63bf9f38725ad32c714 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | --- Makefile.orig 2006-05-15 21:12:21.000000000 +0000 | 1 | --- Makefile.orig 2006-05-15 21:12:21.000000000 +0000 | |
2 | +++ Makefile 2007-12-08 23:52:46.000000000 +0000 | 2 | +++ Makefile 2007-12-08 23:52:46.000000000 +0000 | |
3 | @@ -1,22 +1,27 @@ | 3 | @@ -2,21 +1,26 @@ | |
4 | # $NetBSD: patch-aa,v 1.3 2007/12/13 21:48:39 cjep Exp $ | |||
5 | 4 | |||
6 | -PROG= grep | 5 | -PROG= grep | |
7 | +PROG= bgrep | 6 | +PROG= bgrep | |
8 | SRCS= binary.c file.c grep.c mmfile.c queue.c util.c | 7 | SRCS= binary.c file.c grep.c mmfile.c queue.c util.c | |
9 | 8 | |||
10 | -LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ | 9 | -LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ | |
11 | - ${BINDIR}/grep ${BINDIR}/fgrep \ | 10 | - ${BINDIR}/grep ${BINDIR}/fgrep \ | |
12 | - ${BINDIR}/grep ${BINDIR}/zgrep \ | 11 | - ${BINDIR}/grep ${BINDIR}/zgrep \ | |
13 | - ${BINDIR}/grep ${BINDIR}/zegrep \ | 12 | - ${BINDIR}/grep ${BINDIR}/zegrep \ | |
14 | - ${BINDIR}/grep ${BINDIR}/zfgrep | 13 | - ${BINDIR}/grep ${BINDIR}/zfgrep | |
15 | - | 14 | - | |
16 | -MLINKS= grep.1 egrep.1 \ | 15 | -MLINKS= grep.1 egrep.1 \ | |
17 | - grep.1 fgrep.1 \ | 16 | - grep.1 fgrep.1 \ |