Makefile 838 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.16 2017/04/15 14:11:35 naddy Exp $
  2. COMMENT = menu-based Usenet newsreader
  3. DISTNAME = nn-6.7.3
  4. REVISION = 3
  5. CATEGORIES = news
  6. HOMEPAGE = http://www.nndev.org
  7. MAINTAINER = Aaron W. Hsu <arcfide@sacrideo.us>
  8. # 4 point NN License a la BSD but with GPL Source Restriction and Freeware
  9. # Requirement
  10. PERMIT_PACKAGE_CDROM = CDs not sold at cost
  11. PERMIT_PACKAGE_FTP = Yes
  12. WANTLIB = c termlib
  13. MASTER_SITES = ftp://ftp.nndev.org/pub/nn-6.7/ \
  14. https://distfiles.nl/
  15. EXTRACT_SUFX = .tar.Z
  16. USE_GROFF = Yes
  17. NO_TEST = Yes
  18. MAKE_ENV = CC="${CC}"
  19. pre-configure:
  20. ${SUBST_DATA} ${FILESDIR}/config.h ${WRKSRC}/config.h
  21. cp ${FILESDIR}/[ms]-openbsd.h ${WRKSRC}/conf/
  22. do-install:
  23. perl -pi.bak -e 's:${TRUEPREFIX}:${PREFIX}:g' ${WRKSRC}/inst
  24. cd ${WRKSRC} && ./inst n
  25. .include <bsd.port.mk>