summaryrefslogtreecommitdiff
path: root/editors/ed
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-06-02 07:10:57 +0000
committercheusov <cheusov@pkgsrc.org>2012-06-02 07:10:57 +0000
commit190950c59f6f07d180522c086c3addd6b6ea2a22 (patch)
treeb7308f5c7c314a1cd67fb7c894f2e28fb6ee0539 /editors/ed
parentfb06b9e127158ad95558fa2a3df61fc87aea4a9e (diff)
downloadpkgsrc-190950c59f6f07d180522c086c3addd6b6ea2a22.tar.gz
Add symlink to gnu/man/man1/ed.1
++pkgrevision
Diffstat (limited to 'editors/ed')
-rw-r--r--editors/ed/Makefile12
-rw-r--r--editors/ed/PLIST4
2 files changed, 10 insertions, 6 deletions
diff --git a/editors/ed/Makefile b/editors/ed/Makefile
index 29be873df55..eaa64c5b5ab 100644
--- a/editors/ed/Makefile
+++ b/editors/ed/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2012/05/29 21:51:15 cheusov Exp $
+# $NetBSD: Makefile,v 1.14 2012/06/02 07:10:57 cheusov Exp $
DISTNAME= ed-1.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=ed/}
EXTRACT_SUFX= .tar.bz2
@@ -21,10 +21,12 @@ CONFIGURE_ARGS+= --program-prefix=g
INSTALL_TARGET= install install-man
-INSTALLATION_DIRS= gnu/bin
+AUTO_MKDIRS= yes
post-install:
- ln -s ../../bin/ged ${DESTDIR}${PREFIX}/gnu/bin/ed
- ln -s ../../bin/gred ${DESTDIR}${PREFIX}/gnu/bin/red
+.for f in ed red
+ ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
+.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/ed/PLIST b/editors/ed/PLIST
index 0974014411a..6595c5ab9e6 100644
--- a/editors/ed/PLIST
+++ b/editors/ed/PLIST
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2012/05/29 21:51:15 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.5 2012/06/02 07:10:57 cheusov Exp $
bin/ged
bin/gred
gnu/bin/ed
gnu/bin/red
+gnu/man/man1/ed.1
+gnu/man/man1/red.1
info/ged.info
man/man1/ged.1
man/man1/gred.1