svn commit: r399364 - head/ftp/curlpp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Oct 15 20:16:11 UTC 2015
Author: sunpoet
Date: Thu Oct 15 20:16:10 2015
New Revision: 399364
URL: https://svnweb.freebsd.org/changeset/ports/399364
Log:
- Add LICENSE_FILE
- Use USES=localbase
- Convert to new options target helper
Modified:
head/ftp/curlpp/Makefile
Modified: head/ftp/curlpp/Makefile
==============================================================================
--- head/ftp/curlpp/Makefile Thu Oct 15 20:15:50 2015 (r399363)
+++ head/ftp/curlpp/Makefile Thu Oct 15 20:16:10 2015 (r399364)
@@ -11,18 +11,18 @@ MAINTAINER= sunpoet at FreeBSD.org
COMMENT= C++ wrapper for libcurl
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
OPTIONS_DEFINE= BOOST DOCS EXAMPLES
CONFIGURE_ARGS= --disable-ewarning
-CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-LDFLAGS+= -L${LOCALBASE}/lib
+PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
-USES= autoreconf libtool pathfix
+USES= autoreconf libtool localbase pathfix
PORTDOCS= *
PORTEXAMPLES= *
@@ -30,8 +30,6 @@ PORTEXAMPLES= *
GH_ACCOUNT= jpbarrette
USE_GITHUB= yes
-PATHFIX_MAKEFILEIN= Makefile.am
-
BOOST_BUILD_DEPENDS= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
BOOST_RUN_DEPENDS= ${BOOST_BUILD_DEPENDS}
BOOST_CONFIGURE_ON= --with-boost=${LOCALBASE}
@@ -40,9 +38,11 @@ BOOST_CONFIGURE_OFF= --without-boost
post-patch:
@${REINPLACE_CMD} -e 's| -lstdc++||' ${WRKSRC}/configure.ac
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${STAGEDIR}${DOCSDIR}/
+
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${STAGEDIR}${EXAMPLESDIR}/
More information about the svn-ports-head
mailing list