mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. 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, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= beautify
|
|
PORTVERSION= 2012.08.12.00
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
PKGNAMEPREFIX= gimp-
|
|
PKGNAMESUFFIX= -plugin
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GIMP plug-ins to both quickly and easily beautify photo
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
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
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hejiann
|
|
GH_TAGNAME= e209c8d
|
|
|
|
USES= gettext gmake pkgconfig
|
|
USE_GCC= yes
|
|
USE_GNOME= atk cairo gdkpixbuf2 gtk20
|
|
USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender
|
|
TMPDIR= ${WRKDIR}
|
|
|
|
PLUGIN_DIR?= libexec/gimp/2.2/plug-ins
|
|
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>
|