pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/patch Add gnu/man/man1/patch.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9818bad78af
branches:  trunk
changeset: 604527:a9818bad78af
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Fri Jun 01 16:32:41 2012 +0000

description:
Add gnu/man/man1/patch.1
++pkgrevision

diffstat:

 devel/patch/Makefile |  14 +++++++++-----
 devel/patch/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 195fb4484cd8 -r a9818bad78af devel/patch/Makefile
--- a/devel/patch/Makefile      Fri Jun 01 15:47:18 2012 +0000
+++ b/devel/patch/Makefile      Fri Jun 01 16:32:41 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2012/05/29 21:19:30 cheusov Exp $
+# $NetBSD: Makefile,v 1.34 2012/06/01 16:32:41 cheusov Exp $
 
 DISTNAME=      patch-2.5.9
-PKGREVISION=   1
+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
@@ -20,7 +20,7 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-GNU_CONFIGURE= yes
+GNU_CONFIGURE=         yes
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -29,7 +29,7 @@
 INSTALL_MAKE_FLAGS=    bindir=${DESTDIR}${PREFIX}/bin \
                        man1dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
-INSTALLATION_DIRS=     gnu/bin
+INSTALLATION_DIRS=     gnu/bin gnu/man/man1
 
 do-patch:
        ${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig
@@ -40,7 +40,11 @@
                < ${WRKSRC}/pch.c.orig                                  \
                > ${WRKSRC}/pch.c
 
+SYMLINKS       = bin/gpatch gnu/bin/patch \
+               man/man1/gpatch.1 gnu/man/man1/patch.1
 post-install:
-       ${LN} -sf ../../bin/gpatch ${DESTDIR}${PREFIX}/gnu/bin/patch
+.for o n in ${SYMLINKS}
+       ${LN} -sf ${PREFIX}/${o} ${DESTDIR}${PREFIX}/${n}
+.endfor
 
 .include "../../mk/bsd.pkg.mk"
diff -r 195fb4484cd8 -r a9818bad78af devel/patch/PLIST
--- a/devel/patch/PLIST Fri Jun 01 15:47:18 2012 +0000
+++ b/devel/patch/PLIST Fri Jun 01 16:32:41 2012 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2012/05/29 21:19:30 cheusov Exp $
+@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



Home | Main Index | Thread Index | Old Index