From e434818866566194cad5f634bf654478a7c4f0e3 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 10 Apr 2014 00:03:34 +0000 Subject: - Take maintainership - Stage - Add OPTION for SSL - Remove bsd.port.pre.mk - Enable SSL by default - Allow disabling BOOST dependency --- irc/ezbounce/Makefile | 58 ++++++++++++++++++-------------------------------- irc/ezbounce/pkg-plist | 1 + 2 files changed, 22 insertions(+), 37 deletions(-) (limited to 'irc') diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile index 16d6568fff8f..e5af76ff8c1f 100644 --- a/irc/ezbounce/Makefile +++ b/irc/ezbounce/Makefile @@ -3,13 +3,22 @@ PORTNAME= ezbounce PORTVERSION= 1.99.15 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://www.linuxftw.com/ezbounce/files/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bdrewery@FreeBSD.org COMMENT= A highly configurable IRC Proxy -BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs +OPTIONS_DEFINE= DOCS SSL COMPRESS +OPTIONS_DEFAULT=SSL COMPRESS +OPTIONS_SUB= yes + +SSL_USE= OPENSSL=YES +SSL_CONFIGURE_WITH= ssl +COMPRESS_BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs +COMPRESS_CONFIGURE_WITH=boost +COMPRESS_DESC= Chat log compression (requires boost) GNU_CONFIGURE= yes USES= gmake @@ -17,25 +26,7 @@ USE_GCC= any 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 - -NO_STAGE= yes -.include - -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} "" +.include post-patch: @${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \ @@ -43,22 +34,15 @@ post-patch: @${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 - + ${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${STAGEDIR}${PREFIX}/etc + ${INSTALL_MAN} ${WRKSRC}/docs/ezbounce.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/worklog ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/worklog ${STAGEDIR}${DOCSDIR} .endif - @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/irc/ezbounce/pkg-plist b/irc/ezbounce/pkg-plist index bc4ba0ecce92..d4cf3fa7948e 100644 --- a/irc/ezbounce/pkg-plist +++ b/irc/ezbounce/pkg-plist @@ -2,6 +2,7 @@ etc/ezb.conf.default @exec if [ ! -f %D/etc/ezb.conf ] ; then cp -p %D/%F %B/ezb.conf; fi sbin/ezbounce +man/man1/ezbounce.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO -- cgit dabot/npm_and_yarn/devel/electron6/files/ini-1.3.8 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines