aboutsummaryrefslogtreecommitdiff
path: root/editors/hnb
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-30 18:04:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-30 18:04:27 +0000
commit9b7bbbe07dd6e72dca4b95dbd05c8346962713f5 (patch)
tree64d0a029b255be166791e6c6641defadf12ca012 /editors/hnb
parent9c08a14ba33c803e189b61fd48df307578efb4fc (diff)
downloadports-9b7bbbe07dd6e72dca4b95dbd05c8346962713f5.tar.gz
ports-9b7bbbe07dd6e72dca4b95dbd05c8346962713f5.zip
Notes
Diffstat (limited to 'editors/hnb')
-rw-r--r--editors/hnb/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
index 713f6321883f..d7c844d279eb 100644
--- a/editors/hnb/Makefile
+++ b/editors/hnb/Makefile
@@ -10,23 +10,20 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Hierarchical NoteBook a data organizer
+ONLY_FOR_ARCHS= i386
+
USES= gmake
ALL_TARGET= # empty
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${ARCH} != "i386"
-BROKEN= segfaults on 64bit systems
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|; s|make|$${MAKE}|' \
${WRKSRC}/Makefile
@@ -35,11 +32,9 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in Documentation.hnb Documentation.html hnbrc
${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>