1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/news/nget/Makefile
Mark Linimon efc62e6bcd Adjust USES to fix builds on gcc-based architectures.
While here, pet portlint.

Tested for no regression on amd64.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 19:03:03 +00:00

43 lines
1.1 KiB
Makefile

# Created by: George Sorsby <george@crackpipe.net>
# $FreeBSD$
PORTNAME= nget
PORTVERSION= 0.27.1
DISTVERSIONSUFFIX= +uulib
PORTREVISION= 4
CATEGORIES= news
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Auto-resuming command line nntp file grabber
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gmake
GNU_CONFIGURE= yes
# Skip check if the C++ compiler supports exceptions. We know both
# Clang and GCC do. The configure test fails on FreeBSD 10.3 because
# it passes -fhandle-exceptions to the compiler and Clang 3.4.1 does
# not know to ignore it yet.
CONFIGURE_ARGS= my_cv_exceptions=1
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/nget-${PORTVERSION}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nget ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ngetlite ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/nget.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/ngetlite.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README FAQ
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>