Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 18:04:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355886 - head/editors/hnb
Message-ID:  <201405301804.s4UI4S0t095667@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301804.s4UI4S0t095667>