svn commit: r512774 - head/net-p2p/linuxdcpp
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 25 09:38:25 UTC 2019
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
More information about the svn-ports-all
mailing list