openbsd-ports/news/nn/Makefile
2022-03-11 19:48:55 +00:00

30 lines
686 B
Makefile

COMMENT = menu-based Usenet newsreader
DISTNAME = nn-6.7.3
REVISION = 6
CATEGORIES = news
HOMEPAGE = http://www.nndev.org
# 4 point NN License a la BSD but with GPL Source Restriction and Freeware
# Requirement
PERMIT_PACKAGE = Yes
WANTLIB += c curses
MASTER_SITES = ftp://ftp.nndev.org/pub/nn-6.7/ \
https://distfiles.sigtrap.nl/
EXTRACT_SUFX = .tar.Z
USE_GROFF = Yes
NO_TEST = Yes
MAKE_ENV = CC="${CC}"
pre-configure:
${SUBST_DATA} ${FILESDIR}/config.h ${WRKSRC}/config.h
cp ${FILESDIR}/[ms]-openbsd.h ${WRKSRC}/conf/
do-install:
perl -pi.bak -e 's:${TRUEPREFIX}:${PREFIX}:g' ${WRKSRC}/inst
cd ${WRKSRC} && ./inst n
.include <bsd.port.mk>