- Prepare for slave port ftp/curl-hiphop

PR:		ports/169946
Submitted by:	mm
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-07-18 12:14:17 +00:00
parent d140aa43c5
commit 2ba65fd878
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301081

View file

@ -12,8 +12,8 @@ MASTER_SITES= http://curl.haxx.se/download/ \
LOCAL/sunpoet LOCAL/sunpoet
EXTRACT_SUFX= .tar.lzma EXTRACT_SUFX= .tar.lzma
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER?= sunpoet@FreeBSD.org
COMMENT= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers COMMENT?= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
LICENSE= MIT LICENSE= MIT
@ -33,17 +33,19 @@ OPTIONS= CARES "Asynchronous DNS resolution via c-ares" off \
RTMP "RTMP streams support" off \ RTMP "RTMP streams support" off \
TRACKMEMORY "Enable curl memory diagnostic output" off TRACKMEMORY "Enable curl memory diagnostic output" off
CONFIGURE_ARGS= --disable-threaded-resolver --disable-werror \ CONFIGURE_ARGS+=--disable-threaded-resolver --disable-werror \
--enable-imap --enable-pop3 --enable-rtsp --enable-smtp --enable-imap --enable-pop3 --enable-rtsp --enable-smtp
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
MAKE_ENV= SHLIB_VER="${SHLIB_VER}" MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
MAKE_JOBS_SAFE= yes MAKE_JOBS_SAFE= yes
USE_GNOME= gnomehack USE_GNOME= gnomehack
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes USE_PERL5_BUILD= yes
USE_XZ= yes USE_XZ= yes
.if !defined(BUILDING_HIPHOP)
USE_LDCONFIG= yes
DOCS= BINDINGS BUGS CONTRIBUTE DISTRO-DILEMMA FAQ FEATURES HISTORY \ DOCS= BINDINGS BUGS CONTRIBUTE DISTRO-DILEMMA FAQ FEATURES HISTORY \
INSTALL INSTALL.devcpp INTERNALS KNOWN_BUGS LICENSE-MIXING \ INSTALL INSTALL.devcpp INTERNALS KNOWN_BUGS LICENSE-MIXING \
MANUAL README.netware README.win32 RESOURCES SSLCERTS THANKS \ MANUAL README.netware README.win32 RESOURCES SSLCERTS THANKS \
@ -72,6 +74,7 @@ MAN3= curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 \
PLIST_SUB= SHLIB_VER="${SHLIB_VER}" PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
SHLIB_VER= 6 SHLIB_VER= 6
.endif
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
@ -207,6 +210,7 @@ post-patch:
@${REINPLACE_CMD} -e '/require "valgrind.pm";/d' ${WRKSRC}/tests/runtests.pl @${REINPLACE_CMD} -e '/require "valgrind.pm";/d' ${WRKSRC}/tests/runtests.pl
post-install: post-install:
.if !defined(BUILDING_HIPHOP)
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/ ${DOCSDIR}/libcurl/ ${MKDIR} ${DOCSDIR}/ ${DOCSDIR}/libcurl/
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/ cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
@ -216,6 +220,7 @@ post-install:
${MKDIR} ${EXAMPLESDIR}/ ${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/docs/examples/ && ${INSTALL_DATA} README Makefile.example makefile* *.c *.cc ${EXAMPLESDIR}/ cd ${WRKSRC}/docs/examples/ && ${INSTALL_DATA} README Makefile.example makefile* *.c *.cc ${EXAMPLESDIR}/
.endif .endif
.endif
# Setting LC_ALL=C is a kludge; maybe curl/libcurl shouldn't actually use # Setting LC_ALL=C is a kludge; maybe curl/libcurl shouldn't actually use
# the user's locale when dates are sent to the server. # the user's locale when dates are sent to the server.