aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-04-24 16:51:49 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-04-24 16:51:49 +0000
commitb18ef83571fbd24702bae4da47f8bed36ed32357 (patch)
tree108e6d897009f5dcd5692ae1d766cfb608db5fa9 /net
parent8a4d95a438e41855339ecf1511370b630dde807a (diff)
downloadports-b18ef83571fbd24702bae4da47f8bed36ed32357.tar.gz
ports-b18ef83571fbd24702bae4da47f8bed36ed32357.zip
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional.
Notes
Notes: svn path=/head/; revision=316451
Diffstat (limited to 'net')
-rw-r--r--net/erlang_xmlrpc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/erlang_xmlrpc/Makefile b/net/erlang_xmlrpc/Makefile
index 465dc4901287..1495142c3993 100644
--- a/net/erlang_xmlrpc/Makefile
+++ b/net/erlang_xmlrpc/Makefile
@@ -22,11 +22,9 @@ WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
MAN3= erlang_xmlrpc.3
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
-.endif
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile
@@ -53,4 +51,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
@${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${MANPREFIX}/man/man3/erlang_xmlrpc.3
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>