mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
3fb23ea7d9
PR: ports/50734 Submitted by: obraun
39 lines
917 B
Makefile
39 lines
917 B
Makefile
# New ports collection makefile for: hnb
|
|
# Date created: Fri Jul 6 05:37:14 EDT 2001
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hnb
|
|
PORTVERSION= 1.9.17
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= pat@FreeBSD.org
|
|
COMMENT= Hierarchical NoteBook a data organizer
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
ALL_TARGET=
|
|
|
|
MAN1= hnb.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for FILE in Documentation.hnb Documentation.html hnbrc
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|