openbsd-ports/editors/hnb/Makefile
2010-10-23 18:26:19 +00:00

40 lines
796 B
Makefile

# $OpenBSD: Makefile,v 1.12 2010/10/23 18:26:20 sthen Exp $
COMMENT= hierarchical notebook
DISTNAME= hnb-1.9.17
REVISION= 0
CATEGORIES= editors
HOMEPAGE= http://hnb.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hnb/}
USE_GMAKE= Yes
USE_GROFF= Yes
WRKDIST= ${WRKDIR}/${DISTNAME}/src
ALL_TARGET=
DOCS= Documentation.html hnbrc
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hnb
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${PREFIX}/man/man1
cd ${WRKSRC}/../doc && \
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/hnb
.include <bsd.port.mk>