ef8eaee757
A big Thank You to the original contributors of these ports: * Alexander Botero-Lowry <alex@foxybanana.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Attila Nagy <bra@fsn.hu> * Chad J. Milios <milios@ccsys.com> * Damian Gerow <dgerow@afflictions.org> * Daniel Morante <daniel@morante.net> * Dave Cottlehuber <dch@skunkwerks.at> * Dereckson <dereckson@gmail.com> * Devin Teske <dteske@FreeBSD.org> * Dmitriy Limonov * Doug Barton <dougb@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Florent Thoumie <flz@xbsd.org> * Ganael LAPLANCHE <ganael.laplanche@martymac.org> * Gea-Suan Lin <gslin@gslin.org> * Holger Lamm <holger@e-gitt.net> * Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org> * Jeremy Faulkner <gldisater@gldis.ca> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Maxim Ignatenko <gelraen.ua@gmail.com> * Michael Johnson <ahze@ahze.net> * Munish Chopra <mchopra@engmail.uwaterloo.ca> * Oleg Alexeenkov <proler@gmail.com> * Oleg R. Muhutdinov <mor@WhiteLuna.com> * Pankov Pavel <pankov_p@mail.ru> * Pav Lucistnik <pav@oook.cz> * Rod Taylor <rbt@zort.on.ca> * Ryan Steinmetz <zi@FreeBSD.org> * Shaun Amott <shaun@FreeBSD.org> * Stas Timokhin <stast@bsdportal.ru> * Sverrir Valgeirsson <e96sv@yahoo.se> and * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Vasil Dimov <vd@FreeBSD.org> * Yashin Dmitry <yashin.dm@gmail.com> * glocke@bsdstammtisch.at With hat: portmgr
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
PORTNAME= minder
|
|
PORTVERSION= 2.0.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= http://www.alhem.net/project/minder/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Small network application for automatic maintenance of peer lists
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libSockets.so:net/Sockets
|
|
|
|
USES= gmake gnome pkgconfig ssl
|
|
USE_GNOME= libxml2
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
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>
|