1999-04-16 21:25:57 +02:00
|
|
|
# New ports collection makefile for: ezbounce
|
|
|
|
# Date created: 19 February 1999
|
1999-06-19 10:26:18 +02:00
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
1999-04-16 21:25:57 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-04-16 21:25:57 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:28:35 +02:00
|
|
|
PORTNAME= ezbounce
|
2007-01-16 10:21:14 +01:00
|
|
|
PORTVERSION= 1.04c
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= irc
|
2007-01-16 10:21:14 +01:00
|
|
|
MASTER_SITES= http://druglord.freelsd.org/ezbounce/files/ \
|
|
|
|
ftp://ftp.rewt.org.uk/pub/distfiles/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
2003-07-31 00:56:55 +02:00
|
|
|
|
2008-06-17 21:29:50 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:17:25 +01:00
|
|
|
COMMENT= A highly configurable IRC Proxy
|
1999-04-16 21:25:57 +02:00
|
|
|
|
2003-06-10 17:15:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-04-16 21:25:57 +02:00
|
|
|
|
2006-02-09 16:25:06 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2002-05-28 02:39:56 +02:00
|
|
|
MAN1= ezbounce.1
|
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if !defined(WITH_MDIDENTD)
|
2002-05-28 02:39:56 +02:00
|
|
|
ALL_TARGET= ezbounce_src
|
|
|
|
PLIST_SUB+= MDIDENTD="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MDIDENTD=""
|
|
|
|
.endif
|
|
|
|
|
2003-06-10 17:15:29 +02:00
|
|
|
.if defined(WITH_SSL)
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
|
|
|
PLIST_SUB+= SSL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SSL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-08-16 04:33:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-06-10 17:15:29 +02:00
|
|
|
pre-everything::
|
2005-01-28 08:38:56 +01:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "You may use the following build options:"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " WITH_SSL=yes Enable SSL support"
|
|
|
|
@${ECHO_MSG} " WITH_MDIDENTD=yes Install the mdidentd binary to"
|
|
|
|
@${ECHO_MSG} " modify ident replies"
|
|
|
|
@${ECHO_MSG} ""
|
2003-06-10 17:15:29 +02:00
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
post-patch:
|
|
|
|
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
|
2002-05-28 02:39:56 +02:00
|
|
|
${WRKSRC}/ezb.conf.default
|
2005-01-28 08:38:56 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|=-O2|="$$CXXFLAGS"|g' ${WRKSRC}/configure
|
2000-12-22 17:55:05 +01:00
|
|
|
|
1999-04-16 21:25:57 +02:00
|
|
|
do-install:
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
|
2002-05-28 02:39:56 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${PREFIX}/etc
|
2002-05-30 04:57:49 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/misc/ezbounce.1 ${PREFIX}/man/man1
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if defined(WITH_MDIDENTD)
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
|
|
|
|
.endif
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2002-06-07 23:27:30 +02:00
|
|
|
@if [ ! -f ${PREFIX}/etc/ezb.conf ]; then \
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf; \
|
|
|
|
fi
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-06-10 17:15:29 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/worklog ${DOCSDIR}
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if defined(WITH_MDIDENTD)
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
|
2003-06-10 17:15:29 +02:00
|
|
|
${DOCSDIR}/mdidentd.README
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_SSL)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.SSL ${DOCSDIR}
|
2002-05-28 02:39:56 +02:00
|
|
|
.endif
|
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
.endif
|
2006-02-09 16:25:06 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-04-16 21:25:57 +02:00
|
|
|
|
2004-08-16 04:33:05 +02:00
|
|
|
.include <bsd.port.post.mk>
|