mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
graphics/gimp{,-app}: sort out Makefile and pet portclippy
Changes: - converted to DISTVERSION; - pet protclippy; - alphabetical sort options; - removed SLAVE code - the port has had no slaves for several years; - other minor changes. PR: 279306 Approved by: fluffy (gnome, maintainer)
This commit is contained in:
parent
d4be445297
commit
ef5ce59f10
2 changed files with 73 additions and 86 deletions
|
@ -1,11 +1,9 @@
|
||||||
PORTNAME?= gimp
|
PORTNAME= gimp
|
||||||
PORTVERSION= 2.10.38
|
DISTVERSION= 2.10.38
|
||||||
PORTREVISION?= 0
|
PORTEPOCH= 1
|
||||||
PORTEPOCH?= 1
|
CATEGORIES= graphics gnome
|
||||||
CATEGORIES?= graphics gnome
|
|
||||||
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}
|
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}
|
||||||
PKGNAMESUFFIX= -app
|
PKGNAMESUFFIX= -app
|
||||||
#DISTNAME= gimp-${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= gnome@FreeBSD.org
|
MAINTAINER= gnome@FreeBSD.org
|
||||||
COMMENT= GNU Image Manipulation Program
|
COMMENT= GNU Image Manipulation Program
|
||||||
|
@ -31,13 +29,13 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
||||||
libmypaint.so:graphics/libmypaint \
|
libmypaint.so:graphics/libmypaint \
|
||||||
libpng.so:graphics/png \
|
libpng.so:graphics/png \
|
||||||
libpoppler-glib.so:graphics/poppler-glib \
|
libpoppler-glib.so:graphics/poppler-glib \
|
||||||
libtiff.so:graphics/tiff
|
libtiff.so:graphics/tiff \
|
||||||
LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}}
|
${LIB_DEPENDS_${ARCH}}
|
||||||
|
|
||||||
LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind
|
LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind
|
||||||
LIB_DEPENDS_amd64= libunwind.so:devel/libunwind
|
LIB_DEPENDS_amd64= libunwind.so:devel/libunwind
|
||||||
LIB_DEPENDS_armv7= libunwind.so:devel/libunwind
|
LIB_DEPENDS_armv7= libunwind.so:devel/libunwind
|
||||||
LIB_DEPENDS_i386= libunwind.so:devel/libunwind
|
LIB_DEPENDS_i386= libunwind.so:devel/libunwind
|
||||||
LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind
|
LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind
|
||||||
LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind
|
LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind
|
||||||
|
|
||||||
|
@ -45,8 +43,8 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
|
||||||
glib-networking>=0:net/glib-networking \
|
glib-networking>=0:net/glib-networking \
|
||||||
mypaint-brushes>0:graphics/mypaint-brushes
|
mypaint-brushes>0:graphics/mypaint-brushes
|
||||||
|
|
||||||
USES+= cpe compiler:c++14-lang gettext gmake gnome jpeg libtool \
|
USES= cpe compiler:c++14-lang desktop-file-utils gettext gmake gnome \
|
||||||
localbase pkgconfig shebangfix tar:bzip2 xorg
|
jpeg libtool localbase pkgconfig shebangfix tar:bzip2 xorg
|
||||||
CPE_VENDOR= gimp
|
CPE_VENDOR= gimp
|
||||||
CPE_PRODUCT= gimp
|
CPE_PRODUCT= gimp
|
||||||
USE_GNOME+= cairo gtk20 intltool librsvg2
|
USE_GNOME+= cairo gtk20 intltool librsvg2
|
||||||
|
@ -55,24 +53,23 @@ USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt
|
||||||
|
|
||||||
SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py
|
SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gimp \
|
||||||
CONFIGURE_ARGS?= --with-html-dir=${PREFIX}/share/doc/gimp \
|
--with-bug-report-url="https://bugs.freebsd.org/" \
|
||||||
--with-bug-report-url="https://bugs.freebsd.org/" \
|
--disable-gtk-doc \
|
||||||
--disable-gtk-doc \
|
--without-linux-input \
|
||||||
--without-linux-input \
|
--with-print \
|
||||||
--with-print \
|
--without-gudev \
|
||||||
--without-gudev \
|
--enable-default-binary \
|
||||||
--enable-default-binary \
|
--disable-gimp-console \
|
||||||
--disable-gimp-console \
|
--disable-python \
|
||||||
--disable-python \
|
--without-appdata-test \
|
||||||
--without-appdata-test \
|
--with-desktop-dir=${PREFIX}/share \
|
||||||
--with-desktop-dir=${PREFIX}/share \
|
--docdir=${PREFIX}/share/doc/gimp \
|
||||||
--docdir=${PREFIX}/share/doc/gimp \
|
--with-icc-directory=${LOCALBASE}/share/color/icc \
|
||||||
--with-icc-directory=${LOCALBASE}/share/color/icc \
|
--without-webkit \
|
||||||
--without-webkit \
|
--enable-default-binary
|
||||||
--enable-default-binary
|
CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread
|
||||||
CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread
|
|
||||||
|
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
.if !defined(XAUTHORITY)
|
.if !defined(XAUTHORITY)
|
||||||
|
@ -84,65 +81,46 @@ LIBS+= -lexecinfo -lm
|
||||||
|
|
||||||
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E}
|
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E}
|
||||||
|
|
||||||
.if !defined(GIMP_SLAVE)
|
OPTIONS_DEFINE= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG \
|
||||||
|
SIMD WEBP WMF
|
||||||
|
OPTIONS_DEFAULT= AALIB HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
USES+= desktop-file-utils
|
AALIB_DESC= Ascii-art Plug-in
|
||||||
|
OPENJPEG_DESC= Enhanced JPEG (JPEG 2000) graphics support
|
||||||
|
|
||||||
OPTIONS_DEFINE?= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD \
|
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
|
||||||
WEBP WMF
|
AALIB_CONFIGURE_WITH= aa
|
||||||
OPTIONS_DEFAULT= AALIB HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF
|
|
||||||
OPTIONS_SUB= yes
|
|
||||||
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(GIMP_SLAVE)
|
|
||||||
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
|
|
||||||
GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0`
|
|
||||||
GIMP_THUMB_LIBS= `${PKG_CONFIG} --libs gimpthumb-2.0`
|
|
||||||
GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0`
|
|
||||||
|
|
||||||
LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app
|
|
||||||
|
|
||||||
.else
|
|
||||||
|
|
||||||
AALIB_DESC= Ascii-art Plug-in
|
|
||||||
OPENJPEG_DESC= Enhanced JPEG (jpeg2000) graphics support
|
|
||||||
|
|
||||||
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
|
|
||||||
AALIB_CONFIGURE_WITH= aa
|
|
||||||
|
|
||||||
GHOSTSCRIPT_USES= ghostscript
|
GHOSTSCRIPT_USES= ghostscript
|
||||||
GHOSTSCRIPT_CONFIGURE_WITH= gs
|
GHOSTSCRIPT_CONFIGURE_WITH= gs
|
||||||
|
|
||||||
HEIF_LIB_DEPENDS= libheif.so:graphics/libheif
|
HEIF_LIB_DEPENDS= libheif.so:graphics/libheif
|
||||||
HEIF_CONFIGURE_WITH= libheif
|
HEIF_CONFIGURE_WITH= libheif
|
||||||
|
|
||||||
JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl
|
JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl
|
||||||
JXL_CONFIGURE_WITH= jpegxl
|
JXL_CONFIGURE_WITH= jpegxl
|
||||||
|
|
||||||
LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng
|
LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng
|
||||||
LIBMNG_CONFIGURE_WITH= libmng
|
LIBMNG_CONFIGURE_WITH= libmng
|
||||||
|
|
||||||
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \
|
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \
|
||||||
libOpenEXR.so:graphics/openexr
|
libOpenEXR.so:graphics/openexr
|
||||||
OPENEXR_CONFIGURE_WITH= openexr
|
OPENEXR_CONFIGURE_WITH= openexr
|
||||||
|
|
||||||
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
|
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
|
||||||
OPENJPEG_CONFIGURE_WITH= jpeg2000
|
OPENJPEG_CONFIGURE_WITH= jpeg2000
|
||||||
|
|
||||||
SIMD_CONFIGURE_OFF= --disable-mmx \
|
SIMD_CONFIGURE_OFF= --disable-altivec \
|
||||||
--disable-sse \
|
--disable-mmx \
|
||||||
--disable-altivec
|
--disable-sse
|
||||||
|
|
||||||
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
|
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
|
||||||
WEBP_CONFIGURE_WITH= webp
|
WEBP_CONFIGURE_WITH= webp
|
||||||
|
|
||||||
WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
||||||
libwmf.so:graphics/libwmf
|
libwmf.so:graphics/libwmf
|
||||||
|
WMF_CONFIGURE_WITH= wmf
|
||||||
WMF_CONFIGURE_WITH= wmf
|
|
||||||
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,32 @@
|
||||||
PORTNAME= gimp
|
PORTNAME= gimp
|
||||||
DISTVERSION?= 2.10.38
|
DISTVERSION= 2.10.38
|
||||||
PORTEPOCH?= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= graphics gnome
|
CATEGORIES= graphics gnome
|
||||||
|
MASTER_SITES= # empty
|
||||||
|
DISTFILES= # empty
|
||||||
|
EXTRACT_ONLY= # empty
|
||||||
|
|
||||||
MAINTAINER= gnome@FreeBSD.org
|
MAINTAINER= gnome@FreeBSD.org
|
||||||
COMMENT= The "meta-port" for The Gimp
|
COMMENT= Meta-port for the Gimp
|
||||||
WWW= https://www.gimp.org/
|
WWW= https://www.gimp.org/
|
||||||
|
|
||||||
|
LICENSE= GPLv3 LGPL3
|
||||||
|
LICENSE_COMB= multi
|
||||||
|
|
||||||
RUN_DEPENDS= gimp-2.10:graphics/gimp-app
|
RUN_DEPENDS= gimp-2.10:graphics/gimp-app
|
||||||
|
|
||||||
USES+= metaport
|
USES= metaport
|
||||||
|
|
||||||
OPTIONS_DEFINE= PRINT HELP
|
NO_ARCH= yes
|
||||||
OPTIONS_DEFAULT=PRINT
|
NO_BUILD= yes
|
||||||
PRINT_DESC= Gutenprint (gimp-print) plugin
|
|
||||||
HELP_DESC= Gimp-Help (50+MB distfile)
|
|
||||||
|
|
||||||
HELP_RUN_DEPENDS+= en-gimp-help-html>=0:misc/gimp-help-en
|
OPTIONS_DEFINE= HELP PRINT
|
||||||
PRINT_RUN_DEPENDS+= ${LOCALBASE}/libexec/gimp/2.2/plug-ins/gutenprint:print/gimp-gutenprint \
|
OPTIONS_DEFAULT= PRINT
|
||||||
|
HELP_DESC= Gimp-Help (60+MB installed)
|
||||||
|
PRINT_DESC= Gutenprint (gimp-print) plugin
|
||||||
|
|
||||||
|
HELP_RUN_DEPENDS= en-gimp-help-html>=0:misc/gimp-help-en
|
||||||
|
PRINT_RUN_DEPENDS= ${LOCALBASE}/libexec/gimp/2.2/plug-ins/gutenprint:print/gimp-gutenprint \
|
||||||
gutenprint>0:print/gutenprint
|
gutenprint>0:print/gutenprint
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue