aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/fusefs-kmod/Makefile4
-rw-r--r--sysutils/fusefs-kmod/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/fusefs-kmod/Makefile b/sysutils/fusefs-kmod/Makefile
index 52907cdf7687..05b934aad0de 100644
--- a/sysutils/fusefs-kmod/Makefile
+++ b/sysutils/fusefs-kmod/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fusefs
DISTVERSION= 0.3.9-pre1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils kld
MASTER_SITES= http://fuse4bsd.creo.hu/downloads/ \
http://am-productions.biz/docs/
@@ -86,7 +86,7 @@ pre-install:
@${MKDIR} ${KMODDIR}
post-install:
- @${LN} -s ${PREFIX}/sbin/mount_fusefs /usr/sbin
+ @${LN} -fs ${PREFIX}/sbin/mount_fusefs /usr/sbin
.if defined(WITH_AUTOSETUP) && !defined(PACKAGE_BUILDING)
@${SED} -e 's|@@PREFIX@@|${PREFIX}|g' \
${FILESDIR}/${SETUP} > ${WRKDIR}/${SETUP}
diff --git a/sysutils/fusefs-kmod/pkg-plist b/sysutils/fusefs-kmod/pkg-plist
index c8a8b6d211d5..8053cb0040fd 100644
--- a/sysutils/fusefs-kmod/pkg-plist
+++ b/sysutils/fusefs-kmod/pkg-plist
@@ -1,5 +1,7 @@
modules/fuse.ko
sbin/mount_fusefs
+@exec ln -fs %D/%F /usr/sbin
+@unexec rm -f /usr/sbin/mount_fusefs 2>&1 >/dev/null || true
@unexec kldxref %D/modules
@dirrmtry modules
%%PORTDOCS%%%%DOCSDIR%%/kmod/doc.text
@@ -21,5 +23,3 @@ sbin/mount_fusefs
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod
@dirrmtry %%DOCSDIR%%
-@cwd /usr
-sbin/mount_fusefs