blob: 08c3916d0e374e02207474ec76e3b92422fbf9ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $FreeBSD$
PORTNAME= simple-mtpfs
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMEPREFIX= fusefs-
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple MTP fuse filesystem driver
LICENSE= GPLv2+
LIB_DEPENDS= libmtp.so:multimedia/libmtp
USE_GITHUB= yes
GH_ACCOUNT= phatina
USES= autoreconf compiler:c++11-lib fuse localbase pkgconfig
GNU_CONFIGURE= yes
MAKEFILE= makefile
INSTALL_TARGET= install-strip
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTDOCS= AUTHORS NEWS README.md
OPTIONS_DEFINE= DOCS
# XXX move to PREFIX when bug 193596 lands
.if exists(/etc/autofs)
PLIST_FILES+= /etc/autofs/special_${PORTNAME}
SUB_FILES+= special_${PORTNAME}
.endif
post-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.if exists(/etc/autofs)
@${MKDIR} ${STAGEDIR}/etc/autofs
${INSTALL_SCRIPT} ${WRKDIR}/special_${PORTNAME} \
${STAGEDIR}/etc/autofs
.endif
.include <bsd.port.mk>
|