summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-03-14 19:06:29 +0000
committertron <tron@pkgsrc.org>2000-03-14 19:06:29 +0000
commit2e061c8b3105947008c262827fc2cbb9a58f6751 (patch)
tree2bc13de0f7ed846758bed62118b3508225fea3e3 /graphics
parent7cb7e4fed5aa13b2338ff024a4ce5e208894a912 (diff)
downloadpkgsrc-2e061c8b3105947008c262827fc2cbb9a58f6751.tar.gz
Import of new "gimp-helpbrowser" package:
Help file browser for the GNU Image Manipulation Program
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-helpbrowser/Makefile60
-rw-r--r--graphics/gimp-helpbrowser/pkg/COMMENT1
-rw-r--r--graphics/gimp-helpbrowser/pkg/DESCR4
-rw-r--r--graphics/gimp-helpbrowser/pkg/PLIST2
4 files changed, 67 insertions, 0 deletions
diff --git a/graphics/gimp-helpbrowser/Makefile b/graphics/gimp-helpbrowser/Makefile
new file mode 100644
index 00000000000..6da011c457e
--- /dev/null
+++ b/graphics/gimp-helpbrowser/Makefile
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/03/14 19:06:29 tron Exp $
+
+DISTNAME= gimp-1.1.18
+PKGNAME= ${DISTNAME:S/-/-helpbrowser-/}
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v1.1.18/ \
+ ftp://ftp.ameth.org/pub/mirrors/ftp.gimp.org/gimp/unstable/v1.1.18/ \
+ ftp://ftp.fu-berlin.de/unix/X11/graphics/gimp/unstable/v1.1.18/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.gimp.org/
+
+DEPENDS+= ${DISTNAME}:../gimp-current
+DEPENDS+= gnome-libs>=1.0.56:../../x11/gnome-libs
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE} \
+ --disable-perl \
+ --disable-python
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" INTLLIBS="-lintl" \
+ GNOME_CONFIG=${GNOME_CONFIG}
+
+GIMPDIR= ${PKGSRCDIR}/graphics/gimp-current
+FILESDIR= ${GIMPDIR}/files
+PATCHDIR= ${GIMPDIR}/patches
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+GNOME_CONFIG= ${X11BASE}/bin/gnome-config
+GIMP_CONFIG= ${X11BASE}/bin/gimp-config
+PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OBJECT_FMT} == ELF)
+LDFLAGS+= -Wl,-E
+.endif
+
+SRCS= helpbrowser.c queue.c
+
+do-build:
+.for SRC in ${SRCS}
+ cd ${WRKSRC}/plug-ins/helpbrowser && \
+ ${CC} ${CFLAGS} `${GNOME_CONFIG} --cflags gtkxmhtml gtk glib` \
+ `${GIMP_CONFIG} --cflags` -I../.. -c ${SRC}
+.endfor
+ cd ${WRKSRC}/plug-ins/helpbrowser && \
+ ${CC} ${SRCS:S/.c/.o/} ${LDFLAGS} \
+ `${GNOME_CONFIG} --libs gtkxmhtml gtk glib` `${GIMP_CONFIG} --libs` \
+ -o helpbrowser
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/plug-ins/helpbrowser/helpbrowser \
+ ${PREFIX}/lib/gimp/1.1/plug-ins
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gimp-helpbrowser/pkg/COMMENT b/graphics/gimp-helpbrowser/pkg/COMMENT
new file mode 100644
index 00000000000..330be2559f5
--- /dev/null
+++ b/graphics/gimp-helpbrowser/pkg/COMMENT
@@ -0,0 +1 @@
+Help file browser for the GNU Image Manipulation Program
diff --git a/graphics/gimp-helpbrowser/pkg/DESCR b/graphics/gimp-helpbrowser/pkg/DESCR
new file mode 100644
index 00000000000..e8b8ac36212
--- /dev/null
+++ b/graphics/gimp-helpbrowser/pkg/DESCR
@@ -0,0 +1,4 @@
+XML based help file browser for the GNU Image Manipulation Program.
+
+Because this optional plugin requires several additional libraries
+it has been moved to a seperate package.
diff --git a/graphics/gimp-helpbrowser/pkg/PLIST b/graphics/gimp-helpbrowser/pkg/PLIST
new file mode 100644
index 00000000000..71c3ae8dcba
--- /dev/null
+++ b/graphics/gimp-helpbrowser/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/14 19:06:30 tron Exp $
+lib/gimp/1.1/plug-ins/helpbrowser