Utilize PORTDOCS

This commit is contained in:
Markus Brueffer 2007-02-03 01:55:47 +00:00
parent f2e931a683
commit bb17d1ea5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183999

View file

@ -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