aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-11-16 03:46:42 +0800
committerru <ru@FreeBSD.org>2007-11-16 03:46:42 +0800
commit710c49c8130e040cfb7d21111586ae63c7fcdc7f (patch)
tree275039b0cc1efa34b206104946c27a25d66daa10
parent26cc9d5fec41afcb38889267c6b779301bd8b200 (diff)
downloadfreebsd-ports-gnome-710c49c8130e040cfb7d21111586ae63c7fcdc7f.tar.gz
freebsd-ports-gnome-710c49c8130e040cfb7d21111586ae63c7fcdc7f.tar.zst
freebsd-ports-gnome-710c49c8130e040cfb7d21111586ae63c7fcdc7f.zip
Fix the package.
Approved by: portmgr (linimon)
-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