aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-04-25 00:51:49 +0800
committerolgeni <olgeni@FreeBSD.org>2013-04-25 00:51:49 +0800
commit606623f91ceeb023b06a232bab4fa8f7aeac32a4 (patch)
tree108e6d897009f5dcd5692ae1d766cfb608db5fa9
parentbbb48b6c8dd9609a673b53ff7dac88e8f35bfd87 (diff)
downloadfreebsd-ports-gnome-606623f91ceeb023b06a232bab4fa8f7aeac32a4.tar.gz
freebsd-ports-gnome-606623f91ceeb023b06a232bab4fa8f7aeac32a4.tar.zst
freebsd-ports-gnome-606623f91ceeb023b06a232bab4fa8f7aeac32a4.zip
- Use bsd.port.options.mk.
- PORTDOCS should not be conditional.
-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>