Changeset View
Changeset View
Standalone View
Standalone View
security/tpm2-abrmd/Makefile
- This file was added.
# $FreeBSD$ | |||||
PORTNAME= tpm2-abrmd | |||||
DISTVERSION= 2.2.0 | |||||
CATEGORIES= security | |||||
MASTER_SITES= https://github.com/tpm2-software/tpm2-abrmd/releases/download/${DISTVERSION}/ | |||||
MAINTAINER= tstruk@gmail.com | |||||
COMMENT= TPM2 Access Broker & Resource Manager Deamon | |||||
LICENSE= BSD2CLAUSE | |||||
LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss \ | |||||
libgio-2.0.so:devel/glib20 | |||||
RUN_DEPENDS= dbus-daemon:devel/dbus | |||||
lwhsu: Just a minor portlint(1) nit, no blank line needed here. | |||||
USES= gmake libtool pkgconfig gnome | |||||
USE_LDCONFIG= yes | |||||
USE_GNOME= glib20 | |||||
USE_RC_SUBR= tpm2-abrmd | |||||
LIBS+= -L${LOCALBASE}/lib -lintl -lgio-2.0 | |||||
lwhsuUnsubmitted Done Inline ActionsDo we really need this line? I can build the port without this. (+= is usually not necessary before including anything.) lwhsu: Do we really need this line? I can build the port without this. (`+=` is usually not necessary… | |||||
tstruk_gmail.comAuthorUnsubmitted Done Inline ActionsI followed an example, but probably the LIB_DEPENDS does the job. tstruk_gmail.com: I followed an example, but probably the LIB_DEPENDS does the job. | |||||
GNU_CONFIGURE= yes | |||||
CONFIGURE_ARGS= --with-dbuspolicydir=${PREFIX}/etc/dbus-1/system.d | |||||
GROUPS= _tss | |||||
USERS= _tss | |||||
SUB_LIST= DBUS_DAEMON=dbus | |||||
post-install: | |||||
@${RM} ${STAGEDIR}${PREFIX}/lib/systemd/system-preset/tpm2-abrmd.preset | |||||
@${RM} ${STAGEDIR}${PREFIX}/lib/systemd/system/tpm2-abrmd.service | |||||
@${RM} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services/com.intel.tss2.Tabrmd.service | |||||
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/systemd/system | |||||
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/systemd/system-preset | |||||
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/systemd | |||||
@${RMDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services | |||||
@${RMDIR} ${STAGEDIR}${PREFIX}/share/dbus-1 | |||||
.include <bsd.port.mk> |
Just a minor portlint(1) nit, no blank line needed here.