pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/wdiff Also install man page and README.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d93683e11495
branches: trunk
changeset: 500457:d93683e11495
user: reed <reed%pkgsrc.org@localhost>
date: Sat Oct 08 19:06:25 2005 +0000
description:
Also install man page and README.
Update PKGREVISION.
Add INSTALLATION_DIRS and do-install target instead of
using its own installer. It was broken for custom INFO_DIR
and for new PKGMANDIR. (It is a very old autoconf/automake
I assume).
Also, this uses -ltermcap. So if /usr/lib/libtermcap.so does
not exist, then use BUILDLINK_TRANSFORM to use ncurses instead
and include ncurses buildlink3.mk.
diffstat:
textproc/wdiff/Makefile | 18 +++++++++++++++++-
textproc/wdiff/PLIST | 5 ++++-
2 files changed, 21 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r 7523e61c21a3 -r d93683e11495 textproc/wdiff/Makefile
--- a/textproc/wdiff/Makefile Sat Oct 08 18:02:57 2005 +0000
+++ b/textproc/wdiff/Makefile Sat Oct 08 19:06:25 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2005/10/08 18:02:57 reed Exp $
+# $NetBSD: Makefile,v 1.11 2005/10/08 19:06:25 reed Exp $
#
DISTNAME= wdiff-0.5
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=wdiff/}
@@ -15,5 +16,20 @@
USE_MAKEINFO= yes
INFO_FILES= wdiff.info
+INSTALLATION_DIRS= bin ${INFO_DIR} ${PKGMANDIR}/man1 share/doc/wdiff
+CPPFLAGS+= -DHAVE_STRERROR
+
+# pkgsrc does not provide libtermcap, but ncurses does provide
+# libtermcap routines.
+.if !exists(/usr/lib/libtermcap.so)
+BUILDLINK_TRANSFORM+= l:termcap:ncurses
+. include "../../devel/ncurses/buildlink3.mk"
+.endif
+
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/wdiff.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_MAN} ${WRKSRC}/wdiff.info ${PREFIX}/${INFO_DIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wdiff/
+ ${INSTALL_PROGRAM} ${WRKSRC}/wdiff ${PREFIX}/bin/
.include "../../mk/bsd.pkg.mk"
diff -r 7523e61c21a3 -r d93683e11495 textproc/wdiff/PLIST
--- a/textproc/wdiff/PLIST Sat Oct 08 18:02:57 2005 +0000
+++ b/textproc/wdiff/PLIST Sat Oct 08 19:06:25 2005 +0000
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2004/03/11 14:13:58 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/10/08 19:06:25 reed Exp $
bin/wdiff
+man/man1/wdiff.1
+share/doc/wdiff/README
+@dirrm share/doc/wdiff
Home |
Main Index |
Thread Index |
Old Index