Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= ansible-kld |
4 |
DISTVERSION= 0.1 |
5 |
CATEGORIES= sysutils |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
|
8 |
MAINTAINER= vulcan@wired.sh |
9 |
COMMENT= Ansible module to load kernel modules or update /boot/loader.conf |
10 |
|
11 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible>0:sysutils/ansible@${PY_FLAVOR} |
15 |
|
16 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= dlundgren |
18 |
GH_PROJECT= ansible-freebsd-modules |
19 |
GH_TAGNAME= cf37fc1e16fc03852abc8933e7959b22b51a5c90 |
20 |
|
21 |
NO_ARCH= yes |
22 |
NO_BUILD= yes |
23 |
|
24 |
ANSIBLE_MOD= $$(ansible-config-${PYTHON_VER} dump | ${EGREP} -o '${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible/plugins/modules') |
25 |
|
26 |
PLIST_FILES= $$(${ECHO_CMD} ${ANSIBLE_MOD} | ${SED} -e 's|${PREFIX}/||')/kld |
27 |
|
28 |
do-install: |
29 |
${MKDIR} ${STAGEDIR}${ANSIBLE_MOD} |
30 |
${INSTALL_SCRIPT} ${WRKSRC}/library/kld ${STAGEDIR}${ANSIBLE_MOD}/kld |
31 |
|
32 |
.include <bsd.port.mk> |