diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 08:03:34 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 08:03:34 +0800 |
commit | e434818866566194cad5f634bf654478a7c4f0e3 (patch) | |
tree | 8bd3b51cd13c5ace787c589c4a5ee78f8c6722ec /irc | |
parent | 6ad6ec28b2b300ca1f914c42691bc79c5450f026 (diff) | |
download | freebsd-ports-gnome-e434818866566194cad5f634bf654478a7c4f0e3.tar.gz freebsd-ports-gnome-e434818866566194cad5f634bf654478a7c4f0e3.tar.zst freebsd-ports-gnome-e434818866566194cad5f634bf654478a7c4f0e3.zip |
- Take maintainership
- Stage
- Add OPTION for SSL
- Remove bsd.port.pre.mk
- Enable SSL by default
- Allow disabling BOOST dependency
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ezbounce/Makefile | 58 | ||||
-rw-r--r-- | irc/ezbounce/pkg-plist | 1 |
2 files changed, 22 insertions, 37 deletions
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 <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} "" +.include <bsd.port.options.mk> 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 <bsd.port.post.mk> +.include <bsd.port.mk> 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 |