summaryrefslogtreecommitdiff
path: root/net/ucspi-ipc/Makefile
blob: 008ac06443ab25d3764fbc0777a7d438539f362f (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
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.4 2022/06/28 11:35:21 wiz Exp $

DISTNAME=		ucspi-ipc-0.67
PKGREVISION=		2
CATEGORIES=		net sysutils
MASTER_SITES=		${HOMEPAGE}

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://www.superscript.com/ucspi-ipc/
COMMENT=		UCSPI local-domain client-server command-line tools

WRKSRC=			${WRKDIR}/host/superscript.com/net/${DISTNAME}
DJB_SLASHPACKAGE=	yes

BUILD_DEFS+=		VARBASE

DJB_CONFIG_CMDS=	\
	${ECHO} ${VARBASE}/service/ipcexec > conf-ipcexec;	\
	${ECHO} it-base > it=d;

INSTALLATION_DIRS=	bin

.include "options.mk"

do-test:
	cd ${WRKSRC}; \
		./package/rts

do-install: do-install-ipcperl
	for f in ipccat ipcconnect ipcdo ipcrun; do \
	    ${INSTALL_SCRIPT} ${WRKSRC}/command/$$f ${DESTDIR}${PREFIX}/bin; \
	done
	for f in ipcclient ipccommand ipcconnect-io ipcexec ipcexec-config \
		ipcexecrules ipcexecrulescheck \
		ipcrules ipcrulescheck ipcserver; do \
	    ${INSTALL_PROGRAM} ${WRKSRC}/command/$$f ${DESTDIR}${PREFIX}/bin; \
	done

.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"