diff options
Diffstat (limited to 'sysutils/ucored/Makefile')
| -rw-r--r-- | sysutils/ucored/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/ucored/Makefile b/sysutils/ucored/Makefile new file mode 100644 index 000000000000..ae0b5b962bbe --- /dev/null +++ b/sysutils/ucored/Makefile @@ -0,0 +1,32 @@ +PORTNAME= ucored +PORTVERSION= v0.1 +CATEGORIES= sysutils +MASTER_SITES= https://git.kevans.dev/kevans/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/ + +MAINTAINER= kevans@FreeBSD.org +COMMENT= Utility to apply more extensive policies to user cores +WWW= https://git.kevans.dev/kevans/ucored + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= lua:54,build uidfix + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.include <bsd.port.options.mk> + +.if ${OSVERSION} >= 1500055 +USES+= kmod +PLIST_SUB+= KMOD= +.else +PLIST_SUB+= KMOD="@comment " +.endif + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/ucored.conf \ + ${STAGEDIR}${PREFIX}/etc/ucored.conf.sample + ${MV} ${STAGEDIR}${PREFIX}/etc/devd/ucored.conf \ + ${STAGEDIR}${PREFIX}/etc/devd/ucored.conf.sample + +.include <bsd.port.mk> |
