mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
829f42ee9c
- Use just BSD3CLAUSE as LICENSE (according to README) PR: ports/190726 Submitted by: leres@ee.lbl.gov [1]
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Craig Leres <leres@ee.lbl.gov>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hostapd
|
|
PORTVERSION= 2.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://hostap.epitest.fi/releases/
|
|
|
|
MAINTAINER= leres@ee.lbl.gov
|
|
COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake
|
|
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
|
|
PLIST_FILES= sbin/hostapd sbin/hostapd_cli man/man1/hostapd_cli.1.gz \
|
|
man/man8/hostapd.8.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \
|
|
${BUILD_WRKSRC}/Makefile
|
|
|
|
do-configure:
|
|
${CP} ${FILESDIR}/config ${WRKSRC}/hostapd/.config
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hostapd/hostapd ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hostapd/hostapd_cli \
|
|
${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd_cli.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd.8 \
|
|
${STAGEDIR}${MANPREFIX}/man/man8
|
|
|
|
.include <bsd.port.post.mk>
|