freebsd-ports/net-p2p/minder/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= minder
PORTVERSION= 2.0.2
PORTREVISION= 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= http://www.alhem.net/project/minder/
2008-11-30 05:21:07 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Small network application for automatic maintenance of peer lists
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libSockets.so:${PORTSDIR}/net/Sockets
USES= gmake pkgconfig
USE_GNOME= libxml2
USE_OPENSSL= yes
CFLAGS+= -DHAVE_OPENSSL
CPPFLAGS+= $$(pkg-config --cflags libxml-2.0) \
-I${LOCALBASE}/include/Sockets -I${LOCALBASE}/include
LDFLAGS+= $$(pkg-config --libs libxml-2.0) \
-L${LOCALBASE}/lib
PORTEXAMPLES= minder.cfg
PLIST_FILES= bin/minder
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS|#CFLAGS| ; \
s|^CPPFLAGS =|CPPFLAGS +=| ; \
s|-L/usr/local/lib|$$(LDFLAGS)| ; \
s|-luuid|| ; \
s|-lpthread|-pthread| ; \
s|g++|$$(CXX)|' ${BUILD_WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e \
's|(__sighandler_t)||' ${WRKSRC}/minder.cpp
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} minder \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${FILESDIR} && ${INSTALL_DATA} minder.cfg.sample \
${STAGEDIR}${EXAMPLESDIR}/minder.cfg)
.include <bsd.port.mk>