diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-14 12:52:52 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-14 12:52:52 +0000 |
commit | 5ed6b69ed881399434105fcc1d695bf5638d0169 (patch) | |
tree | 053b343dcdfd436527683321b1cbf4db8214374f /ftp/curlpp/Makefile | |
parent | 255aa16107d822477b6d932e2b282d9ba1e1f152 (diff) |
Notes
Diffstat (limited to 'ftp/curlpp/Makefile')
-rw-r--r-- | ftp/curlpp/Makefile | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/ftp/curlpp/Makefile b/ftp/curlpp/Makefile index c41cc1cbe649..1ce2e7b63afb 100644 --- a/ftp/curlpp/Makefile +++ b/ftp/curlpp/Makefile @@ -8,6 +8,7 @@ PORTNAME= curlpp PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,35 +16,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A C++ wrapper for libcurl -BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl +USE_GCC= 3.3 USE_REINPLACE= yes GNU_CONFIGURE= yes - -INSTALLS_SHLIB= yes - -.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" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.endif - -post-patch: - @${REINPLACE_CMD} -e "s|^#! /bin/sh|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/configure +CONFIGURE_ARGS= --disable-ewarning +INSTALLS_SHLIB= yes -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} - @${CP} ${WRKSRC}/test/README ${EXAMPLESDIR} - @${CP} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test/README ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |