View | Details | Raw Unified | Return to bug 193882
Collapse All | Expand All

(-)sysutils/fusefs-simple-mtpfs/Makefile (-6 / +8 lines)
Lines 18-26 GH_ACCOUNT= phatina Link Here
18
GH_TAGNAME=	${GH_COMMIT}
18
GH_TAGNAME=	${GH_COMMIT}
19
GH_COMMIT=	74dfce6
19
GH_COMMIT=	74dfce6
20
20
21
USES=		compiler:c++11-lib fuse pkgconfig
21
USES=		autoreconf compiler:c++11-lib fuse pkgconfig
22
USE_AUTOTOOLS=	aclocal autoconf autoheader automake
22
GNU_CONFIGURE=	yes
23
AUTOMAKE_ARGS=	--add-missing
24
MAKEFILE=	makefile
23
MAKEFILE=	makefile
25
MAKE_ENV=	V=1
24
MAKE_ENV=	V=1
26
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
Lines 36-44 OPTIONS_DEFINE= DOCS Link Here
36
CONFIGURE_ENV+=	LIBUSB1_CFLAGS=" " LIBUSB1_LIBS="-lusb"
35
CONFIGURE_ENV+=	LIBUSB1_CFLAGS=" " LIBUSB1_LIBS="-lusb"
37
.endif
36
.endif
38
37
38
# XXX move to PREFIX when bug 193596 lands
39
.if exists(/etc/autofs)
39
.if exists(/etc/autofs)
40
PLIST_FILES+=	/etc/autofs/special_simple-mtpfs
40
PLIST_DIRS+=	/etc/autofs
41
SUB_FILES+=	special_simple-mtpfs
41
PLIST_FILES+=	/etc/autofs/special_${PORTNAME}
42
SUB_FILES+=	special_${PORTNAME}
42
.endif
43
.endif
43
44
44
post-install:
45
post-install:
Lines 46-52 post-install: Link Here
46
	${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
47
	${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
47
.if exists(/etc/autofs)
48
.if exists(/etc/autofs)
48
	@${MKDIR} ${STAGEDIR}/etc/autofs
49
	@${MKDIR} ${STAGEDIR}/etc/autofs
49
	${INSTALL_SCRIPT} ${WRKDIR}/special_simple-mtpfs ${STAGEDIR}/etc/autofs
50
	${INSTALL_SCRIPT} ${WRKDIR}/special_${PORTNAME} \
51
		${STAGEDIR}/etc/autofs
50
.endif
52
.endif
51
53
52
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)sysutils/fusefs-simple-mtpfs/files/special_simple-mtpfs.in (-1 / +1 lines)
Lines 4-10 Link Here
4
# /mtp		-simple-mtpfs	-allow_other
4
# /mtp		-simple-mtpfs	-allow_other
5
#
5
#
6
6
7
out=$(%%PREFIX%%/bin/simple-mtpfs --list-devices 2>&1)
7
out=$(%%PREFIX%%/bin/simple-mtpfs --list-devices)
8
[ $? -eq 0 ] || exit 1
8
[ $? -eq 0 ] || exit 1
9
9
10
if [ $# -eq 0 ]; then
10
if [ $# -eq 0 ]; then

Return to bug 193882