1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/news/nn/Makefile
Mark Linimon 553b088a05 Mark ports that are BROKEN due to sbrk on aarch64, also BROKEN on riscv64
where appropriate.

While here, pet portlint (Makevar order; whitespace).

Approved by:	portmgr (tier-2 blanket)
2021-01-01 23:51:48 +00:00

37 lines
860 B
Makefile

# Created by: adam
# $FreeBSD$
PORTNAME= nn
PORTVERSION= 6.7.3
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.nndev.org/pub/nn-${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Menu based USENET newsreader
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
SUB_FILES= pkg-message
USES= tar:Z
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf -fcommon" LDFLAGS="${LDFLAGS} -s"
pre-patch:
@${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed
pre-build:
@${SED} 's#SUB_PREFIX#${PREFIX}#; s#SUB_MANPREFIX#${MANPREFIX}#' \
${WRKSRC}/config.h.unparsed > ${WRKSRC}/config.h
post-build:
@${REINPLACE_CMD} 's#${PREFIX}#$${DESTDIR}&#' ${WRKSRC}/inst
post-install:
${INSTALL_DATA} ${FILESDIR}/nntp_domain.dist \
${FILESDIR}/nntp_server.dist \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>