openbsd-ports/security/foremost/Makefile

35 lines
734 B
Makefile

# $OpenBSD: Makefile,v 1.6 2019/07/12 20:49:02 sthen Exp $
COMMENT = forensic data recovery program
DISTNAME = foremost-1.5.7
REVISION = 2
CATEGORIES = security
HOMEPAGE = http://foremost.sourceforge.net/
# not copyrighted; see COPYRIGHT in main.h
PERMIT_PACKAGE = Yes
MASTER_SITES = http://foremost.sourceforge.net/pkg/
WANTLIB += c
MAKE_FLAGS= RAW_CC="${CC}" \
CFLAGS="${CFLAGS}"
FAKE_FLAGS = BIN=${WRKINST}${PREFIX}/bin \
MAN=${WRKINST}${PREFIX}/man/man8 \
CONF=${WRKINST}${PREFIX}/share/examples/ \
MAN_PAGES=foremost.8
post-extract:
cd ${WRKSRC} && gunzip foremost.8.gz
pre-configure:
perl -pi -e 's,/usr/local/etc,${SYSCONFDIR},' ${WRKSRC}/config.c
NO_TEST = Yes
.include <bsd.port.mk>