aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2014-08-02 05:03:22 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2014-08-02 05:03:22 +0000
commita4e90bb4a0a2a913890abd8d5d88453e9c53c821 (patch)
tree30ca8f99e3446d11ee410681ba5363c1fa03389c /net
parentf6b494b8b879adc78699f879f4f5fbc9f8c28063 (diff)
downloadports-a4e90bb4a0a2a913890abd8d5d88453e9c53c821.tar.gz
ports-a4e90bb4a0a2a913890abd8d5d88453e9c53c821.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/netatalk3/Makefile4
-rw-r--r--net/netatalk3/pkg-plist9
2 files changed, 9 insertions, 4 deletions
diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile
index 7d17cf512880..a64e5aabf29e 100644
--- a/net/netatalk3/Makefile
+++ b/net/netatalk3/Makefile
@@ -150,6 +150,10 @@ post-patch:
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/configure
+post-stage:
+ @${RM} -f ${STAGEDIR}${PREFIX}/etc/afp.conf \
+ ${STAGEDIR}${PREFIX}/etc/extmap.conf
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \
${STAGEDIR}${PREFIX}/bin/macusers
diff --git a/net/netatalk3/pkg-plist b/net/netatalk3/pkg-plist
index e8bde7366db4..ba05c4681be3 100644
--- a/net/netatalk3/pkg-plist
+++ b/net/netatalk3/pkg-plist
@@ -88,7 +88,8 @@ sbin/netatalk
share/aclocal/netatalk.m4
@dirrm include/atalk
@dirrm libexec/netatalk-uams
-@unexec rm -f /var/netatalk/CNID/README
-@unexec rm -f /var/netatalk/README
-@unexec rmdir /var/netatalk/CNID 2>/dev/null || true
-@unexec rmdir /var/netatalk 2>/dev/null || true
+@cwd /var
+netatalk/CNID/README
+netatalk/README
+@dirrmtry netatalk/CNID
+@dirrmtry netatalk