Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 20:16:10 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399364 - head/ftp/curlpp
Message-ID:  <201510152016.t9FKGAeA023385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510152016.t9FKGAeA023385>