mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -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
|
||||
PORTVERSION= 2.10.38
|
||||
PORTREVISION?= 0
|
||||
PORTEPOCH?= 1
|
||||
CATEGORIES?= graphics gnome
|
||||
PORTNAME= gimp
|
||||
DISTVERSION= 2.10.38
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}
|
||||
PKGNAMESUFFIX= -app
|
||||
#DISTNAME= gimp-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= GNU Image Manipulation Program
|
||||
|
@ -31,8 +29,8 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|||
libmypaint.so:graphics/libmypaint \
|
||||
libpng.so:graphics/png \
|
||||
libpoppler-glib.so:graphics/poppler-glib \
|
||||
libtiff.so:graphics/tiff
|
||||
LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}}
|
||||
libtiff.so:graphics/tiff \
|
||||
${LIB_DEPENDS_${ARCH}}
|
||||
|
||||
LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind
|
||||
LIB_DEPENDS_amd64= 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 \
|
||||
mypaint-brushes>0:graphics/mypaint-brushes
|
||||
|
||||
USES+= cpe compiler:c++14-lang gettext gmake gnome jpeg libtool \
|
||||
localbase pkgconfig shebangfix tar:bzip2 xorg
|
||||
USES= cpe compiler:c++14-lang desktop-file-utils gettext gmake gnome \
|
||||
jpeg libtool localbase pkgconfig shebangfix tar:bzip2 xorg
|
||||
CPE_VENDOR= gimp
|
||||
CPE_PRODUCT= gimp
|
||||
USE_GNOME+= cairo gtk20 intltool librsvg2
|
||||
|
@ -56,8 +54,7 @@ USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt
|
|||
SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py
|
||||
|
||||
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/" \
|
||||
--disable-gtk-doc \
|
||||
--without-linux-input \
|
||||
|
@ -84,29 +81,13 @@ LIBS+= -lexecinfo -lm
|
|||
|
||||
PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E}
|
||||
|
||||
.if !defined(GIMP_SLAVE)
|
||||
|
||||
USES+= desktop-file-utils
|
||||
|
||||
OPTIONS_DEFINE?= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD \
|
||||
WEBP WMF
|
||||
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
|
||||
|
||||
.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
|
||||
OPENJPEG_DESC= Enhanced JPEG (JPEG 2000) graphics support
|
||||
|
||||
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
|
||||
AALIB_CONFIGURE_WITH= aa
|
||||
|
@ -130,20 +111,17 @@ OPENEXR_CONFIGURE_WITH= openexr
|
|||
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
|
||||
OPENJPEG_CONFIGURE_WITH= jpeg2000
|
||||
|
||||
SIMD_CONFIGURE_OFF= --disable-mmx \
|
||||
--disable-sse \
|
||||
--disable-altivec
|
||||
SIMD_CONFIGURE_OFF= --disable-altivec \
|
||||
--disable-mmx \
|
||||
--disable-sse
|
||||
|
||||
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
|
||||
WEBP_CONFIGURE_WITH= webp
|
||||
|
||||
WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
||||
libwmf.so:graphics/libwmf
|
||||
|
||||
WMF_CONFIGURE_WITH= wmf
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
|
|
|
@ -1,23 +1,32 @@
|
|||
PORTNAME= gimp
|
||||
DISTVERSION?= 2.10.38
|
||||
PORTEPOCH?= 2
|
||||
DISTVERSION= 2.10.38
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
EXTRACT_ONLY= # empty
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= The "meta-port" for The Gimp
|
||||
COMMENT= Meta-port for the Gimp
|
||||
WWW= https://www.gimp.org/
|
||||
|
||||
LICENSE= GPLv3 LGPL3
|
||||
LICENSE_COMB= multi
|
||||
|
||||
RUN_DEPENDS= gimp-2.10:graphics/gimp-app
|
||||
|
||||
USES+= metaport
|
||||
USES= metaport
|
||||
|
||||
OPTIONS_DEFINE= PRINT HELP
|
||||
OPTIONS_DEFAULT=PRINT
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS_DEFINE= HELP PRINT
|
||||
OPTIONS_DEFAULT= PRINT
|
||||
HELP_DESC= Gimp-Help (60+MB installed)
|
||||
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
|
||||
PRINT_RUN_DEPENDS+= ${LOCALBASE}/libexec/gimp/2.2/plug-ins/gutenprint:print/gimp-gutenprint \
|
||||
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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue