ngircd: fix options names and don't remove the license file

This commit is contained in:
sxvghd 2020-01-14 19:32:27 +01:00
parent 694eb520b6
commit 57780ff5be
2 changed files with 5 additions and 6 deletions

View File

@ -21,7 +21,6 @@ INSTALLATION_DIRS+= share/examples/ngircd
post-install:
${MV} ${DESTDIR}${PREFIX}/share/doc/ngircd/sample-ngircd.conf ${DESTDIR}${PREFIX}/share/examples/ngircd/
${RM} ${DESTDIR}${PREFIX}/share/doc/ngircd/COPYING
${RM} ${DESTDIR}${PREFIX}/share/doc/ngircd/HowToRelease.txt
${RM} ${DESTDIR}${PREFIX}/share/doc/ngircd/INSTALL
${RM} ${DESTDIR}${PREFIX}/etc/ngircd.conf

View File

@ -1,6 +1,6 @@
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.ngircd
PKG_SUPPORTED_OPTIONS= zlib tcpwrap ident pam iconv inet6 sniffer irc+ strictrfc
PKG_SUPPORTED_OPTIONS= zlib tcpwrappers ident pam iconv inet6 ngircd-sniffer ngircd-irc+ ngircd-strictrfc
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls openssl
PKG_SUGGESTED_OPTIONS= zlib ident inet6 gnutls
@ -22,7 +22,7 @@ CONFIGURE_ARGS+= --with-gnutls
. include "../../security/gnutls/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mtcpwrap)
.if !empty(PKG_OPTIONS:Mtcpwrappers)
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
@ -45,14 +45,14 @@ CONFIGURE_ARGS+= --with-iconv
CONFIGURE_ARGS+= --enable-ipv6
.endif
.if !empty(PKG_OPTIONS:Msniffer)
.if !empty(PKG_OPTIONS:Mngircd-sniffer)
CONFIGURE_ARGS+= --enable-sniffer
.endif
.if !empty(PKG_OPTIONS:Mirc+)
.if !empty(PKG_OPTIONS:Mngircd-irc+)
CONFIGURE_ARGS+= --enable-ircplus
.endif
.if !empty(PKG_OPTIONS:Mstrictrfc)
.if !empty(PKG_OPTIONS:Mngircd-strictrfc)
CONFIGURE_ARGS+= --enable-strict-rfc
.endif