ajacoutot 62ee2e171b The rc.subr system takes benefits of korn shell features; so explicitely
call /bin/ksh like it is done in the template.
2021-11-09 07:39:08 +00:00

32 lines
592 B
Makefile

# $OpenBSD: Makefile,v 1.28 2021/11/09 07:39:08 ajacoutot Exp $
COMMENT= hotplugd(8) automounter (Toad Opens All Devices)
GH_ACCOUNT= ajacoutot
GH_PROJECT= toad
GH_TAGNAME= v1.13
REVISION= 0
CATEGORIES= sysutils
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# ISC
PERMIT_PACKAGE= Yes
WANTLIB += c util
RUN_DEPENDS= net/p5-Net-DBus \
sysutils/consolekit
MAKE_FLAGS= PREFIX=${TRUEPREFIX} \
MANDIR=${TRUEPREFIX}/man/man
NO_TEST= Yes
pre-configure:
sed -i -e "s,/usr/local,${LOCALBASE},g" -e "s,/etc,${SYSCONFDIR},g" \
${WRKSRC}/toad.8
.include <bsd.port.mk>