summaryrefslogtreecommitdiff
path: root/net/autonet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/autonet/Makefile')
-rw-r--r--net/autonet/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/autonet/Makefile b/net/autonet/Makefile
index a4ecac1984e..67a039c85c3 100644
--- a/net/autonet/Makefile
+++ b/net/autonet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/10/23 17:18:10 asau Exp $
+# $NetBSD: Makefile,v 1.9 2014/05/06 14:54:51 jperkin Exp $
DISTNAME= autonet-0.22
CATEGORIES= net
@@ -13,4 +13,14 @@ ONLY_FOR_PLATFORM= NetBSD-*-*
USE_LANGUAGES= # empty
NO_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+MAKE_ENV+= INIT_SYSTEM="${INIT_SYSTEM}"
+
+PLIST_VARS+= rcd
+
+.if ${INIT_SYSTEM} == "rc.d"
+PLIST.rcd= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"