summaryrefslogtreecommitdiffstats
path: root/net/netatalk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-05 18:08:55 +0000
committermarcus <marcus@FreeBSD.org>2002-10-05 18:08:55 +0000
commitcdbe1ffde45ada271b3efd78b76d630b95d7afc3 (patch)
treeddd0499ceebb900b09a0fd270b81d413de58824d /net/netatalk
parentd1cbca118df554cb60b2c330856adbe1820ae3d6 (diff)
downloadFreeBSD-ports-cdbe1ffde45ada271b3efd78b76d630b95d7afc3.zip
FreeBSD-ports-cdbe1ffde45ada271b3efd78b76d630b95d7afc3.tar.gz
Really add optional timelord support. Somehow those diffs got lost on
my previous commit.
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/Makefile6
-rw-r--r--net/netatalk/pkg-plist1
2 files changed, 7 insertions, 0 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 5a63eaa..bcc70c7 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -58,6 +58,12 @@ PLIST_SUB+= NETATALKCNID=""
CONFIGURE_ARGS+= --with-did=last
PLIST_SUB+= NETATALKCNID="@comment "
.endif
+.if defined (WITH_TIMELORD)
+CONFIGURE_ARGS+= --enable-timelord
+PLIST_SUB+= TIMELORD=""
+.else
+PLIST_SUB+= TIMELORD="@comment "
+.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
USE_GMAKE= yes
diff --git a/net/netatalk/pkg-plist b/net/netatalk/pkg-plist
index faa5aa2..8b84a99 100644
--- a/net/netatalk/pkg-plist
+++ b/net/netatalk/pkg-plist
@@ -65,6 +65,7 @@ sbin/tfwmpap
sbin/tfwmpaprev
sbin/tfwpap
sbin/tfwpaprev
+%%TIMELORD%%sbin/timelord
@unexec if cmp -s %D/etc/AppleVolumes.default %D/etc/AppleVolumes.default.dist; then rm -f %D/etc/AppleVolumes.default; fi
etc/AppleVolumes.default.dist
@exec [ ! -f %B/AppleVolumes.default ] && cp %B/%f %B/AppleVolumes.default
OpenPOWER on IntegriCloud