2006-02-22 05:11:45 +01:00
|
|
|
# New ports collection makefile for: GIMPshop
|
|
|
|
# Date created: Thu Feb 16 20:45:20 BRDT 2006
|
|
|
|
# Whom: Rainer Alves <rainer.alves@gmail.com>
|
1996-11-19 04:36:29 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1996-11-19 04:36:29 +01:00
|
|
|
#
|
|
|
|
|
2006-02-22 05:11:45 +01:00
|
|
|
PORTNAME= gimpshop
|
2006-07-12 19:51:19 +02:00
|
|
|
PORTVERSION= 2.2.11
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 14
|
2000-06-01 18:25:45 +02:00
|
|
|
CATEGORIES= graphics gnome
|
2006-02-27 18:07:49 +01:00
|
|
|
MASTER_SITES= http://www.plasticbugs.com/blogimg/ \
|
2006-07-12 19:51:19 +02:00
|
|
|
http://freebsd.powered.net/distfiles/
|
2006-02-22 05:11:45 +01:00
|
|
|
|
2007-06-29 21:33:24 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-02-22 05:11:45 +01:00
|
|
|
COMMENT= GIMP fork resembling Adobe Photoshop
|
1996-11-19 04:36:29 +01:00
|
|
|
|
2006-07-12 19:51:19 +02:00
|
|
|
LIB_DEPENDS= wmf:${PORTSDIR}/graphics/libwmf \
|
|
|
|
aa:${PORTSDIR}/graphics/aalib \
|
|
|
|
exif:${PORTSDIR}/graphics/libexif \
|
|
|
|
mng:${PORTSDIR}/graphics/libmng \
|
|
|
|
png:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff:${PORTSDIR}/graphics/tiff
|
2005-06-27 20:35:22 +02:00
|
|
|
|
2006-02-22 05:11:45 +01:00
|
|
|
CONFLICTS= gimp-1.* gimp-2.* gimp-gnome-2.*
|
2004-03-24 10:16:45 +01:00
|
|
|
|
2004-12-24 19:39:50 +01:00
|
|
|
SHLIBVER?= 200
|
1999-05-29 06:17:00 +02:00
|
|
|
|
1999-10-23 09:59:42 +02:00
|
|
|
USE_BZIP2= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm x11 ice xmu
|
1996-11-19 04:36:29 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-22 05:11:45 +01:00
|
|
|
USE_GETTEXT= yes
|
2006-07-12 19:51:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-10-25 01:37:25 +02:00
|
|
|
USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2 \
|
|
|
|
desktopfileutils
|
2003-04-19 09:37:00 +02:00
|
|
|
WANT_GNOME= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-26 18:06:17 +02:00
|
|
|
PLIST_SUB= SHLIBVER="${SHLIBVER}"
|
2002-05-20 19:57:32 +02:00
|
|
|
CONFIGURE_ARGS= --disable-perl \
|
2004-06-06 23:44:59 +02:00
|
|
|
--with-html-dir=${DOCSDIR} \
|
2004-02-05 08:57:43 +01:00
|
|
|
--disable-gtk-doc \
|
2007-09-16 19:41:06 +02:00
|
|
|
--enable-static \
|
2007-10-25 01:37:25 +02:00
|
|
|
--disable-print \
|
|
|
|
--with-desktop-dir=${LOCALBASE}/share
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1996-11-19 04:36:29 +01:00
|
|
|
|
2006-02-22 05:11:45 +01:00
|
|
|
WRKSRC= ${WRKDIR}/gimp-${PORTVERSION}
|
2002-08-12 20:15:20 +02:00
|
|
|
|
2004-12-24 19:39:50 +01:00
|
|
|
MAN1= gimp.1 gimp-2.2.1 gimp-remote.1 gimp-remote-2.2.1 gimptool-2.0.1
|
|
|
|
MAN5= gimprc.5 gimprc-2.2.5
|
2000-02-24 08:32:36 +01:00
|
|
|
|
2005-06-27 20:35:22 +02:00
|
|
|
OPTIONS= DEBUG "debugging" off \
|
|
|
|
PYTHON "Python-Fu support" off \
|
|
|
|
HTML_HELP_BROWSER "GIMP help browser" on \
|
|
|
|
MP "multiple processor support" off
|
2005-01-28 07:34:24 +01:00
|
|
|
|
2005-06-27 20:35:22 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-01-28 07:34:24 +01:00
|
|
|
|
2004-06-06 23:44:59 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
|
|
.endif
|
|
|
|
|
2003-02-19 09:43:29 +01:00
|
|
|
.if defined(WITH_PYTHON)
|
2004-06-06 23:44:59 +02:00
|
|
|
USE_PYTHON= yes
|
2005-06-27 20:35:22 +02:00
|
|
|
# we need to manually include this, because USE_PYTHON is defined
|
|
|
|
# after including bsd.port.pre.mk
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.python.mk"
|
2004-06-06 23:44:59 +02:00
|
|
|
USE_GNOME+= pygtk2
|
2003-02-19 09:43:29 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-python
|
2003-06-29 01:13:41 +02:00
|
|
|
PLIST_SUB+= PYTHON:=""
|
2003-02-19 09:43:29 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
2003-06-29 01:13:41 +02:00
|
|
|
PLIST_SUB+= PYTHON:="@comment "
|
2003-02-19 09:43:29 +01:00
|
|
|
.endif
|
|
|
|
|
2004-12-24 19:39:50 +01:00
|
|
|
.if defined(WITH_MP)
|
|
|
|
CONFIGURE_ARGS+= --enable-mp
|
|
|
|
.endif
|
|
|
|
|
2003-04-19 09:37:00 +02:00
|
|
|
.if ${HAVE_GNOME:Mgnomepanel}!=""
|
2007-10-25 01:37:25 +02:00
|
|
|
USE_GNOME+= gnomepanel
|
2004-12-26 16:58:26 +01:00
|
|
|
CONFIGURE_ENV+= GIMP_THREAD_LIBS=${PTHREAD_LIBS}
|
2004-04-01 23:37:03 +02:00
|
|
|
PLIST_SUB+= GNOMEPANEL:=""
|
2004-12-24 19:39:50 +01:00
|
|
|
GNOME_ENABLED= yes
|
2004-04-01 23:37:03 +02:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= GNOMEPANEL:="@comment "
|
2005-03-05 23:07:02 +01:00
|
|
|
CONFIGURE_ENV+= GIMP_THREAD_LIBS=${PTHREAD_LIBS}
|
2002-10-13 17:05:24 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-27 20:35:22 +02:00
|
|
|
.if defined(WITH_HTML_HELP_BROWSER)
|
2003-06-18 00:52:51 +02:00
|
|
|
USE_GNOME+= libgtkhtml
|
2003-07-27 19:21:38 +02:00
|
|
|
PLIST_SUB+= HELPBROWSER:=""
|
2003-06-18 00:52:51 +02:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= HELPBROWSER:="@comment "
|
2005-06-27 20:35:22 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|\(have_gtkhtml2=\)yes|\1no|' ${WRKSRC}/configure
|
2003-06-18 00:52:51 +02:00
|
|
|
.endif
|
2002-10-11 20:20:40 +02:00
|
|
|
|
2004-12-24 19:39:50 +01:00
|
|
|
.if defined(GNOME_ENABLED)
|
|
|
|
post-install:
|
2004-12-29 03:18:31 +01:00
|
|
|
@-update-desktop-database
|
2004-12-24 19:39:50 +01:00
|
|
|
.endif
|
|
|
|
|
2003-04-19 09:37:00 +02:00
|
|
|
.include <bsd.port.post.mk>
|