Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 09:38:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512774 - head/net-p2p/linuxdcpp
Message-ID:  <201909250938.x8P9cPvZ080430@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 25 09:38:24 2019
New Revision: 512774
URL: https://svnweb.freebsd.org/changeset/ports/512774

Log:
  - Switch to USES=localbase
  - Switch to options helpers
  - Update WWW

Modified:
  head/net-p2p/linuxdcpp/Makefile
  head/net-p2p/linuxdcpp/pkg-descr

Modified: head/net-p2p/linuxdcpp/Makefile
==============================================================================
--- head/net-p2p/linuxdcpp/Makefile	Wed Sep 25 09:14:58 2019	(r512773)
+++ head/net-p2p/linuxdcpp/Makefile	Wed Sep 25 09:38:24 2019	(r512774)
@@ -14,24 +14,19 @@ LICENSE_FILE=	${WRKSRC}/License.txt
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/version.hpp:devel/boost-libs
 
-USES=		compiler:c++11-lang gettext iconv pkgconfig scons tar:bzip2 ssl
+USES=		compiler:c++11-lang gettext iconv localbase:ldflags pkgconfig scons tar:bzip2 ssl
 USE_GNOME=	libglade2
 PORTDOCS=	*
 DESTDIRNAME=	FAKE_ROOT
 
-OPTIONS_DEFINE=	NOTIFY DOCS
+OPTIONS_DEFINE=	NOTIFY DEBUG DOCS
 OPTIONS_DEFAULT=NOTIFY
 
-.if defined(WITH_DEBUG)
-MAKE_ARGS+=	debug=1
-.endif
-
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
 NOTIFY_MAKE_ARGS_OFF=	libnotify=0
 
+DEBUG_MAKE_ARGS=debug=1
+
 .include <bsd.port.pre.mk>
 
 .if ${SSL_DEFAULT} == base
@@ -45,6 +40,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConstruct
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.post.mk>

Modified: head/net-p2p/linuxdcpp/pkg-descr
==============================================================================
--- head/net-p2p/linuxdcpp/pkg-descr	Wed Sep 25 09:14:58 2019	(r512773)
+++ head/net-p2p/linuxdcpp/pkg-descr	Wed Sep 25 09:38:24 2019	(r512774)
@@ -10,4 +10,4 @@ clients connect to a central hub where they can view a
 users connected to them.  Users can search for files and download them from
 other clients, as well as chat with other users.
 
-WWW: http://launchpad.net/linuxdcpp
+WWW: https://launchpad.net/linuxdcpp



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