summaryrefslogtreecommitdiff
path: root/misc/mbuffer/Makefile
blob: 3ce27763ae5acc6b9ddc4a3de66b34d074f85e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.6 2020/01/18 21:50:02 jperkin Exp $

DISTNAME=	mbuffer-20180625
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://www.maier-komor.de/software/mbuffer/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.maier-komor.de/mbuffer.html
COMMENT=	Tool for buffering data streams
LICENSE=	gnu-gpl-v3

BROKEN_ON_PLATFORM=	NetBSD-*-*	# Needs sysctl bits

GNU_CONFIGURE=	yes

USE_LANGUAGES=	c c99

SUBST_CLASSES+=		etc
SUBST_STAGE.etc=	pre-configure
SUBST_FILES.etc=	mbuffer.rc
SUBST_MESSAGE.etc=	Fix default sysconfdir
SUBST_VARS.etc+=	PKG_SYSCONFDIR

INSTALL_MAKE_FLAGS+=	etcdir=${PREFIX}/share/examples/mbuffer
INSTALLATION_DIRS+=	share/examples/mbuffer
CONF_FILES+=		share/examples/mbuffer/mbuffer.rc \
			${PKG_SYSCONFDIR}/mbuffer.rc

.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"