1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/news/newsfetch/Makefile
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

29 lines
632 B
Makefile

# Created by: Jun-ichiro itojun Itoh <itojun@itojun.org>
# $FreeBSD$
PORTNAME= newsfetch
PORTVERSION= 1.21
PORTREVISION= 2
CATEGORIES= news
MASTER_SITES= SUNSITE/system/news/readers
MAINTAINER= ports@FreeBSD.org
COMMENT= Download news articles from NNTP server
MAKE_ENV= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man/man"
USES= dos2unix uidfix
DOS2UNIX_GLOB= *.c
CFLAGS+= -Wno-return-type
PLIST_FILES= bin/newsfetch \
man/man1/newsfetch.1.gz
do-configure:
(cd ${WRKSRC} && ( \
${ECHO_CMD} "PROG= newsfetch"; \
${ECHO_CMD} "SRCS=" *.c; \
${ECHO_CMD} ".include <bsd.prog.mk>"; \
) > Makefile)
.include <bsd.port.mk>