mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- Remove deprecated GTK/XMMS support
- While I'm here: - Add DOCS to OPTIONS_DEFINE - Remove IPV6 from OPTIONS_DEFAULT PR: ports/181628 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (co-maintainer)
This commit is contained in:
parent
bd503ebb02
commit
dec5b2ef72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326679
@ -28,14 +28,12 @@ PORTDOCS= *
|
||||
DATADIR= ${PREFIX}/share/bx
|
||||
MAN1= BitchX.1
|
||||
|
||||
OPTIONS_DEFINE= ESOUND GNOME IPV6 LATIN PLUGINS SSL XMMS
|
||||
OPTIONS_DEFINE= IPV6 LATIN PLUGINS SSL DOCS
|
||||
|
||||
GNOME_DESC= Legacy GTK/GNOME frontend
|
||||
LATIN_DESC= Recommended for ISO-8859-1 display
|
||||
PLUGINS_DESC= Build a handful of BitchX plugins
|
||||
XMMS_DESC= Build XMMS plugin
|
||||
|
||||
OPTIONS_DEFAULT= IPV6 PLUGINS SSL
|
||||
OPTIONS_DEFAULT=PLUGINS SSL
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -47,20 +45,6 @@ CONFIGURE_ARGS+= --enable-ipv6
|
||||
CONFIGURE_ARGS+= --with-ssl
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MESOUND}
|
||||
USE_GNOME= gnomelibs
|
||||
CONFIGURE_ARGS+= --with-gtk
|
||||
. if ${PORT_OPTIONS:MESOUND}
|
||||
USE_GNOME+= esound
|
||||
CONFIGURE_ARGS+= --enable-sound
|
||||
. endif
|
||||
CFLAGS+= -I${LOCALBASE}/include/gnome-1.0
|
||||
PLIST_SUB+= NOGNOME="@comment " GNOME=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gtk
|
||||
PLIST_SUB+= GNOME="@comment " NOGNOME=""
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPLUGINS}
|
||||
PLUGINS= abot acro aim arcfour autocycle blowfish cavlink cdrom encrypt \
|
||||
europa fserv hint nap nicklist pkga possum qbx qmail wavplay
|
||||
@ -69,14 +53,6 @@ PLIST_SUB+= PLUGINS=""
|
||||
PLIST_SUB+= PLUGINS="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MXMMS}
|
||||
LIB_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
||||
PLUGINS+= xmms
|
||||
PLIST_SUB+= XMMS=""
|
||||
.else
|
||||
PLIST_SUB+= XMMS="@comment "
|
||||
.endif
|
||||
|
||||
.if !empty(PLUGINS)
|
||||
CONFIGURE_ARGS+= --with-plugins="${PLUGINS:C/\$$/,/g}"
|
||||
.else
|
||||
@ -91,12 +67,8 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MGNOME}
|
||||
${STRIP_CMD} ${PREFIX}/bin/gtkBitchX
|
||||
.else
|
||||
${STRIP_CMD} ${PREFIX}/bin/BitchX
|
||||
${STRIP_CMD} ${PREFIX}/bin/scr-bx
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${DOCSDIR}
|
||||
|
@ -1,9 +1,7 @@
|
||||
@unexec if [ -f %D/%%DATADIR%%/script/bxglobal.old ]; then rm -f %D/share/bx/script/bxglobal.old; fi
|
||||
%%NOGNOME%%bin/BitchX
|
||||
%%NOGNOME%%bin/BitchX-%%DISTVERSION%%
|
||||
%%GNOME%%bin/gtkBitchX
|
||||
%%GNOME%%bin/gtkBitchX-%%DISTVERSION%%
|
||||
%%NOGNOME%%bin/scr-bx
|
||||
bin/BitchX
|
||||
bin/BitchX-%%DISTVERSION%%
|
||||
bin/scr-bx
|
||||
%%DATADIR%%/BitchX.help
|
||||
%%DATADIR%%/BitchX.ircnames
|
||||
%%DATADIR%%/BitchX.quit
|
||||
@ -27,7 +25,6 @@
|
||||
%%PLUGINS%%%%DATADIR%%/plugins/autocycle.so
|
||||
%%PLUGINS%%%%DATADIR%%/plugins/cdrom.so
|
||||
%%PLUGINS%%%%DATADIR%%/plugins/nicklist.so
|
||||
%%XMMS%%%%DATADIR%%/plugins/xmms.so
|
||||
%%DATADIR%%/script/SCRIPTS
|
||||
%%DATADIR%%/script/actplug.gmz
|
||||
%%DATADIR%%/script/bxglobal
|
||||
@ -77,7 +74,7 @@
|
||||
%%DATADIR%%/translation/SWISS
|
||||
%%DATADIR%%/translation/UNITED_KINGDOM
|
||||
%%DATADIR%%/translation/UNITED_KINGDOM_COM
|
||||
%%NOGNOME%%%%DATADIR%%/wserv
|
||||
%%DATADIR%%/wserv
|
||||
@dirrm %%DATADIR%%/translation
|
||||
@dirrm %%DATADIR%%/script
|
||||
@dirrm %%DATADIR%%/plugins
|
||||
|
Loading…
Reference in New Issue
Block a user