diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-06-01 16:43:14 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-06-01 16:43:14 +0000 |
commit | e3dc653afca58948c68a1622aaf519711e1642db (patch) | |
tree | 4edaa9c20edc8859049f7e7e04d5319fa6dd1113 /archivers/gtar-base | |
parent | af1ab19dd3a2febeaed8c2ce576046f07ead1d7b (diff) | |
download | pkgsrc-e3dc653afca58948c68a1622aaf519711e1642db.tar.gz |
Add gnu/man/man1/tar.1
++pkgrevision
Diffstat (limited to 'archivers/gtar-base')
-rw-r--r-- | archivers/gtar-base/Makefile | 17 | ||||
-rw-r--r-- | archivers/gtar-base/PLIST | 3 |
2 files changed, 12 insertions, 8 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index 25cbf769555..4c15443f844 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.74 2012/05/29 22:52:04 cheusov Exp $ +# $NetBSD: Makefile,v 1.75 2012/06/01 16:43:14 cheusov Exp $ DISTNAME= tar-1.26 PKGNAME= ${DISTNAME:S/tar/gtar-base/} -PKGREVISION= 1 +PKGREVISION= 2 SVR4_PKGNAME= gtarb CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU:=tar/} @@ -23,7 +23,7 @@ USE_PKGLOCALEDIR= yes USE_TOOLS+= msgfmt GNU_CONFIGURE= yes -INSTALLATION_DIRS= ${PKGMANDIR}/man1 gnu/bin gnu/libexec +INSTALLATION_DIRS= ${PKGMANDIR}/man1 gnu/bin gnu/libexec gnu/man/man1 .include "../../mk/bsd.prefs.mk" @@ -48,13 +48,16 @@ PLIST.rmt= yes CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes .endif +SYMLINKS = bin/gtar gnu/bin/tar \ + man/man1/gtar.1 gnu/man/man1/tar.1 \ + libexec/grmt gnu/libexec/rmt + post-install: ${INSTALL_MAN} ${FILESDIR}/gtar.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtar.1 - ${LN} -sf ../../bin/gtar ${DESTDIR}${PREFIX}/gnu/bin/tar - if ${TEST} -n ${PLIST.rmt:Q}; then \ - ${LN} -sf ../../libexec/grmt ${DESTDIR}${PREFIX}/gnu/libexec/rmt; \ - fi +.for o n in ${SYMLINKS} + ${LN} -sf ${PREFIX}/${o} ${DESTDIR}${PREFIX}/${n} +.endfor .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/gtar-base/PLIST b/archivers/gtar-base/PLIST index 27e763034df..25c7777ddd7 100644 --- a/archivers/gtar-base/PLIST +++ b/archivers/gtar-base/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.15 2012/05/29 22:52:04 cheusov Exp $ +@comment $NetBSD: PLIST,v 1.16 2012/06/01 16:43:14 cheusov Exp $ bin/gtar gnu/bin/tar +gnu/man/man1/tar.1 ${PLIST.rmt}gnu/libexec/rmt ${PLIST.rmt}libexec/grmt man/man1/gtar.1 |