2014-03-24 00:08:39 +01:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= beautify
|
|
|
|
PORTVERSION= 2012.08.12.00
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 9
|
2014-03-24 00:08:39 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
PKGNAMEPREFIX= gimp-
|
|
|
|
PKGNAMESUFFIX= -plugin
|
|
|
|
|
2015-10-14 12:51:58 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-03-24 00:08:39 +01:00
|
|
|
COMMENT= GIMP plug-ins to both quickly and easily beautify photo
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv3+
|
2014-03-24 00:08:39 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app
|
2014-03-24 00:08:39 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= hejiann
|
2015-05-07 17:17:32 +02:00
|
|
|
GH_TAGNAME= e209c8d
|
2014-03-24 00:08:39 +01:00
|
|
|
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= gettext gmake gnome pkgconfig xorg
|
2014-03-24 00:08:39 +01:00
|
|
|
USE_GCC= yes
|
|
|
|
USE_GNOME= atk cairo gdkpixbuf2 gtk20
|
|
|
|
USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender
|
2016-02-07 22:13:44 +01:00
|
|
|
TMPDIR= ${WRKDIR}
|
2014-03-24 00:08:39 +01:00
|
|
|
|
2014-10-07 01:03:36 +02:00
|
|
|
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
|
2014-03-24 00:08:39 +01:00
|
|
|
PLUGINS= beautify \
|
|
|
|
border \
|
|
|
|
simple-border \
|
|
|
|
skin-whitening
|
|
|
|
|
|
|
|
# installed files
|
|
|
|
.for plugin in ${PLUGINS}
|
|
|
|
PLIST_FILES+= ${PLUGIN_DIR}/${plugin}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \
|
|
|
|
-e 's|gdk-pixbuf-csource|${LOCALBASE}/bin/gdk-pixbuf-csource|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
|
|
|
|
.for plugin in ${PLUGINS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|