head	1.29;
access;
symbols
	RELEASE_8_3_0:1.26
	RELEASE_9_0_0:1.25
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.24
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.23
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.6;
locks; strict;
comment	@# @;


1.29
date	2013.03.19.19.20.18;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2012.11.17.05.57.29;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.07.09.05.30.42;	author sunpoet;	state Exp;
branches;
next	1.26;

1.26
date	2012.02.25.16.48.25;	author sunpoet;	state Exp;
branches;
next	1.25;

1.25
date	2011.09.23.22.22.30;	author amdmi3;	state Exp;
branches;
next	1.24;

1.24
date	2010.04.03.10.44.09;	author roam;	state Exp;
branches;
next	1.23;

1.23
date	2010.03.04.13.07.27;	author roam;	state Exp;
branches;
next	1.22;

1.22
date	2009.01.23.15.42.42;	author roam;	state Exp;
branches;
next	1.21;

1.21
date	2008.08.21.06.17.00;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2008.07.25.14.34.19;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2007.10.04.00.50.28;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2007.01.26.13.23.12;	author roam;	state Exp;
branches;
next	1.17;

1.17
date	2007.01.14.19.50.31;	author roam;	state Exp;
branches;
next	1.16;

1.16
date	2006.12.13.12.41.23;	author roam;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.26.14.46.01;	author roam;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.07.11.09.17;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2006.01.21.10.45.26;	author roam;	state Exp;
branches;
next	1.12;

1.12
date	2005.09.05.23.09.57;	author roam;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.18.08.13.35;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2004.09.30.05.31.52;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2004.08.10.14.57.51;	author roam;	state Exp;
branches;
next	1.8;

1.8
date	2004.08.10.14.29.30;	author roam;	state Exp;
branches;
next	1.7;

1.7
date	2004.06.03.22.41.36;	author roam;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.20.12.07.56;	author roam;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.14.07.08.09;	author roam;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.14.01.39.30;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.14.12.52.52;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.09.02.58.48;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.05.01.01.58;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.29
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314640
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# ex:ts=8
# Ports collection makefile for:	curlpp
# Date created:			Nov 27, 2003
# Whom:				ijliao
#
# $FreeBSD: head/ftp/curlpp/Makefile 314640 2013-03-19 13:04:30Z eadler $
#

PORTNAME=	curlpp
PORTVERSION=	0.7.3
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	sunpoet@@FreeBSD.org
COMMENT=	A C++ wrapper for libcurl

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl

OPTIONS_DEFINE=	BOOST DOCS EXAMPELS

CONFIGURE_ARGS=	--disable-ewarning
CPPFLAGS+=	-I${LOCALBASE}/include
GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
USES=	pathfix
USE_LDCONFIG=	yes

.include <bsd.port.options.mk>

.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:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	${MKDIR} ${EXAMPLESDIR}/
	${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>
@


1.28
log
@Switch exporter over
@
text
@d6 1
a6 1
# $FreeBSD: head/ftp/curlpp/Makefile 300896 2012-07-14 13:54:48Z beat $
d26 1
a26 1
USE_GNOME=	gnomehack
@


1.27
log
@- 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]
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.26
log
@- Take maintainership

Approved by:	roam (maintainer, implicit)
@
text
@d13 1
a13 2
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
		http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
d18 1
a18 1
LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
d20 4
a24 1
CPPFLAGS+=	-I${LOCALBASE}/include
d26 1
a26 1
CONFIGURE_ARGS=	--disable-ewarning --without-boost
d29 9
a37 2
post-patch:
	@@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
d40 7
a46 6
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${EXAMPLESDIR}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}
@


1.25
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d16 1
a16 1
MAINTAINER=	roam@@FreeBSD.org
@


1.24
log
@Chase the ftp/curl shlib version bump.
@
text
@d22 2
a23 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
@


1.23
log
@Update to curlpp-0.7.3, disabling the Boost interface.
Reflect the move to Google Code.

Feature safe:	yes
@
text
@d11 1
d19 1
a19 1
LIB_DEPENDS=	curl.5:${PORTSDIR}/ftp/curl
@


1.22
log
@Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
@
text
@d10 1
a10 2
PORTVERSION=	0.7.0
PORTREVISION=	1
d12 2
a13 1
MASTER_SITES=	http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
d23 1
a23 1
CONFIGURE_ARGS=	--disable-ewarning
@


1.21
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d11 1
d18 1
a18 1
LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
@


1.20
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@a19 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.19
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@a18 1
USE_GCC=	3.4+
@


1.18
log
@Update to curlpp-0.7.0.
In addition to the patch from Vasil, also finally remove the warning
about the incompatibility with ancient curlpp versions.

PR:		108295
Submitted by:	vd
@
text
@a26 6
.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN=		Does not compile on alpha 4.x
.endif

d39 1
a39 1
.include <bsd.port.post.mk>
@


