From ff9b3d1c1a3399fe7c6719310b9f5c78755a98e4 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 29 Nov 2003 07:15:37 +0000 Subject: Presenting the first in the GNOME 2.5 developers series: 2.5.0 "Obviously you're not a golfer." git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1381 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome2/Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ x11/gnome2/pkg-descr | 9 +++++++ x11/gnome2/pkg-install | 21 +++++++++++++++ x11/gnome2/pkg-plist | 1 + 4 files changed, 103 insertions(+) create mode 100644 x11/gnome2/Makefile create mode 100644 x11/gnome2/pkg-descr create mode 100644 x11/gnome2/pkg-install create mode 100644 x11/gnome2/pkg-plist diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile new file mode 100644 index 000000000..7243f8a4d --- /dev/null +++ b/x11/gnome2/Makefile @@ -0,0 +1,72 @@ +# New ports collection makefile for: gnome2 +# Date created: 21 May 2002 +# Whom: Joe Marcus Clarke +# +# $FreeBSD: ports/x11/gnome2/Makefile,v 1.72 2003/09/26 06:13:16 marcus Exp $ +# + +PORTNAME= gnome2 +PORTVERSION= 2.5.0 +CATEGORIES= x11 gnome +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= gnome@FreeBSD.org +COMMENT= The "meta-port" for the GNOME 2 integrated X11 desktop + +RUN_DEPENDS= ${X11BASE}/libexec/cdplayer_applet2:${PORTSDIR}/x11/gnomeapplets2 \ + gnome-cd:${PORTSDIR}/audio/gnomemedia2 \ + gnome-dictionary:${PORTSDIR}/deskutils/gnomeutils2 \ + eog:${PORTSDIR}/graphics/eog2 \ + gnome-control-center:${PORTSDIR}/sysutils/gnomecontrolcenter2 \ + gconf-editor:${PORTSDIR}/sysutils/gconf-editor \ + gnect:${PORTSDIR}/games/gnomegames2 \ + gedit:${PORTSDIR}/editors/gedit2 \ + gnome-terminal:${PORTSDIR}/x11/gnometerminal \ + gnome-session:${PORTSDIR}/x11/gnomesession \ + bug-buddy:${PORTSDIR}/devel/bugbuddy2 \ + gnome-system-monitor:${PORTSDIR}/sysutils/gnomesystemmonitor \ + nautilus:${PORTSDIR}/x11-fm/nautilus2 \ + yelp:${PORTSDIR}/x11/yelp \ + gdm:${PORTSDIR}/x11/gdm2 \ + screensaver-properties-capplet:${PORTSDIR}/x11/xscreensaver-gnome \ + ${X11BASE}/share/gnome/help/user-guide/C/user-guide.xml:${PORTSDIR}/misc/gnomeuserdocs2 \ + ${X11BASE}/share/gnome/sounds/question.wav:${PORTSDIR}/audio/gnomeaudio2 \ + ${X11BASE}/libdata/pkgconfig/libgail-gnome.pc:${PORTSDIR}/x11-toolkits/libgail-gnome \ + file-roller:${PORTSDIR}/archivers/fileroller \ + ${X11BASE}/share/themes/HighContrast/gtk-2.0/gtkrc:${PORTSDIR}/x11-toolkits/gnome-themes \ + ggv:${PORTSDIR}/print/ggv2 \ + acme:${PORTSDIR}/multimedia/acme \ + gok:${PORTSDIR}/sysutils/gok \ + gpdf:${PORTSDIR}/graphics/gpdf \ + nautilus-cd-burner:${PORTSDIR}/sysutils/nautilus-cd-burner \ + gcalctool:${PORTSDIR}/math/gcalctool \ + gucharmap:${PORTSDIR}/deskutils/gucharmap \ + zenity:${PORTSDIR}/x11/zenity \ + gst-thumbnail:${PORTSDIR}/multimedia/nautilus-media \ + ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera \ + gnopernicus:${PORTSDIR}/x11/gnopernicus + +NO_BUILD= yes + +USE_PYTHON= yes + +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +pre-configure: + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.endif + +do-install: # empty + +.include + +.if ${ARCH} != "amd64" && ( ${ARCH} == "i386" || ${OSVERSION} > 500035 ) +RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany +.endif + +.if ${ARCH} == "i386" +RUN_DEPENDS+= gnomemeeting:${PORTSDIR}/net/gnomemeeting +.endif + +.include diff --git a/x11/gnome2/pkg-descr b/x11/gnome2/pkg-descr new file mode 100644 index 000000000..8632de997 --- /dev/null +++ b/x11/gnome2/pkg-descr @@ -0,0 +1,9 @@ +GNU Network Object Model Environment + +This package does not contain anything by itself -- it is a +"meta-port" that depends on other GNOME packages. Its sole purpose is +to require dependencies so users can install this package only and +have all the GNOME 2 stuff pulled in by the port/package dependency +mechanism. + +WWW: http://www.FreeBSD.org/gnome/ diff --git a/x11/gnome2/pkg-install b/x11/gnome2/pkg-install new file mode 100644 index 000000000..1324bb12a --- /dev/null +++ b/x11/gnome2/pkg-install @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH} +export PATH + +if [ "$2" = "PRE-INSTALL" ]; then + GNOME_ONE_DESKTOP="gnomecore gnomeapplets gnomemedia gnomeutils gtop libgtop sawfish nautilus gedit xalf bugbuddy gnomegames gdm eog ggv gnomeaudio" + for package in ${GNOME_ONE_DESKTOP}; do + if pkg_info | grep "^${package}-[0-9]" >/dev/null 2>&1; then + echo "${package} was detected on the system. This package is part of the GNOME 1.x" + echo "desktop, and cannot coexist with the GNOME 2.2 desktop." + echo "" + echo "Please deinstall the GNOME 1.x desktop before installing this package." + false + fi + done +fi diff --git a/x11/gnome2/pkg-plist b/x11/gnome2/pkg-plist new file mode 100644 index 000000000..549a621fe --- /dev/null +++ b/x11/gnome2/pkg-plist @@ -0,0 +1 @@ +@comment this plist intentionally left empty -- cgit v1.2.3