diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-04-12 16:57:29 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-04-12 16:57:29 +0800 |
commit | 840dba211940eee53599110a6b65991f90b2fea3 (patch) | |
tree | d7a916102baca888f8dbdce3cf1a6144db085a2c /x11-toolkits | |
parent | 090f6754367be5abf5061a7f2fe2f474282bf373 (diff) | |
download | freebsd-ports-gnome-840dba211940eee53599110a6b65991f90b2fea3.tar.gz freebsd-ports-gnome-840dba211940eee53599110a6b65991f90b2fea3.tar.zst freebsd-ports-gnome-840dba211940eee53599110a6b65991f90b2fea3.zip |
Add libgnomeprintui 1.112.0, gnome print support library.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/Makefile | 42 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/files/patch-ltmain.sh | 45 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/pkg-descr | 4 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/pkg-plist | 26 |
7 files changed, 120 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 71384c8ee343..d569498ac3d2 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -56,6 +56,7 @@ SUBDIR += jx SUBDIR += lesstif SUBDIR += libbonoboui + SUBDIR += libgnomeprintui SUBDIR += libgnomeui SUBDIR += libgtkeditor SUBDIR += libj2dplot 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 |