Index: head/irc/anope/Makefile =================================================================== --- head/irc/anope/Makefile (revision 485087) +++ head/irc/anope/Makefile (revision 485088) @@ -1,101 +1,93 @@ # Created by: mat # $FreeBSD$ PORTNAME= anope PORTVERSION= 2.0.5 -PORTREVISION= 0 CATEGORIES= irc MAINTAINER= ports@FreeBSD.org COMMENT= Set of IRC services for IRC networks LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/docs/COPYING -USES= cmake:outsource shebangfix -CMAKE_ARGS+= -DINSTDIR:STRING="${LOCALBASE}/anope" -CXXFLAGS+= "-I${LOCALBASE}/include" -LDFLAGS+= "-L${LOCALBASE}/lib" +USES= cmake:outsource localbase:ldflags shebangfix +CMAKE_ARGS= -DINSTDIR:STRING="${PREFIX}/anope" SHEBANG_FILES= ${WRKSRC}/src/tools/*.sh CFLAGS_amd64= -fPIC USE_GITHUB= yes USE_RC_SUBR= anope SUB_FILES= pkg-message OPTIONS_DEFINE= GNUTLS LDAP MYSQL NLS OPENSSL PCRE POSIX REDIS SASL SQLITE STATS TRE OPTIONS_DEFAULT= MYSQL OPENSSL POSIX OPTIONS_SUB= yes POSIX_DESC= POSIX Regex Module STATS_DESC= Channel Statistics Module TRE_DESC= Tre Regex Module GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls -LDAP_VARS_ON= USE_OPENLDAP=yes +LDAP_USE= OPENLDAP=yes MYSQL_USES= mysql NLS_USES= gettext OPENSSL_USES= ssl REDIS_RUN_DEPENDS= redis:databases/redis PCRE_LIB_DEPENDS= libpcre.so:devel/pcre SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SQLITE_USES= sqlite TRE_LIB_DEPENDS= libtre.so:textproc/libtre -.include - -.include - -post-patch: -.if ${PORT_OPTIONS:MGNUTLS} +post-patch-GNUTLS-on: ${LN} -s ${WRKSRC}/modules/extra/m_ssl_gnutls.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MLDAP} + +post-patch-LDAP-on: ${LN} -s ${WRKSRC}/modules/extra/m_ldap.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_ldap_authentication.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_ldap_oper.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MMYSQL} + +post-patch-MYSQL-on: ${LN} -s ${WRKSRC}/modules/extra/m_mysql.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_authentication.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_log.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sql_oper.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MOPENSSL} + +post-patch-OPENSSL-on: ${LN} -s ${WRKSRC}/modules/extra/m_ssl_openssl.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSQLITE} + +post-patch-SQLITE-on: ${LN} -s ${WRKSRC}/modules/extra/m_sqlite.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MPCRE} + +post-patch-PCRE-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_pcre.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MPOSIX} + +post-patch-POSIX-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_posix.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSASL} + +post-patch-SASL-on: ${LN} -s ${WRKSRC}/modules/extra/m_sasl_dh-aes.cpp ${WRKSRC}/modules/ ${LN} -s ${WRKSRC}/modules/extra/m_sasl_dh-blowfish.cpp ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MSTATS} + +post-patch-STATS-on: ${LN} -s ${WRKSRC}/modules/extra/stats ${WRKSRC}/modules/ -.endif -.if ${PORT_OPTIONS:MTRE} + +post-patch-TRE-on: ${LN} -s ${WRKSRC}/modules/extra/m_regex_tre.cpp ${WRKSRC}/modules/ -.endif post-install: - ${MKDIR} ${STAGEDIR}/${LOCALBASE}/anope/data/backups - ${MKDIR} ${STAGEDIR}/${LOCALBASE}/anope/logs + @${MKDIR} ${STAGEDIR}${PREFIX}/anope/data/backups + @${MKDIR} ${STAGEDIR}${PREFIX}/anope/logs -.include +.include Index: head/irc/anope/pkg-descr =================================================================== --- head/irc/anope/pkg-descr (revision 485087) +++ head/irc/anope/pkg-descr (revision 485088) @@ -1,24 +1,24 @@ Anope is a set of Services for IRC networks that allows users to manage their nicks and channels in a secure and efficient way, and administrators to manage their network with powerful tools. Anope currently works with: - Bahamut 1.4.27 or later (including 1.8) - Charybdis 1.0 or later - DreamForge 4.6.7 - Hybrid 7 or later - InspIRCd 1.0 or later (including 1.1) - Plexus 2.0 or later (including 3.0) - PTlink 6.15 or later - RageIRCd 2.0 beta-6 or later - Ratbox 2.0.6 or later - ShadowIRCd 4.0 beta 7 or later - Solid IRCd 3.4.6 or later - UltimateIRCd 2.8.2 or later (including 3.0) - UnrealIRCd 3.1.1 or later (including 3.2) - ViagraIRCd 1.3 or later Anope could also work with some of the daemons derived by the ones listed above, but there's no support for them if they work or don't work. -WWW: http://www.anope.org/ +WWW: https://www.anope.org/