aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-01-09 04:01:37 +0800
committermarcus <marcus@FreeBSD.org>2006-01-09 04:01:37 +0800
commita40c037846ba2307ea66222125bb4bfc4dbd4ee9 (patch)
tree19f427628bff23dfc19b2cf380a9b35b84dd5246 /net/netatalk
parent4faad78a3f00990165730306bf23ebb28c8137ab (diff)
downloadfreebsd-ports-gnome-a40c037846ba2307ea66222125bb4bfc4dbd4ee9.tar.gz
freebsd-ports-gnome-a40c037846ba2307ea66222125bb4bfc4dbd4ee9.tar.zst
freebsd-ports-gnome-a40c037846ba2307ea66222125bb4bfc4dbd4ee9.zip
* Update rc.d script for the New World Order, and require slpd if desired
* Use %%DATADIR%% in pkg-plist
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/Makefile7
-rw-r--r--net/netatalk/files/netatalk.sh8
-rw-r--r--net/netatalk/pkg-plist2
3 files changed, 12 insertions, 5 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 556ddee20519..5229203ae07b 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netatalk
PORTVERSION= 2.0.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -69,6 +70,12 @@ MAN8= afpd.8 atalkd.8 cnid_dbd.8 cnid_metad.8 papd.8 papstatus.8 \
CONFLICTS= bigloo-2.* cap-6.0.* tct-1.* netatalk-1*
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.if defined(WITH_SRVLOC)
+RC_SCRIPTS_SUB+= SRVLOC="slpd"
+.else
+RC_SCRIPTS_SUB+= SRVLOC=""
+.endif
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Netatalk has the following tunable options:"
diff --git a/net/netatalk/files/netatalk.sh b/net/netatalk/files/netatalk.sh
index 5fc30913f21f..34e27cb64a93 100644
--- a/net/netatalk/files/netatalk.sh
+++ b/net/netatalk/files/netatalk.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/netatalk/files/Attic/netatalk.sh,v 1.2 2004-10-12 02:09:27 marcus Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/netatalk/files/Attic/netatalk.sh,v 1.3 2006-01-08 20:01:37 marcus Exp $
#
-# PROVIDE: netatalk
-# REQUIRE: DAEMON
-# KEYWORD: FreeBSD
+# PROVIDE: atalkd papd afpd timelord
+# REQUIRE: NETWORKING SERVERS named %%SRVLOC%%
+# KEYWORD: shutdown
#
# AppleTalk daemons. Make sure not to start atalkd in the background:
# its data structures must have time to stablize before running the
diff --git a/net/netatalk/pkg-plist b/net/netatalk/pkg-plist
index 29af0ee86f28..2b380c594336 100644
--- a/net/netatalk/pkg-plist
+++ b/net/netatalk/pkg-plist
@@ -126,7 +126,7 @@ sbin/cnid_metad
sbin/papd
%%TIMELORD%%sbin/timelord
share/aclocal/netatalk.m4
-share/netatalk/pagecount.ps
+%%DATADIR%%/pagecount.ps
@dirrm share/netatalk
@dirrm include/netatalk
@dirrm include/atalk