forked from Lainports/freebsd-ports
Night Light IRC Proxy is a multi-user IRC (Internet Relay
Chat) proxy written in C.
An IRC proxy (or bouncer) is a program that run on a machine
between your IRC client and the IRC server. The ircproxy
connect to the IRC server, then you connect to the ircproxy
with your IRC client. The ircproxy program will forward
data sent by the IRC server to one or more IRC clients
connected to the ircproxy and will forward data sent from
the IRC clients to the IRC server.
PR: ports/56557
Submitted by: Jonas Kvinge <jonas@brokenarrow.night-light.net>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# New ports collection makefile for: ircproxy
|
|
# Date created: 10 July 2003
|
|
# Whom: Jonas Kvinge <jonas@night-light.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ircproxy
|
|
PORTVERSION= 1.2.41
|
|
CATEGORIES= irc
|
|
MASTER_SITES= ftp://ftp.night-light.net/pub/unix/ircproxy/
|
|
DISTNAME= ircproxy-1.2.41d.pl2
|
|
|
|
MAINTAINER= jonas@jonas.night-light.net
|
|
COMMENT= An IRC proxy server
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${LOCALBASE}
|
|
|
|
#
|
|
# Copy the freebsd port setup file to automatically generate setup.h
|
|
# So we dont need to do make config, I think this might be the best
|
|
# solution.
|
|
#
|
|
pre-build:
|
|
@if [ ! -f ${WRKSRC}/config/setup-file ]; then ( \
|
|
if [ ! -f ${WRKSRC}/setup/setup-freebsd ]; then ( ${ECHO} "Missing the setup-freebsd file!"; exit 1; ) fi; \
|
|
${CP} ${WRKSRC}/setup/setup-freebsd ${WRKSRC}/setup/setup-file || exit 1; \
|
|
cd ${WRKSRC}/setup; SETUP_BATCH=y SETUP_QUIET=y ${SH} ./setup || exit 1; \
|
|
cd ${WRKSRC}/setup; ${SH} ./setup-makefile || exit 1; \
|
|
) \
|
|
fi;
|
|
${CHMOD} u+x ${WRKSRC}/pkg-install || exit 1
|
|
${CHMOD} u+x ${WRKSRC}/pkg-deinstall || exit 1
|
|
|
|
.include "bsd.port.mk"
|