diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-22 17:24:23 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-22 17:24:23 +0000 |
commit | d647585b899481775da2ad83ed54f20786c8d319 (patch) | |
tree | f508dc0e3426364afd801114abf9d95fe1c81dd0 /graphics/gimp-wavelet-sharpen-plugin/Makefile | |
parent | dbb75844b233f5aca1ab1973db7c85d63738a576 (diff) | |
download | ports-d647585b899481775da2ad83ed54f20786c8d319.tar.gz ports-d647585b899481775da2ad83ed54f20786c8d319.zip |
Notes
Diffstat (limited to 'graphics/gimp-wavelet-sharpen-plugin/Makefile')
-rw-r--r-- | graphics/gimp-wavelet-sharpen-plugin/Makefile | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/graphics/gimp-wavelet-sharpen-plugin/Makefile b/graphics/gimp-wavelet-sharpen-plugin/Makefile index 27fe510f8afa..980f663b573d 100644 --- a/graphics/gimp-wavelet-sharpen-plugin/Makefile +++ b/graphics/gimp-wavelet-sharpen-plugin/Makefile @@ -12,58 +12,46 @@ PKGNAMESUFFIX= -plugin MAINTAINER= ports@FreeBSD.org COMMENT= GIMP plugin to sharpen by increasing contrast in high frequency space -LICENSE= GPLv2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app -OPTIONS_DEFINE= NLS OPTIMIZED_CFLAGS -OPTIONS_DEFAULT= OPTIMIZED_CFLAGS -OPTIONS_SUB= yes - USES= gettext gmake pkgconfig PLIST_SUB= GIMP_PLUGIN_DIR=${GIMP_PLUGIN_DIR} GIMP_PLUGIN_DIR= libexec/gimp/2.2/plug-ins -# l10n languages LANGUAGES= de et it pl ru -.include <bsd.port.options.mk> +OPTIONS_DEFINE= NLS OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS +OPTIONS_SUB= yes -# optimized CFLAGS -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -O3 -.endif +OPTIMIZED_CFLAGS_CFLAGS= -O3 post-patch: @${REINPLACE_CMD} \ -e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ -e '/^LIBS =/s/$$/ -lm/' \ ${WRKSRC}/src/Makefile -# -## l10n -# disable l10n if appropriate -.if ! ${PORT_OPTIONS:MNLS} + +post-patch-NLS-off: @${REINPLACE_CMD} -E \ -e 's|(^all:.*)po |\1|' \ ${WRKSRC}/Makefile -.endif do-install: -# plugin @${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR} -# -## l10n -# -.if ${PORT_OPTIONS:MNLS} + +do-install-NLS-on: .for language in ${LANGUAGES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ ${INSTALL_DATA} ${WRKSRC}/po/${language}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/gimp20-${PORTNAME}-plug-in.mo .endfor -.endif .include <bsd.port.mk> |