mirror of
https://git.freebsd.org/ports.git
synced 2025-05-23 04:03:14 -04:00
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
41 lines
957 B
Makefile
41 lines
957 B
Makefile
PORTNAME= sqlfs
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= filesystems
|
|
MASTER_SITES= SAVANNAH/libsqlfs
|
|
PKGNAMEPREFIX= fusefs-
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SQLite backed FUSE file system
|
|
WWW= https://www.nongnu.org/libsqlfs/
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
DEPRECATED= Abandoned upstream, superseded by forks
|
|
EXPIRATION_DATE=2024-12-31
|
|
|
|
USES= fuse sqlite
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/sqlfs
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${CC} -DFUSE -DFUSE_USE_VERSION=25 \
|
|
-D_FILE_OFFSET_BITS=64 -D_REENTRANT ${CFLAGS} \
|
|
-I. -I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
-lfuse -lsqlite${SQLITE_VER} sqlfs.c fuse_main.c \
|
|
-o sqlfs)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sqlfs ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|