summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-06-02 08:05:59 +0000
committercheusov <cheusov>2012-06-02 08:05:59 +0000
commitfcbb1f6a38b87bca194951a02ac279bbd0b40730 (patch)
tree4c990494d8a48faf1a72c29dee844be40e76f144 /devel
parentaf446ca8c583b0d758ab3759e91766e3bfcd8419 (diff)
downloadpkgsrc-fcbb1f6a38b87bca194951a02ac279bbd0b40730.tar.gz
Add symlink gnu/man/man1/indent.1
++pkgrevision
Diffstat (limited to 'devel')
-rw-r--r--devel/gindent/Makefile11
-rw-r--r--devel/gindent/PLIST3
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index f76f7104c81..1e61b23dd9d 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.49 2012/05/29 21:07:33 cheusov Exp $
+# $NetBSD: Makefile,v 1.50 2012/06/02 08:05:59 cheusov Exp $
#
DISTNAME= indent-2.2.9
PKGNAME= g${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=indent/}
@@ -21,11 +21,12 @@ USE_PKGLOCALEDIR= yes
INFO_FILES= yes
MAKE_JOBS_SAFE= no
-INSTALLATION_DIRS+= gnu/bin
+AUTO_MKDIRS= yes
post-install:
- ln -s ${PREFIX}/bin/gindent ${DESTDIR}${PREFIX}/gnu/bin/indent
- ln -s ${PREFIX}/bin/gtexinfo2man ${DESTDIR}${PREFIX}/gnu/bin/texinfo2man
+ ${LN} -sf ${PREFIX}/bin/gindent ${DESTDIR}${PREFIX}/gnu/bin/indent
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gindent.1 ${DESTDIR}${PREFIX}/gnu/man/man1/indent.1
+ ${LN} -sf ${PREFIX}/bin/gtexinfo2man ${DESTDIR}${PREFIX}/gnu/bin/texinfo2man
CONFIGURE_ARGS+= --program-prefix=g
diff --git a/devel/gindent/PLIST b/devel/gindent/PLIST
index fbf6e053ed6..a2ba7b550aa 100644
--- a/devel/gindent/PLIST
+++ b/devel/gindent/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.11 2012/05/29 21:07:33 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.12 2012/06/02 08:05:59 cheusov Exp $
bin/gindent
bin/gtexinfo2man
gnu/bin/indent
gnu/bin/texinfo2man
+gnu/man/man1/indent.1
info/indent.info
man/man1/gindent.1
share/doc/indent/indent.html