2006-07-29 19:46:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= linuxdcpp
|
2011-10-19 17:48:30 +02:00
|
|
|
PORTVERSION= 1.1.0
|
2014-02-07 12:44:08 +01:00
|
|
|
PORTREVISION= 3
|
2006-07-29 19:46:11 +02:00
|
|
|
CATEGORIES= net-p2p
|
2011-10-19 17:48:30 +02:00
|
|
|
MASTER_SITES= http://launchpadlibrarian.net/69733951/
|
2006-07-29 19:46:11 +02:00
|
|
|
|
2012-07-04 15:59:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-24 19:31:54 +02:00
|
|
|
COMMENT= Port of the DC++ Direct Connect client to Unix-like systems
|
2006-07-29 19:46:11 +02:00
|
|
|
|
2014-10-14 13:09:41 +02:00
|
|
|
LICENSE= GPLv2 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
2011-10-19 17:48:30 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs
|
|
|
|
|
2014-11-29 19:22:32 +01:00
|
|
|
USES= gettext iconv pkgconfig scons tar:bzip2
|
2006-07-29 19:46:11 +02:00
|
|
|
USE_GNOME= libglade2
|
2006-12-15 06:21:54 +01:00
|
|
|
USE_OPENSSL= yes
|
2011-05-17 12:40:15 +02:00
|
|
|
PORTDOCS= *
|
2013-10-24 19:31:54 +02:00
|
|
|
DESTDIRNAME= FAKE_ROOT
|
2006-07-29 19:46:11 +02:00
|
|
|
|
2013-10-24 19:31:54 +02:00
|
|
|
OPTIONS_DEFINE= NOTIFY
|
|
|
|
OPTIONS_DEFAULT=NOTIFY
|
2007-02-07 06:38:15 +01:00
|
|
|
|
2006-08-04 10:09:50 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
2013-10-24 19:31:54 +02:00
|
|
|
MAKE_ARGS+= debug=1
|
2006-08-04 10:09:50 +02:00
|
|
|
.endif
|
|
|
|
|
2014-06-18 14:23:54 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2013-10-24 19:31:54 +02:00
|
|
|
|
2014-06-18 14:23:54 +02:00
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
|
|
|
|
NOTIFY_MAKE_ARGS_OFF= libnotify=0
|
2013-10-24 19:31:54 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s/'iconv'/'${ICONV_LIB:S/-l//}'/" \
|
|
|
|
${WRKSRC}/SConstruct
|
2014-06-18 14:23:54 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConstruct
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2013-10-24 19:31:54 +02:00
|
|
|
|
2007-02-06 20:04:25 +01:00
|
|
|
.include <bsd.port.mk>
|