2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Patrick Li <pat@databits.net>
|
2001-07-06 18:19:07 +02:00
|
|
|
# $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
|
|
|
|
2013-10-01 07:45:56 +02:00
|
|
|
USES= gmake
|
|
|
|
ALL_TARGET= # empty
|
2009-03-24 20:28:20 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2001-07-06 18:19:07 +02:00
|
|
|
|
2013-10-01 07:45:56 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
PORTDOCS= *
|
2001-07-06 18:19:07 +02:00
|
|
|
|
2013-06-18 13:46:51 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2011-11-30 03:20:06 +01:00
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= segfaults on 64bit systems
|
|
|
|
.endif
|
|
|
|
|
2003-04-09 01:25:26 +02:00
|
|
|
post-patch:
|
2013-10-01 07:45:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|; s|make|$${MAKE}|' \
|
|
|
|
${WRKSRC}/Makefile
|
2003-04-09 01:25:26 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile
|
|
|
|
|
2003-02-14 21:41:08 +01:00
|
|
|
do-install:
|
2013-10-01 07:45:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2013-06-18 13:46:51 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-01 07:45:56 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2003-04-09 01:25:26 +02:00
|
|
|
.for FILE in Documentation.hnb Documentation.html hnbrc
|
2013-10-01 07:45:56 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${STAGEDIR}${DOCSDIR}
|
2003-04-09 01:25:26 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
2003-02-14 21:41:08 +01:00
|
|
|
|
2013-06-18 13:46:51 +02:00
|
|
|
.include <bsd.port.mk>
|