1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/news/newsfetch/Makefile
Christian Weisgerber b27c8e6924 news/newsfetch: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-16 16:29:30 +00:00

26 lines
574 B
Makefile

PORTNAME= newsfetch
PORTVERSION= 1.21
PORTREVISION= 3
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}/share/man/man"
USES= dos2unix uidfix
DOS2UNIX_GLOB= *.c
CFLAGS+= -Wno-return-type
PLIST_FILES= bin/newsfetch \
share/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>