pkgsrc/editors/hnb/Makefile
jlam 80c7fb273d Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 18:25:52 +00:00

29 lines
715 B
Makefile

# $NetBSD: Makefile,v 1.22 2008/03/03 18:25:52 jlam Exp $
#
DISTNAME= hnb-1.9.17
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hnb/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hnb.sourceforge.net/
COMMENT= Hierarchical data organizer
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-U]-*
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
BUILD_DIRS= ${WRKSRC}/src
BUILD_TARGET= hnb
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/hnb ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/hnb.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"