2001-07-06 18:19:07 +02:00
|
|
|
# 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
|
2003-04-09 01:25:26 +02:00
|
|
|
PORTVERSION= 1.9.17
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2001-07-06 18:19:07 +02:00
|
|
|
CATEGORIES= editors
|
2009-03-24 20:28:20 +01:00
|
|
|
MASTER_SITES= SF
|
2001-07-06 18:19:07 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Hierarchical NoteBook a data organizer
|
2001-07-06 18:19:07 +02:00
|
|
|
|
2003-02-14 21:41:08 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET=
|
2009-03-24 20:28:20 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2001-07-06 18:19:07 +02:00
|
|
|
|
|
|
|
MAN1= hnb.1
|
|
|
|
|
2003-04-09 01:25:26 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile
|
|
|
|
|
2003-02-14 21:41:08 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
|
2003-04-09 01:25:26 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for FILE in Documentation.hnb Documentation.html hnbrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2003-02-14 21:41:08 +01:00
|
|
|
|
2001-07-06 18:19:07 +02:00
|
|
|
.include <bsd.port.mk>
|