aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-04 01:07:43 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-04 01:07:43 +0800
commit2367869482415c37287eb847ea5d527d472bb98b (patch)
treea63c35ec0f38d10ca4e5bcb02129af439181ec25
parente82655ecabf8a23dcddec4f433bcbcf58119f28b (diff)
downloadfreebsd-ports-gnome-2367869482415c37287eb847ea5d527d472bb98b.tar.gz
freebsd-ports-gnome-2367869482415c37287eb847ea5d527d472bb98b.tar.zst
freebsd-ports-gnome-2367869482415c37287eb847ea5d527d472bb98b.zip
- Add NO_PERL5_TEST
- Convert to new test framework - Convert to new options target helper - Cosmetic change
-rw-r--r--ftp/curl/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index cf0bfda1225f..6c21e0294462 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -48,6 +48,9 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
ac_cv_func_SSLv2_client_method=no
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+NO_PERL5_TEST= yes
+TEST_ENV= ${MAKE_ENV} LC_ALL=C
+TEST_TARGET= test
USE_PERL5= build
USES= libtool pathfix perl5 tar:lzma
@@ -178,25 +181,26 @@ post-patch:
@${REINPLACE_CMD} -e 's|include <gssapi.h>|include <gssapi/gssapi.h>|' ${WRKSRC}/lib/curl_gssapi.h ${WRKSRC}/lib/urldata.h
@${REINPLACE_CMD} -e 's|gss_nt_service_name|GSS_C_NT_HOSTBASED_SERVICE|' ${WRKSRC}/lib/curl_sasl_gssapi.c
-post-install:
.if !defined(BUILDING_HIPHOP)
+post-install:
${LN} -s libcurl.so.4 ${STAGEDIR}${PREFIX}/lib/libcurl.so.7
${INSTALL_DATA} ${WRKSRC}/docs/libcurl/libcurl.m4 ${STAGEDIR}${PREFIX}/share/aclocal/
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${DOCSDIR}/libcurl/
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC}/docs/libcurl/ && ${INSTALL_DATA} ABI *.html *.pdf *.m4 ${STAGEDIR}${DOCSDIR}/libcurl/
+ cd ${WRKSRC}/docs/libcurl/ && ${INSTALL_DATA} ABI *.html *.m4 *.pdf ${STAGEDIR}${DOCSDIR}/libcurl/
+
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/docs/examples/ && ${INSTALL_DATA} README Makefile.example makefile* *.c *.cpp ${STAGEDIR}${EXAMPLESDIR}/
.endif
-regression-test test: build
-.if !${PORT_OPTIONS:MPROXY}
+pre-test-PROXY-off:
@${ECHO_MSG} "******************************************"
@${ECHO_MSG} "* You have disabled curl proxy support. *"
@${ECHO_MSG} "* Some tests SHALL FAIL! *"
@${ECHO_MSG} "* This is being addressed. *"
@${ECHO_MSG} "******************************************"
-.endif
- cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} LC_ALL=C ${MAKE_CMD} test
.include <bsd.port.mk>