freebsd-ports/net-p2p/gtk-gnutella/Makefile

117 lines
3.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gtk-gnutella
# Date created: 19 May, 2000
# Whom: rbt@zort.on.ca
#
# $FreeBSD$
#
#
# A quick note on configurable make symbols:
#
# INTERACTIVE_CONFIGURE: Launches Configure in its default mode,
# which is *very* interactive. Disabled here by default to conform to
# FreeBSD guidelines, this mode is useful if you have problems with the
# default Configure.
#
# WITH_GTK2: Configure and build for gtk2.
#
# WITH_PORTABILITY: Configure code to use the PATH variable at run-time
# at a cost in performance. Useful if you intend to move the executable
# to multiple machines.
#
# WITH_DEBUG: Compile with debugging symbols. Useful if you intend to make
# a bug report.
#
PORTNAME= gtk-gnutella
PORTVERSION= 0.96.1
Populate newly create net-p2p category with these ports: ftp/jigdo net/amule1 net/amule2 net/apollon net/azureus net/bnbt net/btpeer net/btqueue net/cdonkey net/ctorrent net/dcd net/dclib net/dctc net/dctc-gui net/dctc-gui-qt net/edonkey-gui-gtk net/edonkey-gui-gtk-urlslave net/fcptools net/fidelio net/freenet net/frost net/giftcurs net/giftoxic net/giftui net/gift net/gift-fasttrack net/gift-gnutella net/gift-openft net/gkrellm-gift net/gnewtellium net/gnome-btdownload net/gnunet net/gtkhx net/gtk-gnutella net/gtorrentviewer net/hagelslag net/hx net/i2p net/javadc net/kmldonkey net/ktorrent net/libbt net/liberator net/libfreenet net/libpdtp net/libtorrent net/limewire net/linux-agsatellite net/linux-edonkey-core net/linux-edonkey-server net/linux-jigdo net/linux-overnet-core net/minder net/mldonkey net/mldonkey-core net/mldonkey-core-devel net/mldonkey-devel net/mldonkey-gui net/mldonkey-gui-devel net/mldonkey-perlreactor net/mldonkey-sancho net/mldonkey-serverspy net/mldonkey-urlslave net/mutella net/mute-net net/mute-net-gui net/mute-net-text net/napshare net/nicotine net/opendchub net/peercast net/phex net/pyslsk net/py-bittornado net/py-bittornado-core net/py-bittorrent net/py-bittorrent-core net/py-bittorrent-core-devel net/py-bittorrent-devel net/py-fngrab net/py-kenosis net/py-kenosis-bittorrent net/py-py2play net/p5-pdonkey net/qtella net/qtorrent net/rtorrent net/squall net/torrentflux net/torrentsniff net/trackerbt net/transmission net/valknut net/verlihub net/verlihub-plugins net/xmule net/xnap misc/ed2k misc/edonkey-tool-hash misc/linux-edonkey-tool-recovermet Repocopies by: marcus
2006-01-30 22:36:28 +01:00
CATEGORIES= net-p2p
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://gtk-gnutella.sourceforge.net/download/ \
ftp://gtk-gnutella.sourceforge.net/pub/gtk-gnutella/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jonas@schiebtsich.net
2003-02-21 14:28:59 +01:00
COMMENT= GTK based Gnutella client
USE_PERL5= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_BISON= yes
USE_GNOME= libxml2
INSTALL_TARGET= install install.man
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -Dyacc='bison -y' -Dofficial='true' -Dprefix=${PREFIX} \
-Dprivlib=${PREFIX}/share/gtk-gnutella \
-Dsysman=${PREFIX}/man/man1 -Dlocale=${PREFIX}/share/locale \
-Dcc='${CC}' -Dccflags='${CFLAGS} -I${LOCALBASE}/include' \
-Doptimize='undef' -Dlibpth='/usr/lib ${LOCALBASE}/lib'
MAN1= gtk-gnutella.1
OPTIONS= GTK2 "Build with GTK2 frontend" on \
TLS "Enable GNU TLS encryption support" on \
NLS "Enable native language support" on \
IPV6 "Enable IPv6 support" on \
DBUS "Enable D-BUS IPC support" off \
DEBUG "Build with debugging symbols" off \
PORTABILITY "Use the PATH variable at run-time" off
.include <bsd.port.pre.mk>
.if !defined(INTERACTIVE_CONFIGURE)
CONFIGURE_ARGS+= -d -e
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= -Doptimize=-g -Uofficial=
.endif
.if defined(WITH_GTK2)
CONFIGURE_ARGS+= -Dgtkversion=2
USE_GNOME+= gtk20
.else
CONFIGURE_ARGS+= -Dgtkversion=1
USE_GNOME+= gtk12
.endif
.if defined(WITH_PORTABILITY)
CONFIGURE_ARGS+= -Dd_portable=true
.endif
.if defined(WITH_TLS)
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.else
CONFIGURE_ARGS+= -U d_gnutls
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= -U d_enablenls
.else
CONFIGURE_ARGS+= -D d_enablenls
LIB_DEPENDS+= intl:${PORTSDIR}/devel/gettext
PLIST_FILES= share/locale/de/LC_MESSAGES/gtk-gnutella.mo \
share/locale/el/LC_MESSAGES/gtk-gnutella.mo \
share/locale/es/LC_MESSAGES/gtk-gnutella.mo \
share/locale/fr/LC_MESSAGES/gtk-gnutella.mo \
share/locale/hu/LC_MESSAGES/gtk-gnutella.mo \
share/locale/ja/LC_MESSAGES/gtk-gnutella.mo \
share/locale/nb/LC_MESSAGES/gtk-gnutella.mo \
share/locale/nl/LC_MESSAGES/gtk-gnutella.mo \
share/locale/uk/LC_MESSAGES/gtk-gnutella.mo \
share/locale/zh_CN/LC_MESSAGES/gtk-gnutella.mo
.endif
.if !defined(WITH_IPV6)
CONFIGURE_ARGS+= -D ipv6=false
.endif
.if defined(WITH_DBUS)
LIB_DEPENDS+= dbus:${PORTSDIR}/devel/dbus
.else
CONFIGURE_ARGS+= -D dbus=false
.endif
.include <bsd.port.post.mk>