1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Switch to USES=localbase

- Switch to options helpers
- Update WWW
This commit is contained in:
Dmitry Marakasov 2019-09-25 09:38:24 +00:00
parent 4482ebf6a7
commit 9ea97d27e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512774
2 changed files with 6 additions and 11 deletions

View File

@ -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>

View File

@ -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