32 lines
748 B
Makefile
32 lines
748 B
Makefile
# $OpenBSD: Makefile,v 1.20 2020/01/26 11:14:33 jasper Exp $
|
|
|
|
COMMENT = menu-based Usenet newsreader
|
|
DISTNAME = nn-6.7.3
|
|
REVISION = 5
|
|
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>
|