diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-04-06 21:40:54 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-04-06 21:45:49 +0000 |
| commit | 7267b89b748860bd8dbca6d8682ebb3a541892df (patch) | |
| tree | bfee328b31e45e73033c8d2fe60b6bf93a309516 /sysutils/nut | |
| parent | fd13d3333d19052a21b61241e4506682afc30413 (diff) | |
Diffstat (limited to 'sysutils/nut')
| -rw-r--r-- | sysutils/nut/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 3dcc437aecb1..e9b3a93efe10 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -1,6 +1,6 @@ PORTNAME= nut PORTVERSION= 2.8.0 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ @@ -125,6 +125,9 @@ post-patch: pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nut +.if ${PORT_OPTIONS:MUSB} + @${REINPLACE_CMD} -e 's/device-name\*/cdev/g' ${WRKSRC}/scripts/devd/nut-usb.conf +.endif post-install: @${MKDIR} ${STAGEDIR}${STATEDIR} |
