741aecb607
and replace with appropriate references to PKGINFODIR instead. * Properly account for split info files during installation. * Move info file listings directly into the package PLISTs. This fixes info-file-related PLIST problems.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2006/03/20 18:15:39 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= wdiff-0.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=wdiff/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/wdiff/wdiff.html
|
|
COMMENT= Word-by-word diff
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_HAS_INFODIR= no
|
|
CONFIGURE_HAS_MANDIR= no
|
|
|
|
USE_TOOLS+= makeinfo
|
|
INFO_FILES= # PLIST
|
|
INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/wdiff
|
|
|
|
# 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
|
|
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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|