blob: cd1f0f3b2adeb9e9fa51aa7c9cdf225cdf1a990c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: ezbounce
# Date created: 19 February 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ezbounce
PORTVERSION= 1.99.15
CATEGORIES= irc
MASTER_SITES= http://www.linuxftw.com/ezbounce/files/
MAINTAINER= flo@FreeBSD.org
COMMENT= A highly configurable IRC Proxy
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
USE_GMAKE= yes
SUB_FILES= pkg-message
MAN1= ezbounce.1
.if defined(WITH_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-ssl
PLIST_SUB+= SSL=""
.else
PLIST_SUB+= SSL="@comment "
.endif
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_SSL=yes Enable SSL support"
@${ECHO_MSG} ""
post-patch:
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
${WRKSRC}/ezb.conf.default
@${REINPLACE_CMD} -e 's|=-O2|="$$CXXFLAGS"|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/docs/ezbounce.1 ${PREFIX}/man/man1
@if [ ! -f ${PREFIX}/etc/ezb.conf ]; then \
${INSTALL_DATA} \
${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf; \
fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/worklog ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|