Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 13:15:26 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/25327: Update port: textproc/gaspell
Message-ID:  <200102232115.f1NLFQI68062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25327
>Category:       ports
>Synopsis:       Update port: textproc/gaspell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 23 13:20:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix LIB_DEPENDS
- Use USE_X_PREFIX
- Use USE_GNOMELIBS

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/textproc/gaspell/Makefile textproc/gaspell/Makefile
--- /usr/ports/textproc/gaspell/Makefile	Tue Feb  6 03:03:15 2001
+++ textproc/gaspell/Makefile	Sat Feb 24 06:15:06 2001
@@ -7,20 +7,20 @@
 
 PORTNAME=	gaspell
 PORTVERSION=	0.30
+PORTREVISION=	1
 CATEGORIES=	textproc gnome
 MASTER_SITES=	http://aspell.sourceforge.net/
-DISTNAME=	${PORTNAME}-.30
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/^0//}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnome.4:${PORTSDIR}/x11/gnomelibs \
-		aspell.8:${PORTSDIR}/textproc/aspell
-RUN_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell
+LIB_DEPENDS=	aspell.9:${PORTSDIR}/textproc/aspell
 
+USE_X_PREFIX=	yes
 USE_NEWGCC=	yes
-ALL_TARGET=	gaspell
+USE_GNOMELIBS=	yes
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/gaspell ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/gaspell ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/gaspell/files/patch-aa textproc/gaspell/files/patch-aa
--- /usr/ports/textproc/gaspell/files/patch-aa	Wed Jun 14 08:05:44 2000
+++ textproc/gaspell/files/patch-aa	Wed Feb 21 05:03:20 2001
@@ -1,16 +1,16 @@
---- Makefile.orig	Sun Feb  6 00:26:12 2000
-+++ Makefile	Tue Jun 13 16:56:02 2000
-@@ -1,21 +1,21 @@
+--- Makefile.orig	Sun Feb  6 15:26:12 2000
++++ Makefile	Wed Feb 21 05:03:13 2001
+@@ -1,22 +1,24 @@
  
  # You will need to specify the absolute path if gnome-config is not in 
  # your path or if the one in your path is not the correct one
 -GNOME_CONFIG = gnome-config 
-+GNOME_CONFIG = ${X11BASE}/bin/gnome-config 
++GNOME_CONFIG ?= gnome-config 
  
  # This should be set to where aspell was installed the default is
  # /usr/local
 -ASPELL_PREFIX = /usr/local
-+ASPELL_PREFIX = ${PREFIX}
++ASPELL_PREFIX = ${LOCALBASE}
  
 -CXX = g++
 -CXXFLAGS = -O2 -g
@@ -26,5 +26,8 @@
 -  -D VERSION=\"$(VERSION)\"
 +  -DVERSION=\"$(VERSION)\"
  LIBS = -L$(ASPELL_PREFIX)/lib -laspell `$(GNOME_CONFIG) --libs gnomeui`
++
++all: gaspell
  
  gaspell: gaspell.o DICTClient.o
+ 	$(CXX) gaspell.o DICTClient.o 	$(LIBS) -o gaspell

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102232115.f1NLFQI68062>