diff options
author | cheusov <cheusov> | 2012-06-01 16:32:41 +0000 |
---|---|---|
committer | cheusov <cheusov> | 2012-06-01 16:32:41 +0000 |
commit | 5597f2dc8a451641937f01868f46b1c82292962a (patch) | |
tree | a86eef65b2cce102084eeab76d1d1f3252e084d3 /devel | |
parent | 30d9284cc636ca6e47bcc6a055dd3abf98fad2a3 (diff) | |
download | pkgsrc-5597f2dc8a451641937f01868f46b1c82292962a.tar.gz |
Add gnu/man/man1/patch.1
++pkgrevision
Diffstat (limited to 'devel')
-rw-r--r-- | devel/patch/Makefile | 14 | ||||
-rw-r--r-- | devel/patch/PLIST | 3 |
2 files changed, 11 insertions, 6 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 2ee7ec4734d..4d123140c1b 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -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 @@ LICENSE= gnu-gpl-v2 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 @@ CONFIGURE_ARGS+= --program-prefix=g 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 @@ do-patch: < ${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 --git a/devel/patch/PLIST b/devel/patch/PLIST index 9e9dd1d3a4d..2f4b07d7031 100644 --- a/devel/patch/PLIST +++ b/devel/patch/PLIST @@ -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 |