538ec70569
using wxWindows class library
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: lmule
|
|
# Date created: Tue Mar 11 05:06:20 UTC 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lmule
|
|
PORTVERSION= 1.1.11.b
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= lmule
|
|
DISTNAME= ${PORTNAME}-1.1.11b
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Port of eMule eDonkey P2P client using wxWindows class library
|
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
|
|
wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOMENG= yes
|
|
USE_GNOME= gnomehier \
|
|
gnomehack \
|
|
gnomeprefix \
|
|
gtk12
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-included-gettext \
|
|
--with-libintl-prefix=${LOCALBASE} \
|
|
--with-wx-config=${WX_CONFIG}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
|
|
|
WX_CONFIG?= "${X11BASE}/bin/wx-config"
|
|
|
|
post-patch:
|
|
# it works for FreeBSD as well
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|(Linux)|FreeBSD/\1|' \
|
|
${WRKSRC}/src/*.cpp
|
|
|
|
.include <bsd.port.mk>
|