aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ansible/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-25 14:08:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-25 14:08:58 +0000
commitf81a42eff3e52a6a9d441084c77c4270ee432743 (patch)
tree552e47c50e0802187492514b7ff180e08bc00f3b /sysutils/ansible/Makefile
parenta3178879a6be241c4d6e905c0bdc55dc619c3de5 (diff)
downloadports-f81a42eff3e52a6a9d441084c77c4270ee432743.tar.gz
ports-f81a42eff3e52a6a9d441084c77c4270ee432743.zip
Notes
Diffstat (limited to 'sysutils/ansible/Makefile')
-rw-r--r--sysutils/ansible/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 3f49c66d4053..7652237ce859 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -30,10 +30,7 @@ USES= shebangfix
SHEBANG_FILES= ${WRKSRC}/library/*/*
SUB_FILES= pkg-message
-PORTEXAMPLES= *
-MAN1= ansible-doc.1 ansible-playbook.1 ansible-pull.1 ansible.1
-NO_STAGE= yes
post-patch-script:
@${REINPLACE_CMD} -e "s|/etc/ansible|${ETCDIR}|" \
${WRKSRC}/docs/man/man1/ansible-playbook.1 \
@@ -57,14 +54,15 @@ pre-install-script:
.include <bsd.port.options.mk>
post-install:
- @${MKDIR} ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/docs/man/man1/,} \
- ${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${RM} ${WRKSRC}/examples/*.bak
(cd ${WRKSRC}/examples/ && \
- ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
@${CAT} ${PKGMESSAGE}
.endif