1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/editors/hnb/Makefile
Dmitry Marakasov a1538427ca - Add note on 64bit incompatibility
Feature safe:	yes
2011-11-30 02:20:06 +00:00

45 lines
982 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
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Hierarchical NoteBook a data organizer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE= yes
ALL_TARGET=
MAKE_JOBS_UNSAFE= yes
MAN1= hnb.1
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= segfaults on 64bit systems
.endif
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.post.mk>