From e774b2ae44e0367cb0f27b5c4ed830f36ab6bb2a Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 8 Oct 2002 23:02:23 +0000 Subject: Add gedit2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@36 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/gedit2/Makefile | 42 +++++++++ editors/gedit2/distinfo | 1 + editors/gedit2/files/patch-configure | 23 +++++ editors/gedit2/pkg-comment | 1 + editors/gedit2/pkg-descr | 21 +++++ editors/gedit2/pkg-plist | 174 +++++++++++++++++++++++++++++++++++ 6 files changed, 262 insertions(+) create mode 100644 editors/gedit2/Makefile create mode 100644 editors/gedit2/distinfo create mode 100644 editors/gedit2/files/patch-configure create mode 100644 editors/gedit2/pkg-comment create mode 100644 editors/gedit2/pkg-descr create mode 100644 editors/gedit2/pkg-plist (limited to 'editors') diff --git a/editors/gedit2/Makefile b/editors/gedit2/Makefile new file mode 100644 index 000000000..dfb6e06d6 --- /dev/null +++ b/editors/gedit2/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: gedit2 +# Date created: 14 May 2002 +# Whom: Joe Marcus Clarke +# +# $FreeBSD: ports/editors/gedit2/Makefile,v 1.52 2002/09/20 17:06:45 marcus Exp $ +# + +PORTNAME= gedit2 +PORTVERSION= 2.1.0.1 +CATEGORIES= editors gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.1 +DISTNAME= gedit-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomeprintui-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \ + gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ + eel-2.3:${PORTSDIR}/x11-toolkits/eel2 \ + pspell.15:${PORTSDIR}/textproc/aspell + +WRKSRC= ${WRKDIR}/gedit-${PORTVERSION} + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomehier +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +MAN1= gedit.1 + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include diff --git a/editors/gedit2/distinfo b/editors/gedit2/distinfo new file mode 100644 index 000000000..c5bfd5dec --- /dev/null +++ b/editors/gedit2/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gedit-2.1.0.1.tar.bz2) = e30fefb8bbf955d16ec90d59d125b035 diff --git a/editors/gedit2/files/patch-configure b/editors/gedit2/files/patch-configure new file mode 100644 index 000000000..816545988 --- /dev/null +++ b/editors/gedit2/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig Wed May 15 00:43:11 2002 ++++ configure Wed May 15 00:45:35 2002 +@@ -6547,6 +6547,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -9358,10 +9359,10 @@ + pixmapsdir="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps" + else + cat >>confdefs.h <