# New ports collection makefile for: Direct Connect Text Client # Date created: Thu Nov 22 00:19:27 BRST 2001 # Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> # # $FreeBSD$ # PORTNAME= dctc PORTVERSION= 0.84.1 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://unixpages.org/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= A DirectConnect (www.neo-modus.com) text client for file sharing BROKEN= Does not fetch BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 USE_GNOME= glib12 USE_PERL5_RUN= yes GNU_CONFIGURE= yes LDFLAGS+= ${PTHREAD_LIBS:S/"//g} CPPFLAGS+= ${PTHREAD_CFLAGS} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-manual-db-detect --with-db=${LOCALBASE} MANCOMPRESSED= no MAN1= dctc.1 DCTC_BINS= dctc dctc_cmd DOC_DIRS= Documentation Documentation/DCextensions DOC_FILES= COPYING ChangeLog INSTALL README \ KNOWN_BUGS TODO \ Documentation/BerkeleyDB \ Documentation/BerkeleyDB.nl \ Documentation/DCextensions/p2p_capabilities \ Documentation/DCextensions/p2p_capabilities.nl \ Documentation/DCextensions/search_by_content \ Documentation/DCextensions/search_by_content.nl \ Documentation/GDL.nl \ Documentation/GDL Documentation/VAR \ Documentation/LS_cache Documentation/UNODE.nl \ Documentation/LS_cache.nl \ Documentation/VAR.nl \ Documentation/UNODE Documentation/Vshare \ Documentation/Vshare.nl \ Documentation/commands \ Documentation/commands.nl \ Documentation/programs.nl \ Documentation/programs.pl \ Documentation/output.nl \ Documentation/output Documentation/programs .include <bsd.port.pre.mk> post-extract: @${CP} ${FILESDIR}/lp_mutex.c ${WRKSRC}/src post-patch: .for file in ${DOC_FILES} @${REINPLACE_CMD} -E -e 's|(hublist)|dc_\1|' ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -E -e \ 's/(LOCK.*)\(inet_ntoa\)/\1(inet_lock_ntoa)/' \ ${WRKSRC}/src/* @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 \ ${REINPLACE_CMD} -E -e \ 's|<(db.h>)|<db4/\1|' @${REINPLACE_CMD} -E -e 's|(db)-|\1|g;s|db4\.0|db4|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL}|' \ ${WRKSRC}/GDLjoiner @${REINPLACE_CMD} -E -e \ 's|^(dctc_SOURCES.+)$$|\1 lp_mutex.c|; \ s|^(dctc_OBJECTS[^\\]+)(\\*)$$|\1 lp_mutex.o \2|' \ ${WRKSRC}/src/Makefile.in pre-build: @${ECHO_CMD} '#ifndef ENODATA' >> ${CONFIGURE_WRKSRC}/config.h @${ECHO_CMD} '# define ENODATA ENOMSG' >> ${CONFIGURE_WRKSRC}/config.h @${ECHO_CMD} '#endif' >> ${CONFIGURE_WRKSRC}/config.h @${ECHO_CMD} '#define HAVE_SYS_PARAM_H 1' >> ${CONFIGURE_WRKSRC}/config.h # disable GNU auto* tools @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \ -n 10 ${REINPLACE_CMD} -E -e \ 's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!' do-install: .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for dir in ${DOC_DIRS} @${MKDIR} ${DOCSDIR}/${dir} .endfor .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file} .endfor .endif @${MKDIR} ${PREFIX}/share/${PORTNAME} @${INSTALL_SCRIPT} ${WRKSRC}/GDLjoiner \ ${PREFIX}/share/${PORTNAME} @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 @${INSTALL_PROGRAM} ${WRKSRC}/src/hublist ${PREFIX}/bin/dc_hublist .for file in ${DCTC_BINS} @${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin .endfor .include <bsd.port.post.mk> 'dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option> <option value='gnome-3.22'>gnome-3.22</option> <option value='gnome-3.24'>gnome-3.24</option> <option value='gnome-3.26'>gnome-3.26</option> <option value='gnome-3.28'>gnome-3.28</option> <option value='gnome-3.32'>gnome-3.32</option> <option value='gnome-3.36'>gnome-3.36</option> <option value='gstreamer'>gstreamer</option> <option value='gstreamer-1.16'>gstreamer-1.16</option> <option value='gstreamer0.10-removal'>gstreamer0.10-removal</option> <option value='main'>main</option> <option value='master'>master</option> <option value='mate-1.16'>mate-1.16</option> <option value='mate-1.18' selected='selected'>mate-1.18</option> <option value='mate-1.20'>mate-1.20</option> <option value='mate-1.22'>mate-1.22</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=mate-1.18'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=mate-1.18'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils/dfc/Makefile?h=mate-1.18'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/sysutils/dfc/Makefile?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/sysutils/dfc/Makefile?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/sysutils/dfc/Makefile?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/sysutils/dfc/Makefile?h=mate-1.18'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils/dfc/Makefile'> <input type='hidden' name='h' value='mate-1.18'/><input type='hidden' name='id' value='ab71ac88f0ead2230b825b18a3ff8019c021b70a'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>sysutils</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils/dfc?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>dfc</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils/dfc/Makefile?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a'>Makefile</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils/dfc/Makefile?h=mate-1.18&id=ab71ac88f0ead2230b825b18a3ff8019c021b70a&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/sysutils/dfc/Makefile?h=mate-1.18&id=2c7ab3a6abb5534b2f23bfeef40f329717c70be7'>Fix plist with NLS</a></td><td>bapt</td><td><span title='2014-10-19 06:04:29 +0800'>2014-10-19</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>