aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgnomeprintui
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-04-12 08:57:29 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-04-12 08:57:29 +0000
commit077d6b874c71d03af5f2d37555053d21b19a3e5d (patch)
tree99dda4592aff5b3f24204fe755482862b84d7f82 /x11-toolkits/libgnomeprintui
parent193c9144fd5f47950902cc934fc5b4e7e8567684 (diff)
downloadports-077d6b874c71d03af5f2d37555053d21b19a3e5d.tar.gz
ports-077d6b874c71d03af5f2d37555053d21b19a3e5d.zip
Add libgnomeprintui 1.112.0, gnome print support library.
Notes
Notes: svn path=/head/; revision=57611
Diffstat (limited to 'x11-toolkits/libgnomeprintui')
-rw-r--r--x11-toolkits/libgnomeprintui/Makefile42
-rw-r--r--x11-toolkits/libgnomeprintui/distinfo1
-rw-r--r--x11-toolkits/libgnomeprintui/files/patch-ltmain.sh45
-rw-r--r--x11-toolkits/libgnomeprintui/pkg-comment1
-rw-r--r--x11-toolkits/libgnomeprintui/pkg-descr4
-rw-r--r--x11-toolkits/libgnomeprintui/pkg-plist26
6 files changed, 119 insertions, 0 deletions
diff --git a/x11-toolkits/libgnomeprintui/Makefile b/x11-toolkits/libgnomeprintui/Makefile
new file mode 100644
index 000000000000..80cedd10efbf
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: libgnomeprintui
+# Date created: 12 April 2002
+# Whom: Maxim Sobolev <sobomax@FreBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnomeprintui
+PORTVERSION= 1.112.0
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta3
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gnomeprint-2.0:${PORTSDIR}/print/libgnomeprint \
+ gnomecanvas-2.0:${PORTSDIR}/graphics/libgnomecanvas
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+USE_BISON= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --with-html-dir=${PREFIX}/share/doc \
+ --disable-gtk-doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
+ s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/libgnomeprintui/distinfo b/x11-toolkits/libgnomeprintui/distinfo
new file mode 100644
index 000000000000..a0c42da4cdf2
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgnomeprintui-1.112.0.tar.bz2) = 7e0e7c7038cd4fc197ff4d6355c9f1d4
diff --git a/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh b/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh
new file mode 100644
index 000000000000..91713d2306f8
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh
@@ -0,0 +1,45 @@
+
+$FreeBSD$
+
+--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
++++ ltmain.sh Sun Feb 3 01:44:17 2002
+@@ -1037,8 +1037,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2412,6 +2420,9 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -4179,10 +4190,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/libgnomeprintui/pkg-comment b/x11-toolkits/libgnomeprintui/pkg-comment
new file mode 100644
index 000000000000..7ab03ca6b3e7
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/pkg-comment
@@ -0,0 +1 @@
+Gnome print support library
diff --git a/x11-toolkits/libgnomeprintui/pkg-descr b/x11-toolkits/libgnomeprintui/pkg-descr
new file mode 100644
index 000000000000..f7ae47f42231
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/pkg-descr
@@ -0,0 +1,4 @@
+This is a prototype implementation of the Gnome Printing Architecture,
+as described in:
+
+WWW: http://www.gnome.org/projects/gnome-print/
diff --git a/x11-toolkits/libgnomeprintui/pkg-plist b/x11-toolkits/libgnomeprintui/pkg-plist
new file mode 100644
index 000000000000..274a68440021
--- /dev/null
+++ b/x11-toolkits/libgnomeprintui/pkg-plist
@@ -0,0 +1,26 @@
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-font-dialog.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-copies.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-dialog.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-master-preview.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-paper-selector.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-print-preview.h
+include/libgnomeprintui-2.0/libgnomeprintui/gnome-printer-dialog.h
+lib/libgnomeprintui-2.a
+lib/libgnomeprintui-2.so
+lib/libgnomeprintui-2.so.0
+libdata/pkgconfig/libgnomeprintui-2.0.pc
+share/locale/az/LC_MESSAGES/libgnomeprintui.mo
+share/locale/ca/LC_MESSAGES/libgnomeprintui.mo
+share/locale/de/LC_MESSAGES/libgnomeprintui.mo
+share/locale/et/LC_MESSAGES/libgnomeprintui.mo
+share/locale/ko/LC_MESSAGES/libgnomeprintui.mo
+share/locale/ms/LC_MESSAGES/libgnomeprintui.mo
+share/locale/pl/LC_MESSAGES/libgnomeprintui.mo
+share/locale/pt/LC_MESSAGES/libgnomeprintui.mo
+share/locale/sl/LC_MESSAGES/libgnomeprintui.mo
+share/locale/sv/LC_MESSAGES/libgnomeprintui.mo
+share/locale/ta/LC_MESSAGES/libgnomeprintui.mo
+share/locale/wa/LC_MESSAGES/libgnomeprintui.mo
+share/locale/zh_CN/LC_MESSAGES/libgnomeprintui.mo
+share/locale/zh_TW/LC_MESSAGES/libgnomeprintui.mo
+@dirrm include/libgnomeprintui-2.0/libgnomeprintui