ports/filesystems/nbt/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

44 lines
1.4 KiB
Makefile

PORTNAME= nbt
PORTVERSION= ${REVISION_DATE}
PORTREVISION= 1
CATEGORIES= filesystems
MASTER_SITES= SF/nbtfsutils
PKGNAMEPREFIX= fusefs-
DISTNAME= nbtfsutils-${REVISION_DATE}-${REVISION_HASH}-src
MAINTAINER= msl0000023508@gmail.com
COMMENT= Editing Named Binary Tag (NBT) as using a file system
WWW= https://sourceforge.net/projects/nbtfsutils/
LICENSE= BEERWARE MIT MPL20
LICENSE_COMB= multi
LICENSE_NAME_BEERWARE= "THE BEER-WARE LICENSE" (Revision 42)
LICENSE_TEXT_BEERWARE= Lukas Niederbremer <webmaster@flippeh.de> and Clark Gaebel <cg.wowus.cg@gmail.com> \
wrote this file. As long as you retain this notice you can do whatever you \
want with this stuff. If we meet some day, and you think this stuff is worth \
it, you can buy us a beer in return.
LICENSE_FILE_MPL20= ${WRKSRC}/MPL-2.0
LICENSE_PERMS_BEERWARE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= fuse tar:bz2
USE_LDCONFIG= yes
REVISION_DATE= 20231114
REVISION_HASH= 7683255
MAKE_ENV= MANDIR=\${PREFIX}/share/man
INSTALL_TARGET= install-commands install-dev
CFLAGS+= ${CPPFLAGS}
CPPFLAGS+= -I ${LOCALBASE}/include
LDFLAGS+= -L ${LOCALBASE}/lib
NO_WRKSUBDIR= yes
do-build:
@cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} libnbt.so && ${DO_MAKE_BUILD} all
post-install:
.for l in lib/libnbt.so.1 bin/nbtdump bin/regiondump sbin/mkfs.nbt sbin/mount.nbt
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${l}
.endfor
.include <bsd.port.mk>