mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
21646392b0
- Use new LIB_DEPENDS syntax - Use options helpers - Convert to USES - Minor changes/fixes
42 lines
892 B
Makefile
42 lines
892 B
Makefile
# Created by: Aldis Berjoza <aldis@bsdroot.lv>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geany-plugins
|
|
PORTVERSION= ${GEANY_VER}
|
|
CATEGORIES= devel
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Geany plugins (meta port)
|
|
|
|
.MAKE.FreeBSD_UL= yes
|
|
NO_BUILD= yes
|
|
NO_INSTALL= yes
|
|
NO_MTREE= yes
|
|
|
|
.include "${.CURDIR}/files/bsd.geany-plugins.mk"
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
|
|
|
|
# NLS option first, then plugins sorted in GEANY_PLUGINS_ALL
|
|
NO_OPTIONS_SORT= yes
|
|
|
|
.for plugin in ${GEANY_PLUGINS_ALL}
|
|
OPTIONS_DEFINE+= ${plugin:U}
|
|
${plugin:U}_DESC= ${${plugin}_DESC}
|
|
${plugin:U}_DEP= geany-plugin-${plugin}>=0:${PORTSDIR}/devel/geany-plugin-${plugin}
|
|
.endfor
|
|
|
|
NLS_DEP= geany-plugins-l10n>=0:${PORTSDIR}/devel/geany-plugins-l10n
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for opt in ${OPTIONS_DEFINE}
|
|
. if ${PORT_OPTIONS:M${opt}}
|
|
RUN_DEPENDS+= ${${opt}_DEP}
|
|
. endif
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|