openbsd-ports/editors/hnb/Makefile

34 lines
647 B
Makefile

# $OpenBSD: Makefile,v 1.17 2019/07/12 21:02:19 sthen Exp $
COMMENT= hierarchical notebook
DISTNAME= hnb-1.9.17
REVISION= 2
CATEGORIES= editors
HOMEPAGE= http://hnb.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB= c curses
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hnb/}
USE_GMAKE= 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>