mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
40 lines
887 B
Makefile
40 lines
887 B
Makefile
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
|
|
|
PORTNAME= sqlfs
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SAVANNAH/libsqlfs
|
|
PKGNAMEPREFIX= fusefs-
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SQLite backed FUSE file system
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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>
|