freebsd-ports/net-p2p/dctc-gui-qt/Makefile
Pav Lucistnik fbab09fee3 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 21:36:28 +00:00

81 lines
1.8 KiB
Makefile

# New ports collection makefile for: dctc qt gui
# Date created: Sun Jul 28 7:00:43 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dctc
PORTVERSION= 0.1.2
CATEGORIES= net-p2p
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dc-qt
PKGNAMESUFFIX= -gui-qt
DISTNAME= dc-qt-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
COMMENT= A Qt GUI for the Direct Connect (TM) dctc text client
RUN_DEPENDS= dctc:${PORTSDIR}/net-p2p/dctc
USE_QT_VER= 3
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
PLIST_FILES= bin/dc_qt
OPTIONS= XINE "Enable support for video preview using libxine" off
XINE_CONFIG?= ${X11BASE}/bin/xine-config
.ifndef(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
PORTDOCS= \
about.html \
advanced.html \
basic.html \
config.html \
connect.html \
index.html \
logo.png \
mainwindow.png \
searchdl.html
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
# with xine preview support
.ifdef(WITH_XINE)
LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine
CONFIGURE_ENV+= XINE_CONFIG=${XINE_CONFIG}
.else
CONFIGURE_ARGS+= --disable-preview
.endif
post-patch:
@${REINPLACE_CMD} -E \
-e 's|(HUBLIST[[:space:]]*=[[:space:]]*")hublist"|\1dc_hublist"|' \
${WRKSRC}/src/dc_hub.cc
.ifdef(NOPORTDOCS)
@${REINPLACE_CMD} -E \
-e 's|^(SUBDIRS).+$$|\1=|' \
${WRKSRC}/src/Makefile.in
.else
@${REINPLACE_CMD} -E \
-e 's|^(pkgdatadir).+$$|\1=${DOCSDIR}|' \
${WRKSRC}/src/doc/Makefile.in
.endif
post-configure:
# uphold CC/CXX/CFLAGS
@${REINPLACE_CMD} -E \
-e 's|^(CXXFLAGS.+)$$|\1 ${CXXFLAGS}|' \
${WRKSRC}/Makefile \
${WRKSRC}/src/Makefile
.include <bsd.port.post.mk>