1.17
log
@Fix the build with gcc 4.1: explicitly state the curlpp namespace.
This is a no-op for gcc 3.x.
While I'm here, specify the build target in the way the GNU configure
script wants it.

No PORTREVISION bump, since neither of these changes affects the build
output in any way - well, except for the build actually succeeding with
gcc 4.1 :)
@
text
@d10 1
a10 2
PORTVERSION=	0.6.1
PORTREVISION=	1
d12 1
a12 1
MASTER_SITES=	http://rrette.com/downloads/sources/
d19 1
a19 1
USE_GCC=	3.4
a32 6
pre-everything::
	@@${ECHO} ""
	@@${ECHO} "NOTE to people using 0.3.x: cURLpp 0.3.x is dead!"
	@@${ECHO} "The current version ${PORTVERSION} is incompatible with the old 0.3.x versions"
	@@${ECHO} ""

@


1.16
log
@Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports.
Fix the build errors in the few ports that still use the long deprecated,
and now obsoleted, cURL options.

Thanks to everyone who took the time to look over the patch!

Discussed on:	-ports
@
text
@d22 1
@


1.15
log
@Update to curlpp-0.6.1, USE_LDCONFIG, and remove the libtool hack.
@
text
@d11 1
d18 1
a18 1
LIB_DEPENDS=	curl.3:${PORTSDIR}/ftp/curl
@


1.14
log
@Remove USE_REINPLACE from all categories starting with F
@
text
@d10 1
a10 1
PORTVERSION=	0.5.2
d24 1
a24 1
INSTALLS_SHLIB=	yes
d29 1
a29 1
BROKEN=		"Does not compile on alpha 4.x"
@


1.13
log
@Fix MASTER_SITES.

Reported by:	fenner's survey
@
text
@a19 1
USE_REINPLACE=	yes
@


1.12
log
@Update to curlpp 0.5.2.

PR:		84429
Submitted by:	Vasil Dimov <vd@@datamax.bg>
@
text
@d12 1
a12 1
MASTER_SITES=	http://rrette.com/
@


1.11
log
@- Update to 0.3.3

PR:		ports/82108
Submitted by:	Vasil Dimov <vd@@datamax.bg>
Approved by:	maintainer timeout (1 month)
@
text
@d10 1
a10 1
PORTVERSION=	0.3.3
d33 6
@


1.10
log
@Increase USE_GCC to 3.4 for those ports which compile with it.

Approved by:	portmgr
@
text
@d10 1
a10 2
PORTVERSION=	0.3.1
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d33 3
d39 4
a42 2
	${INSTALL_DATA} ${WRKSRC}/test/README ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR}
@


1.9
log
@Fix `curlpp-config --cflags`.
@
text
@d21 1
a21 1
USE_GCC=	3.3
@


1.8
log
@Update curlpp to version 0.3.1, which not only lets it build with
the new gcc in -CURRENT, but also makes a giant leap forward WRT
example programs: they actually run instead of dumping core now!
@
text
@d11 1
@


1.7
log
@Update ftp/curl to 7.12.0 and bump the shared library version in all
dependent ports.
@
text
@d10 1
a10 2
PORTVERSION=	0.3.0
PORTREVISION=	3
@


1.6
log
@Work around the removal of the CURLOPT_PASSWDFUNCTION and
CURLOPT_PASSWDDATA options which have been deprecated since curl-7.10.8.

Reported by:	dosirak via kris
@
text
@d11 1
a11 1
PORTREVISION=	2
d19 1
a19 1
LIB_DEPENDS=	curl.2:${PORTSDIR}/ftp/curl
@


1.5
log
@Take over maintainership of two ports related to ftp/curl as a
preparation for fixing some breakage resulting from curl-7.11.1 finally
removing two options marked obsolete for over a year.
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.4
log
@BROKEN on alpha 4.x: Does not compile
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.3
log
@- Fix build on -current
- Support CXXFLAGS properly

PR:		ports/62814
Submitted by:	Ports Fury
@
text
@d29 6
d42 1
a42 1
.include <bsd.port.mk>
@


1.2
log
@BROKEN on 5.x: does not compile
@
text
@d11 1
a18 1
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2
d21 1
d24 3
a26 1

d29 1
a29 16
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502000
BROKEN=		"Does not compile"
.endif

.if ${OSVERSION} < 500035
USE_GCC=	3.1
.else
CONFIGURE_ENV+=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
.endif

post-patch:
	@@${REINPLACE_CMD} -e "s|^#! /bin/sh|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/configure

a30 1
post-install:
d32 2
a33 2
	@@${CP} ${WRKSRC}/test/README ${EXAMPLESDIR}
	@@${CP} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR}
d36 1
a36 1
.include <bsd.port.post.mk>
@


1.1
log
@add curlpp 0.3.0
A C++ wrapper for libcurl

PR:		59891
@
text
@d28 4
@

