Utilize PORTDOCS
This commit is contained in:
parent
f2e931a683
commit
bb17d1ea5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183999
1 changed files with 2 additions and 7 deletions
|
@ -31,12 +31,7 @@ PLIST_FILES= sbin/wpa_supplicant \
|
|||
|
||||
PLIST_FILES+= etc/${PORTNAME}.conf.sample
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCFILES= README \
|
||||
ChangeLog
|
||||
PLIST_FILES+= ${DOCFILES:S,^,%%DOCSDIR%%/,}
|
||||
PLIST_DIRS+= %%DOCSDIR%%
|
||||
.endif
|
||||
PORTDOCS= README ChangeLog
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
USE_GMAKE= yes
|
||||
|
@ -55,7 +50,7 @@ post-patch:
|
|||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${INSTALL_DATA} ${WRKSRC}/wpa_supplicant.conf ${PREFIX}/etc/wpa_supplicant.conf.sample
|
||||
|
||||
|
|
Loading…
Reference in a new issue