Make geany-themes an optional dependency of geany.

This avoids geany-themes forcing the gtk3 flavor of geany to be installed.

Submitted by:	james.wright@digital-chaos.com
Approved by:	james.wright@digital-chaos.com (maintainer of geany-themes)
Differential Revision:	https://reviews.freebsd.org/D22505
This commit is contained in:
Guido Falsi 2019-11-24 10:03:51 +00:00
parent ae530bf429
commit d8374998d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518310
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= geany-themes PORTNAME= geany-themes
DISTVERSION= 1.24 DISTVERSION= 1.24
PORTREVISION= 1
CATEGORIES= devel editors CATEGORIES= devel editors
MAINTAINER= james.wright@digital-chaos.com MAINTAINER= james.wright@digital-chaos.com
@ -11,8 +12,6 @@ LICENSE= GPLv2+ BSD PD
LICENSE_COMB= multi LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= geany:devel/geany
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= geany GH_ACCOUNT= geany

View file

@ -33,7 +33,7 @@ INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
SHEBANG_FILES= scripts/gen-api-gtkdoc.py SHEBANG_FILES= scripts/gen-api-gtkdoc.py
OPTIONS_DEFINE= VTE NLS DOCS OPTIONS_DEFINE= DOCS NLS THEMES VTE
OPTIONS_DEFAULT= VTE OPTIONS_DEFAULT= VTE
OPTIONS_SUB= yes OPTIONS_SUB= yes
@ -44,6 +44,9 @@ VTE_DESC= Embedded virtual terminal
VTE_CONFIGURE_ENABLE= vte VTE_CONFIGURE_ENABLE= vte
VTE_USE= GNOME=vte VTE_USE= GNOME=vte
THEMES_DESC= Additional color schemes
THEMES_RUN_DEPENDS= ${LOCALBASE}/share/geany/colorschemes/bespin.conf:devel/geany-themes
.if ${FLAVOR} == gtk2 .if ${FLAVOR} == gtk2
USE_GNOME+= gtk20 USE_GNOME+= gtk20
CONFIGURE_ARGS+= --disable-gtk3 CONFIGURE_ARGS+= --disable-gtk3