From 3f42f5746902aa337abfb37f86875fe389e70626 Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Sat, 14 May 2016 09:03:36 +0000
Subject: - Switch to USES=localbase - Switch to options helpers - Switch to
 new test framework

---
 net/xmlrpc-epi/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net/xmlrpc-epi/Makefile b/net/xmlrpc-epi/Makefile
index fe68994c6215..fa299c029b52 100644
--- a/net/xmlrpc-epi/Makefile
+++ b/net/xmlrpc-epi/Makefile
@@ -15,10 +15,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
-USES=		gmake iconv libtool tar:bzip2
+USES=		gmake iconv libtool localbase tar:bzip2
 USE_LDCONFIG=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
+LDFLAGS+=	${ICONV_LIB}
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-transform="s|^|xre-|"
 INSTALL_TARGET=	install-strip
@@ -32,11 +31,11 @@ CONFLICTS=	xmlrpc-c-0.* xmlrpc-c-devel-[0-9]*
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-regression-test:
+do-test:
 .for tm in ${METHODS}
 	cd ${WRKSRC}/sample && ./sample -method method_${tm}
 .endfor
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0