548a1c804b
- While here, make COMMENT and pkg-descr more descriptive PR: 241871 Submitted by: scf
28 lines
658 B
Makefile
28 lines
658 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
|
|
|
|
USES= tar:Z
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf" 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
|
|
|
|
.include <bsd.port.mk>
|