Added
Link Here
|
1 |
PORTNAME= eap_parrot |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 1.0.8 |
4 |
CATEGORIES= net |
5 |
DISTNAME= eap_parrot-${ISCVERSION} |
6 |
|
7 |
MAINTAINER= mark@CloudBSD.org |
8 |
COMMENT= Replay EAP packets between network interfaces |
9 |
WWW= https://github.com/cloudbsdorg/eap_parrot |
10 |
|
11 |
LICENSE= GPLv3 |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
BUILD_DEPENDS= go119:lang/go119 |
15 |
|
16 |
MASTER_SITES= GH |
17 |
USE_GITHUB= yes |
18 |
GL_SITE= https://github.com |
19 |
GH_ACCOUNT= cloudbsdorg |
20 |
GH_PROJECT= eap_parrot |
21 |
|
22 |
USE_RC_SUBR= eap_parrot |
23 |
|
24 |
pre-install: |
25 |
echo "${LOCALBASE} ${PREFIX}" |
26 |
# make sure that the dirs exist |
27 |
${MKDIR} ${STAGEDIR}${LOCALBASE}/bin/ |
28 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/eap_parrot/ |
29 |
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1/ |
30 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d/ |
31 |
|
32 |
# Place the files in staging |
33 |
${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/bin/eap_parrot ${STAGEDIR}${PREFIX}/bin/eap_parrot |
34 |
${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/config.toml.sample ${STAGEDIR}${PREFIX}/etc/eap_parrot/config.toml.sample |
35 |
${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/man/man1/eap_parrot.1.gz ${STAGEDIR}${PREFIX}/man/man1/ |
36 |
${CP} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/init/FreeBSD/eap_parrot ${STAGEDIR}${PREFIX}/etc/rc.d/ |
37 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/eap_parrot |
38 |
|
39 |
.include <bsd.port.mk> |