blob: 3f1002fff97dcfe9609fc25726e4a20dbca10a32 (
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
33
|
# $NetBSD: Makefile,v 1.7 2013/02/06 19:30:58 jperkin Exp $
DISTNAME= knock-0.5
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.zeroflux.org/proj/knock/files/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.zeroflux.org/projects/knock/
COMMENT= Port knocking server
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
BUILD_DEFS+= VARBASE
EGDIR= ${PREFIX}/share/examples/knock
CONF_FILES= ${EGDIR}/knockd.conf ${PKG_SYSCONFDIR}/knockd.conf
INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 ${EGDIR}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_MESSAGE.paths= Fixing absolute paths.
SUBST_FILES.paths= src/knockd.c
SUBST_SED.paths= -e 's,"/etc,"${PKG_SYSCONFDIR},g'
SUBST_SED.paths+= -e 's,"/var,"${VARBASE},g'
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|