Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

44 lines
990 B
Makefile

# $FreeBSD$
PORTNAME= linuxdcpp
PORTVERSION= 1.1.0
PORTREVISION= 13
CATEGORIES= net-p2p
MASTER_SITES= http://launchpadlibrarian.net/69733951/
MAINTAINER= ports@FreeBSD.org
COMMENT= Port of the DC++ Direct Connect client to Unix-like systems
LICENSE= GPLv2+
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
USE_GNOME= libglade2
PORTDOCS= *
DESTDIRNAME= FAKE_ROOT
OPTIONS_DEFINE= NOTIFY 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
post-patch:
@${REINPLACE_CMD} -e "s/'iconv'/'${ICONV_LIB:S/-l//}'/" \
${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConstruct
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>