freebsd-ports/net/wmping/Makefile
Robert Clausecker 14df860062 net/wmping: fix the port's build against -fno-common
Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).

While here, define LICENSE, add missing USE_XORG components, and fix
-Wformat-security warnings, adding newline to printed error messages
for clarity and better look.

PR:	267587
2022-11-07 08:01:32 +00:00

31 lines
741 B
Makefile

PORTNAME= wmping
PORTVERSION= 0.2.1
PORTREVISION= 2
CATEGORIES= net windowmaker
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= serg@cad.kiev.ua
COMMENT= Windowmaker dock app to display network hosts status
WWW= https://sourceforge.net/projects/wmping/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake xorg
USE_XORG= x11 xext xpm
GNU_CONFIGURE= yes
PORTDOCS= BUGS CHANGES README TODO
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmping ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmping.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>