2007-12-23 05:50:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2007/12/23 04:50:30 minskim Exp $
|
2000-03-12 10:28:29 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= wdiff-0.5
|
2007-12-23 05:50:30 +01:00
|
|
|
PKGREVISION= 2
|
2000-03-12 10:28:29 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=wdiff/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-03-12 10:28:29 +01:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/wdiff/wdiff.html
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= Word-by-word diff
|
2000-03-12 10:28:29 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-05-25 06:21:29 +02:00
|
|
|
CONFIGURE_HAS_INFODIR= no
|
2005-10-08 20:02:57 +02:00
|
|
|
CONFIGURE_HAS_MANDIR= no
|
2000-03-12 10:28:29 +01:00
|
|
|
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2006-03-20 19:15:37 +01:00
|
|
|
INFO_FILES= # PLIST
|
|
|
|
INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/wdiff
|
2005-10-08 21:06:25 +02:00
|
|
|
|
|
|
|
# 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:
|
2006-03-20 19:15:37 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/wdiff.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
cd ${WRKSRC}; for f in wdiff.info wdiff.info-[0-9]*; do \
|
|
|
|
${TEST} ! -f "$$f" || \
|
|
|
|
${INSTALL_MAN} "$$f" ${PREFIX}/${PKGINFODIR}; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wdiff
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wdiff ${PREFIX}/bin
|
2000-03-12 10:28:29 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|