ports/filesystems/simple-mtpfs/Makefile
Robert Clausecker 6e2da9672f filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988
2024-11-06 16:17:35 +01:00

46 lines
1.1 KiB
Makefile

PORTNAME= simple-mtpfs
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= filesystems
PKGNAMEPREFIX= fusefs-
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple MTP fuse filesystem driver
WWW= https://github.com/phatina/simple-mtpfs
LICENSE= GPLv2+
BUILD_DEPENDS= autoconf-archive>0.2017:devel/autoconf-archive
LIB_DEPENDS= libmtp.so:multimedia/libmtp
USE_GITHUB= yes
GH_ACCOUNT= phatina
USES= autoreconf compiler:c++17-lang fuse localbase pkgconfig
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
MAKEFILE= makefile
INSTALL_TARGET= install-strip
PLIST_FILES= bin/${PORTNAME} \
share/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>