aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/linuxdcpp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-25 09:38:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-09-25 09:38:24 +0000
commit9ea97d27e6cf881c90ed194d6f1fc6911b392fe9 (patch)
tree024968c98e1deb905623321f4a9e947354981af2 /net-p2p/linuxdcpp
parent4482ebf6a7b022bcf1506b63899a4d903c82cfd4 (diff)
downloadports-9ea97d27e6cf881c90ed194d6f1fc6911b392fe9.tar.gz
ports-9ea97d27e6cf881c90ed194d6f1fc6911b392fe9.zip
- Switch to USES=localbase
- Switch to options helpers - Update WWW
Notes
Notes: svn path=/head/; revision=512774
Diffstat (limited to 'net-p2p/linuxdcpp')
-rw-r--r--net-p2p/linuxdcpp/Makefile15
-rw-r--r--net-p2p/linuxdcpp/pkg-descr2
2 files changed, 6 insertions, 11 deletions
diff --git a/net-p2p/linuxdcpp/Makefile b/net-p2p/linuxdcpp/Makefile
index e1a7623ca440..b2fd079637fe 100644
--- a/net-p2p/linuxdcpp/Makefile
+++ b/net-p2p/linuxdcpp/Makefile
@@ -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>
diff --git a/net-p2p/linuxdcpp/pkg-descr b/net-p2p/linuxdcpp/pkg-descr
index 4f19adb61f87..95c0cfa355eb 100644
--- a/net-p2p/linuxdcpp/pkg-descr
+++ b/net-p2p/linuxdcpp/pkg-descr
@@ -10,4 +10,4 @@ clients connect to a central hub where they can view a list of clients or
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