diff options
Diffstat (limited to 'devel/geany-plugins/files/Makefile.common')
-rw-r--r-- | devel/geany-plugins/files/Makefile.common | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/geany-plugins/files/Makefile.common b/devel/geany-plugins/files/Makefile.common index 3608ecf..b6d7e55 100644 --- a/devel/geany-plugins/files/Makefile.common +++ b/devel/geany-plugins/files/Makefile.common @@ -9,22 +9,18 @@ DISTINFO_FILE= ${.CURDIR}/../../devel/geany-plugins/distinfo BUILD_DEPENDS+= ${LOCALBASE}/bin/geany:${PORTSDIR}/devel/geany RUN_DEPENDS+= ${LOCALBASE}/bin/geany:${PORTSDIR}/devel/geany -CONFLICTS_INSTALL= geany-plugins-0.* - EXTRA_PATCHES= ${.CURDIR}/../../devel/geany-plugins/files/extrapatch-configure GNU_CONFIGURE= yes -USES+= gmake libtool pkgconfig tar:bzip2 +USES+= gettext-tools gmake libtool pkgconfig tar:bzip2 USE_GNOME+= gtk20 # geany-plugins-l10n is not a plugin, thus special treatment .if ${PORTNAME} == "geany-plugins-l10n" -GEANY_PLUGIN= NLS -NLS_DIR= po -NLS_SWITCH= --enable-nls +GEANY_PLUGIN= po +po_SWITCH= --enable-nls CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -USES+= gettext +LDFLAGS+= -L${LOCALBASE}/lib .endif GEANY_PLUGIN?= ${PORTNAME:S,geany-plugin-,,} @@ -43,7 +39,7 @@ DOCSDIR= share/doc/geany-plugins .if ${PORTNAME} != "geany-plugins-l10n" . if ${PORT_OPTIONS:MNLS} -USES+= gettext +USES+= gettext-runtime . else CONFIGURE_ARGS+= --disable-nls . endif |