Lines 8-13
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= curlpp |
9 |
PORTNAME= curlpp |
10 |
PORTVERSION= 0.3.0 |
10 |
PORTVERSION= 0.3.0 |
|
|
11 |
PORTREVISION= 1 |
11 |
CATEGORIES= ftp |
12 |
CATEGORIES= ftp |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-49
Link Here
|
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= A C++ wrapper for libcurl |
17 |
COMMENT= A C++ wrapper for libcurl |
17 |
|
18 |
|
18 |
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 |
|
|
19 |
LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl |
19 |
LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl |
20 |
|
20 |
|
|
|
21 |
USE_GCC= 3.3 |
21 |
USE_REINPLACE= yes |
22 |
USE_REINPLACE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
23 |
|
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
INSTALLS_SHLIB= yes |
|
|
25 |
|
26 |
.include <bsd.port.pre.mk> |
27 |
|
28 |
.if ${OSVERSION} >= 502000 |
29 |
BROKEN= "Does not compile" |
30 |
.endif |
31 |
|
32 |
.if ${OSVERSION} < 500035 |
33 |
USE_GCC= 3.1 |
34 |
.else |
35 |
CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
36 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
LDFLAGS="-L${LOCALBASE}/lib" |
37 |
.endif |
26 |
CONFIGURE_ARGS= --disable-ewarning |
38 |
|
27 |
INSTALLS_SHLIB= yes |
39 |
post-patch: |
|
|
40 |
@${REINPLACE_CMD} -e "s|^#! /bin/sh|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/configure |
41 |
|
28 |
|
42 |
.if !defined(NOPORTDOCS) |
|
|
43 |
post-install: |
29 |
post-install: |
|
|
30 |
.if !defined(NOPORTDOCS) |
44 |
@${MKDIR} ${EXAMPLESDIR} |
31 |
@${MKDIR} ${EXAMPLESDIR} |
45 |
@${CP} ${WRKSRC}/test/README ${EXAMPLESDIR} |
32 |
${INSTALL_DATA} ${WRKSRC}/test/README ${EXAMPLESDIR} |
46 |
@${CP} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR} |
33 |
${INSTALL_DATA} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR} |
47 |
.endif |
34 |
.endif |
48 |
|
35 |
|
49 |
.include <bsd.port.post.mk> |
36 |
.include <bsd.port.mk> |