2002-01-22 16:55:17 +01:00
|
|
|
# New ports collection makefile for: eDonkey2000 GTK GUI for 'core' client
|
|
|
|
# Date created: Fri Jan 4 22:44:56 BRST 2002
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= edonkey
|
2004-04-08 17:51:08 +02:00
|
|
|
PORTVERSION= 0.6.2
|
2002-06-17 06:15:27 +02:00
|
|
|
CATEGORIES= net
|
2003-01-01 17:34:25 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ed2k-gtk-gui
|
2002-01-22 16:55:17 +01:00
|
|
|
PKGNAMESUFFIX= -gui-gtk
|
2003-12-05 07:53:30 +01:00
|
|
|
DISTNAME= ed2k-gtk-gui-${PORTVERSION}
|
2002-01-22 16:55:17 +01:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= GTK GUI to eDonkey2000 'core' command line client
|
2002-01-22 16:55:17 +01:00
|
|
|
|
2003-12-05 07:53:30 +01:00
|
|
|
LIB_DEPENDS= gnet-2.0:${PORTSDIR}/net/gnet2
|
2003-06-03 08:24:03 +02:00
|
|
|
RUN_DEPENDS= donkey:${PORTSDIR}/net/linux-edonkey-core
|
2002-01-22 16:55:17 +01:00
|
|
|
|
2003-12-05 07:53:30 +01:00
|
|
|
USE_GNOME= gtk20
|
2004-04-08 17:51:08 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
2002-06-17 06:15:27 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-01-01 17:34:25 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-04-08 17:51:08 +02:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
2003-01-01 17:34:25 +01:00
|
|
|
|
2003-12-05 07:53:30 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ed2k_gui
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
MAN1= ed2k-gtk-gui.1 ed2k_gui.1
|
|
|
|
.endif
|
|
|
|
|
2003-01-01 17:34:25 +01:00
|
|
|
post-patch:
|
|
|
|
.ifdef(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -E -e 's|^(SUBDIRS.*)docs|\1|' \
|
2003-12-05 07:53:30 +01:00
|
|
|
${WRKSRC}/Makefile.in
|
2002-06-17 06:15:27 +02:00
|
|
|
.endif
|
2004-04-08 17:51:08 +02:00
|
|
|
# fix build with GTK 2.4
|
|
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/ed2k_gui/Makefile.in
|
2002-06-17 06:15:27 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-01-01 17:34:25 +01:00
|
|
|
@${LN} -s ed2k_gui ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
|
2002-05-28 18:33:27 +02:00
|
|
|
|
2003-01-01 17:34:25 +01:00
|
|
|
.include <bsd.port.mk>
|