mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- Update MASTER_SITES
- Convert to new options framework - Add BOOST option [1] - Respect EXAMPLES - Cosmetic change - Sort PLIST Requested by: Brett Gmoser <bgmoser@codexterous.com> [1]
This commit is contained in:
parent
bbbd4a9086
commit
71f61839ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300656
3 changed files with 31 additions and 23 deletions
|
@ -10,30 +10,40 @@ PORTNAME= curlpp
|
||||||
PORTVERSION= 0.7.3
|
PORTVERSION= 0.7.3
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= ftp
|
CATEGORIES= ftp
|
||||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
MASTER_SITES= GOOGLE_CODE
|
||||||
http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
|
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
COMMENT= A C++ wrapper for libcurl
|
COMMENT= A C++ wrapper for libcurl
|
||||||
|
|
||||||
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
OPTIONS_DEFINE= BOOST DOCS EXAMPELS
|
||||||
|
|
||||||
|
CONFIGURE_ARGS= --disable-ewarning
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
CONFIGURE_ARGS= --disable-ewarning --without-boost
|
USE_GNOME= gnomehack
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
post-patch:
|
.include <bsd.port.options.mk>
|
||||||
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
|
|
||||||
|
.if ${PORT_OPTIONS:MBOOST}
|
||||||
|
BUILD_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
|
||||||
|
RUN_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
|
||||||
|
CONFIGURE_ARGS+=--with-boost=${LOCALBASE}
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+=--without-boost
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
${MKDIR} ${DOCSDIR}/
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
|
.endif
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}
|
${MKDIR} ${EXAMPLESDIR}/
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}/
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
curlpp is a C++ wrapper for libcurl.
|
curlpp is a C++ wrapper for libcurl.
|
||||||
|
|
||||||
Author: Jean-Philippe Barrette-LaPierre <jpbarrette@gmail.com>
|
WWW: http://www.curlpp.org/
|
||||||
|
WWW: http://code.google.com/p/curlpp/
|
||||||
WWW: http://www.curlpp.org/
|
|
||||||
http://code.google.com/p/curlpp/
|
|
||||||
|
|
|
@ -27,8 +27,6 @@ include/curlpp/internal/OptionSetter.inl
|
||||||
include/curlpp/internal/SList.hpp
|
include/curlpp/internal/SList.hpp
|
||||||
include/curlpp/internal/buildconfig.h
|
include/curlpp/internal/buildconfig.h
|
||||||
include/curlpp/internal/global.h
|
include/curlpp/internal/global.h
|
||||||
@dirrm include/curlpp/internal
|
|
||||||
@dirrm include/curlpp
|
|
||||||
include/utilspp/EmptyType.hpp
|
include/utilspp/EmptyType.hpp
|
||||||
include/utilspp/Functors.hpp
|
include/utilspp/Functors.hpp
|
||||||
include/utilspp/NonCopyable.hpp
|
include/utilspp/NonCopyable.hpp
|
||||||
|
@ -61,9 +59,6 @@ include/utilspp/singleton/PrivateMembers.hpp
|
||||||
include/utilspp/singleton/PrivateMembers.inl
|
include/utilspp/singleton/PrivateMembers.inl
|
||||||
include/utilspp/singleton/SingletonHolder.hpp
|
include/utilspp/singleton/SingletonHolder.hpp
|
||||||
include/utilspp/singleton/SingletonHolder.inl
|
include/utilspp/singleton/SingletonHolder.inl
|
||||||
@dirrm include/utilspp/functor
|
|
||||||
@dirrm include/utilspp/singleton
|
|
||||||
@dirrm include/utilspp
|
|
||||||
lib/libcurlpp.a
|
lib/libcurlpp.a
|
||||||
lib/libcurlpp.la
|
lib/libcurlpp.la
|
||||||
lib/libcurlpp.so
|
lib/libcurlpp.so
|
||||||
|
@ -74,7 +69,6 @@ lib/libutilspp.so
|
||||||
lib/libutilspp.so.0
|
lib/libutilspp.so.0
|
||||||
libdata/pkgconfig/curlpp.pc
|
libdata/pkgconfig/curlpp.pc
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/guide.pdf
|
%%PORTDOCS%%%%DOCSDIR%%/guide.pdf
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example01.cpp
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example01.cpp
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example02.cpp
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example02.cpp
|
||||||
|
@ -101,3 +95,9 @@ libdata/pkgconfig/curlpp.pc
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example23.cpp
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example23.cpp
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example24.cpp
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example24.cpp
|
||||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
@dirrm include/utilspp/singleton
|
||||||
|
@dirrm include/utilspp/functor
|
||||||
|
@dirrm include/utilspp
|
||||||
|
@dirrm include/curlpp/internal
|
||||||
|
@dirrm include/curlpp
|
||||||
|
|
Loading…
Add table
Reference in a new issue