svn commit: r355886 - head/editors/hnb
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri May 30 18:04:28 UTC 2014
Author: amdmi3
Date: Fri May 30 18:04:27 2014
New Revision: 355886
URL: http://svnweb.freebsd.org/changeset/ports/355886
QAT: https://qat.redports.org/buildarchive/r355886/
Log:
- Convert conditinal BROKEN to ONLY_FOR_ARCHS
- Simplify DOCS installation
Modified:
head/editors/hnb/Makefile
Modified: head/editors/hnb/Makefile
==============================================================================
--- head/editors/hnb/Makefile Fri May 30 18:02:03 2014 (r355885)
+++ head/editors/hnb/Makefile Fri May 30 18:04:27 2014 (r355886)
@@ -10,23 +10,20 @@ MASTER_SITES= SF
MAINTAINER= amdmi3 at 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>
More information about the svn-ports-all
mailing list