Zap remaining hardcoded /usr/local paths.
Today's just not my day... ok landry@
This commit is contained in:
parent
10cc777e1e
commit
fe950005a3
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2011/06/27 10:15:13 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2011/06/27 11:36:36 dcoppa Exp $
|
||||
|
||||
COMMENT = disk auto-mounter
|
||||
|
||||
DISTNAME = hotplug-diskmount-0.5
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
@ -23,6 +23,8 @@ WANTLIB = c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hotplug-diskmount ${PREFIX}/libexec/
|
||||
${INSTALL_MAN} ${WRKSRC}/hotplug-diskmount.1 ${PREFIX}/man/man1/
|
||||
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
||||
-c ${WRKSRC}/hotplug-diskmount.1 \
|
||||
${PREFIX}/man/man1/hotplug-diskmount.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
30
sysutils/hotplug-diskmount/patches/patch-hotplug-diskmount_1
Normal file
30
sysutils/hotplug-diskmount/patches/patch-hotplug-diskmount_1
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-hotplug-diskmount_1,v 1.1 2011/06/27 11:36:36 dcoppa Exp $
|
||||
--- hotplug-diskmount.1.orig Wed Sep 8 17:35:13 2010
|
||||
+++ hotplug-diskmount.1 Mon Jun 27 13:22:01 2011
|
||||
@@ -41,7 +41,7 @@ By default all mount points are created in
|
||||
.Ar /vol
|
||||
directory which should be created before by
|
||||
.Ar init
|
||||
-command. Default direcotory can be changed by
|
||||
+command. Default directory can be changed by
|
||||
.Fl d
|
||||
option.
|
||||
.Pp
|
||||
@@ -103,7 +103,7 @@ never does force unmount.
|
||||
.Sh EXAMPLES
|
||||
Create directory set which will be used for storing mount points:
|
||||
.Bd -literal -offset indent
|
||||
-/usr/local/libexec/hotplug-diskmount init
|
||||
+${TRUEPREFIX}/libexec/hotplug-diskmount init
|
||||
.Ed
|
||||
.Pp
|
||||
Sample
|
||||
@@ -117,7 +117,7 @@ DEVNAME=$2
|
||||
|
||||
case $DEVCLASS in
|
||||
2)
|
||||
- /usr/local/libexec/hotplug-diskmount attach "$DEVNAME"
|
||||
+ ${TRUEPREFIX}/libexec/hotplug-diskmount attach "$DEVNAME"
|
||||
;;
|
||||
esac
|
||||
.Ed
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/06/27 10:06:56 dcoppa Exp $
|
||||
libexec/hotplug-diskmount
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/06/27 11:36:36 dcoppa Exp $
|
||||
@bin libexec/hotplug-diskmount
|
||||
@man man/man1/hotplug-diskmount.1
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
|
Loading…
Reference in New Issue
Block a user