aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2007-02-03 09:55:47 +0800
committermarkus <markus@FreeBSD.org>2007-02-03 09:55:47 +0800
commitb52a0215a0e8b67519a7e2ff4d90d934faf47dd4 (patch)
tree7d9db1aa97a5bef740652cd5e48d55ab7b1567cf
parente300c2daf78b829bd11aa0da92c87935083c6cb8 (diff)
downloadfreebsd-ports-graphics-b52a0215a0e8b67519a7e2ff4d90d934faf47dd4.tar.gz
freebsd-ports-graphics-b52a0215a0e8b67519a7e2ff4d90d934faf47dd4.tar.zst
freebsd-ports-graphics-b52a0215a0e8b67519a7e2ff4d90d934faf47dd4.zip
Utilize PORTDOCS
-rw-r--r--security/wpa_supplicant/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile
index d3704c457d2..b0bec7708e6 100644
--- a/security/wpa_supplicant/Makefile
+++ b/security/wpa_supplicant/Makefile
@@ -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