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