ports/sysutils/swtpm/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

42 lines
972 B
Makefile

PORTNAME= swtpm
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= meka@tilda.center
COMMENT= Libtpms-based TPM emulator
WWW= https://github.com/stefanberger/swtpm
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= base64>=0:converters/base64 \
bash>=0:shells/bash \
expect>=0:lang/expect \
gawk>=0:lang/gawk \
socat>=0:net/socat
LIB_DEPENDS= libfuse.so:filesystems/fusefs-libs \
libgmp.so:math/gmp \
libgnutls.so:security/gnutls \
libjson-glib-1.0.so:devel/json-glib \
libtasn1.so:security/libtasn1 \
libtpms.so:sysutils/libtpms
USES= autoreconf gettext-runtime gmake gnome libtool pathfix \
pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= stefanberger
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
USERS= _tss
GROUPS= ${USERS}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tss-user=${USERS} \
--with-tss-group=${GROUPS}
INSTALL_TARGET= install-strip
.include <bsd.port.mk>