summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-30 18:04:27 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-30 18:04:27 +0000
commit27627f6583ca1b2a4f3c82333569602812644ef8 (patch)
tree64d0a029b255be166791e6c6641defadf12ca012
parentabb6223546abe0d0046844da79f7bd899ffdd3b9 (diff)
downloadFreeBSD-ports-27627f6583ca1b2a4f3c82333569602812644ef8.zip
FreeBSD-ports-27627f6583ca1b2a4f3c82333569602812644ef8.tar.gz
- Convert conditinal BROKEN to ONLY_FOR_ARCHS
- Simplify DOCS installation
-rw-r--r--editors/hnb/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
index 713f632..d7c844d 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>
OpenPOWER on IntegriCloud