1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/irc/gseen.mod/Makefile
Pav Lucistnik f00794b9ea Add gseen.mod, a !seen module for eggdrop, an IRC bot.
gseen works similar to countless seen scripts. It logs for each user
when he or she was last seen in the channel and makes this information
publically available. It takes switching nick names into consideration
and supports wildcards in search-requests.

The advantage of gseen in contrast to most other seen scripts is it's speed.
gseen can handle databases of several thousand nicks withouta lag in seen
requests. It also supports several languages.

PR:		ports/67386
Submitted by:	Gerrit Beine <tux@pinguru.net>
2004-06-01 14:19:53 +00:00

43 lines
1.3 KiB
Makefile

# Ports collection makefile for: gseen.mod
# Date created: 28 Mai 2004
# Whom: Gerrit Beine (<tux@pinguru.net>)
#
# $FreeBSD$
#
PORTNAME= gseen.mod
PORTVERSION= 1.1.1.p3
CATEGORIES= irc
MASTER_SITES= http://www.visions-of-fantasy.de/gseen.mod/
DISTNAME= ${PORTNAME}.${PORTVERSION:S/p/dev/}
MAINTAINER= tux@pinguru.net
COMMENT= A seen-module for the eggdrop IRC bot
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/irc/eggdrop:configure
RUN_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
WRKSRC= ${WRKDIR}/eggdrop
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../irc/eggdrop/work/eggdrop1.6.15 ${WRKSRC}
cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
pre-build:
@${ECHO_CMD} gseen.mod >> ${WRKSRC}/.modules
@${ECHO_CMD} gseen.mod >> ${WRKSRC}/.known_modules
@cd ${WRKSRC} && ./configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gseen.so ${PREFIX}/lib/eggdrop
@${INSTALL_DATA} ${WRKSRC}/src/mod/gseen.mod/*lang ${PREFIX}/share/eggdrop/language
@${INSTALL_DATA} ${WRKSRC}/src/mod/gseen.mod/gseen.conf ${PREFIX}/etc
@${ECHO_MSG} "Please add the line"
@${ECHO_MSG} "source /usr/local/etc/gseen.conf"
@${ECHO_MSG} "at the end of your eggdrop config file"
@${ECHO_MSG} "and .rehash your bot"
.include <bsd.port.mk>