openbsd-ports/editors/hnb/Makefile
jasper 38ef4736e9 - fix potential 64-bit issues by including a missing header
- honor CFLAGS
- regen PLIST while here
2009-01-23 16:13:50 +00:00

38 lines
792 B
Makefile

# $OpenBSD: Makefile,v 1.10 2009/01/23 16:13:50 jasper Exp $
COMMENT= hierarchical notebook
DISTNAME= hnb-1.9.17
PKGNAME= ${DISTNAME}p0
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
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>