Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

5
devel/patch/DESCR Normal file
View File

@@ -0,0 +1,5 @@
'patch' takes a patch file containing a difference listing
produced by diff and applies those differences to one or
more original files, producing patched versions.
This is the GPL version from the Free Software Foundation.

49
devel/patch/Makefile Normal file
View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.37 2012/12/31 00:27:36 sbd Exp $
DISTNAME= patch-2.5.9
PKGREVISION= 2
CATEGORIES= devel
# We keep an uncompressed tar archive of the sources on
# ${MASTER_SITE_LOCAL} so that we won't need gzcat to extract the
# sources, which could potentially cause a circular dependency on
# archivers/gzip-base.
#
#MASTER_SITES= ${MASTER_SITE_GNU:=patch/}
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/patch/patch.html
COMMENT= Patch files using diff output
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --program-prefix=g
INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \
man1dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
do-patch:
${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig
${AWK} '/#include <pch.h>/{print $$0 "\n#include <sys/param.h>";next;}\
/^#if HAVE_SETMODE_DOS/ \
{gsub(/^#if HAVE_SETMODE_DOS/,"#if defined(HAVE_SETMODE_DOS) \\&\\& !(defined(BSD) \\&\\& BSD >= 199306) \\&\\& !defined(__INTERIX)");print $$0; next; } \
{print $$0;}' \
< ${WRKSRC}/pch.c.orig \
> ${WRKSRC}/pch.c
SYMLINKS = bin/gpatch ${PKGGNUDIR}bin/patch \
man/man1/gpatch.1 ${PKGGNUDIR}${PKGMANDIR}/man1/patch.1
post-install:
.for o n in ${SYMLINKS}
${LN} -sf ${PREFIX}/${o} ${DESTDIR}${PREFIX}/${n}
.endfor
.include "../../mk/bsd.pkg.mk"

5
devel/patch/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.7 2012/06/01 16:32:41 cheusov Exp $
bin/gpatch
gnu/bin/patch
gnu/man/man1/patch.1
man/man1/gpatch.1

5
devel/patch/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.6 2011/07/09 10:32:17 tron Exp $
SHA1 (patch-2.5.9.tar) = cef413b13e514344bab923f5addb286a574d86a7
RMD160 (patch-2.5.9.tar) = 47f611840f16a4482af4742e63f24da5cd7ab5ee
Size (patch-2.5.9.tar) = 950784 bytes