8598b0c728
PR: 190600 Reviewed by: bapt Approved by: bapt
43 lines
956 B
Makefile
43 lines
956 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= linuxdcpp
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs
|
|
|
|
USE_GNOME= libglade2
|
|
USES= iconv pkgconfig scons tar:bzip2
|
|
USE_OPENSSL= yes
|
|
PORTDOCS= *
|
|
DESTDIRNAME= FAKE_ROOT
|
|
|
|
OPTIONS_DEFINE= NOTIFY
|
|
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:${PORTSDIR}/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>
|