Changeset View
Changeset View
Standalone View
Standalone View
devel/geany-plugins/Makefile
# Created by: Aldis Berjoza <aldis@bsdroot.lv> | # Created by: Aldis Berjoza <aldis@bsdroot.lv> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= geany-plugins | PORTNAME= geany-plugins | ||||
PORTVERSION= ${GEANY_VER} | PORTVERSION= ${GEANY_VER} | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
DISTFILES= # none | DISTFILES= # none | ||||
MAINTAINER= madpilot@FreeBSD.org | MAINTAINER= madpilot@FreeBSD.org | ||||
COMMENT= Geany plugins (meta port) | COMMENT= Geany plugins (meta port) | ||||
FLAVORS= gtk3 gtk2 | |||||
FLAVOR?= ${FLAVORS:[1]} | |||||
gtk2_CONFLICTS_INSTALL= geany-plugins | |||||
gtk2_PKGNAMESUFFIX= -gtk2 | |||||
gtk3_CONFLICTS_INSTALL= geany-plugins-gtk2 | |||||
USES= metaport | USES= metaport | ||||
OPTIONS_DEFINE= NLS ${GEANY_PLUGINS_ALL:tu} | OPTIONS_DEFINE= NLS | ||||
OPTIONS_DEFAULT= ${GEANY_PLUGINS_ALL:tu} | OPTIONS_GROUP= GTK2 ALL | ||||
OPTIONS_GROUP_GTK2= ${GEANY_PLUGINS_GTK2:tu} | |||||
OPTIONS_GROUP_ALL= ${GEANY_PLUGINS_ALL:tu} | |||||
OPTIONS_DEFAULT= ${GEANY_PLUGINS_ALL:tu} ${GEANY_PLUGINS_GTK2:tu} | |||||
NO_OPTIONS_SORT= yes | NO_OPTIONS_SORT= yes | ||||
GTK2_DESC= Available only for GTK2 | |||||
ALL_DESC= Available for both GTK2 and GTK3 | |||||
.include "${.CURDIR}/files/bsd.geany-plugins.mk" | .include "${.CURDIR}/files/bsd.geany-plugins.mk" | ||||
.for plugin in ${GEANY_PLUGINS_ALL} | .for plugin in ${GEANY_PLUGINS_ALL} ${GEANY_PLUGINS_GTK2} | ||||
${plugin:tu}_DESC= ${${plugin}_DESC} | ${plugin:tu}_DESC= ${${plugin}_DESC} | ||||
${plugin:tu}_RUN_DEPENDS= geany-plugin-${plugin}>=0:devel/geany-plugin-${plugin} | |||||
.endfor | .endfor | ||||
NLS_RUN_DEPENDS= geany-plugins-l10n>=0:devel/geany-plugins-l10n | .if ${FLAVOR} == gtk2 | ||||
.for plugin in ${GEANY_PLUGINS_ALL} | |||||
${plugin:tu}_RUN_DEPENDS= geany-plugin-${plugin}-gtk2>=0:devel/geany-plugin-${plugin}@gtk2 | |||||
.endfor | |||||
.for plugin in ${GEANY_PLUGINS_GTK2} | |||||
${plugin:tu}_RUN_DEPENDS= geany-plugin-${plugin}-gtk2>=0:devel/geany-plugin-${plugin} | |||||
.endfor | |||||
NLS_RUN_DEPENDS= geany-plugins-l10n-gtk2>=0:devel/geany-plugins-l10n@gtk2 | |||||
.elif ${FLAVOR} == gtk3 | |||||
.for plugin in ${GEANY_PLUGINS_ALL} | |||||
${plugin:tu}_RUN_DEPENDS= geany-plugin-${plugin}>=0:devel/geany-plugin-${plugin}@gtk3 | |||||
.endfor | |||||
NLS_RUN_DEPENDS= geany-plugins-l10n>=0:devel/geany-plugins-l10n@gtk3 | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |