2006-07-29 19:46:11 +02:00
|
|
|
# New ports collection makefile for: linuxdcpp
|
|
|
|
# Date created: 19 June 2005
|
|
|
|
# Whom: Mezz <mezz@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= linuxdcpp
|
2007-01-05 06:21:52 +01:00
|
|
|
PORTVERSION= 0.0.1.20070104 #0.0.1.YYYYMMDD
|
2006-07-29 19:46:11 +02:00
|
|
|
CATEGORIES= net-p2p
|
2006-12-15 06:21:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://people.freebsd.org/~mezz/distfiles/
|
2006-07-29 19:46:11 +02:00
|
|
|
MASTER_SITE_SUBDIR=mezz
|
|
|
|
|
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
|
|
|
COMMENT= A port of the win32 DC++ direct connect client to POSIX-like systems
|
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GNOME= libglade2
|
|
|
|
USE_SCONS= yes
|
2006-12-15 06:21:54 +01:00
|
|
|
USE_OPENSSL= yes
|
2006-07-29 19:46:11 +02:00
|
|
|
|
2006-08-04 10:09:50 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
SCONS_ARGS= debug=1
|
|
|
|
STRIP=
|
|
|
|
.else
|
|
|
|
SCONS_ARGS= release=1
|
|
|
|
.endif
|
|
|
|
|
2006-08-07 20:03:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= does not compile on FreeBSD 4.x, due to lack of wide character in libc
|
|
|
|
.endif
|
|
|
|
|
2006-07-29 19:46:11 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; s|%%CXX%%|${CXX}|g ; \
|
|
|
|
s|%%CXXFLAGS%%|${CXXFLAGS}|g' ${WRKSRC}/SConstruct
|
|
|
|
|
2006-08-07 20:03:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|