blob: f2e3ced0baa16967e6c36f7d4366390cec8ae967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $NetBSD: options.mk,v 1.1 2020/11/18 15:18:39 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-ipc
PKG_SUPPORTED_OPTIONS+= perl
.include "../../mk/bsd.options.mk"
PLIST_VARS+= perl
.PHONY: do-install-ipcperl
.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
USE_TOOLS+= perl:run
DJB_CONFIG_CMDS+= ${ECHO} ${PERL5} > conf-perl; \
${ECHO} it-ipcperl >> it=d;
PLIST.perl= yes
do-install-ipcperl:
${INSTALL_PROGRAM} ${WRKSRC}/command/ipcperl ${DESTDIR}${PREFIX}/bin
.else
do-install-ipcperl:
${DO_NADA}
.endif
|