Files
espie a34bba2839 MASTER_SITES -> SITES
catch one MASTER_SITES0 that wasn't actually in use
2023-09-27 14:17:59 +00:00

28 lines
528 B
Makefile

COMMENT = inetd program to blackhole IPs connecting to it
V = 1.1.2
DISTNAME = iblock-${V}
CATEGORIES = net
HOMEPAGE = https://tildegit.org/solene/iblock/
# BSD 2-clause
PERMIT_PACKAGE = Yes
# uses pledge()
# uses unveil()
WANTLIB += c
SITES = https://tildegit.org/solene/iblock/archive/
DISTFILES = iblock-{}${V}${EXTRACT_SUFX}
WRKSRC = ${WRKDIR}/iblock
MAKE_FLAGS = CC="${CC}"
# XXX: until it is updated to respect CFLAGS
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o iblock main.c
.include <bsd.port.mk>