mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Respect PORT_OPTIONS:MDOCS
This commit is contained in:
parent
4cb69a9d66
commit
8c11937382
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356165
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= usbutils
|
||||
PORTVERSION= 0.86
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/linux-usb/${PORTNAME}
|
||||
|
||||
|
@ -20,7 +20,6 @@ USES= gmake pkgconfig
|
|||
|
||||
PORTDOCS= AUTHORS ChangeLog NEWS README
|
||||
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -34,7 +33,9 @@ post-patch:
|
|||
${WRKSRC}/usb-devices
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue