ports/52091: MASTER_SITE updates for devel/libgii and graphics/libggi

Pedro F. Giffuni giffunip at yahoo.com
Mon May 12 04:30:11 UTC 2003


>Number:         52091
>Category:       ports
>Synopsis:       MASTER_SITE updates for devel/libgii and graphics/libggi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 21:30:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD giffuni.org 5.0-RELEASE FreeBSD 5.0-RELEASE #3: Wed Apr 16
22:20:49 COT 2003 pedro at giffuni.org:/usr/src/sys/i386/compile/CPQ i386

	
>Description:
GGI project also keeps their release files at sourceforge. While modifying this
it also looked interesting to add support for KGI4BSD detection.

>How-To-Repeat:
	
>Fix:



__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
--0-863950813-1052713745=:64349
Content-Type: text/plain; name=patch-libgii
Content-Description: patch-libgii
Content-Disposition: inline; filename=patch-libgii

diff -ruN libgii.orig/Makefile libgii/Makefile
--- libgii.orig/Makefile	Tue May  6 08:52:19 2003
+++ libgii/Makefile	Sun May 11 22:16:58 2003
@@ -2,26 +2,32 @@
 # Date created:		4 January 2000
 # Whom:			mwest at uct.ac.za
 #
-# $FreeBSD: ports/devel/libgii/Makefile,v 1.10 2003/05/06 13:52:19 maho Exp $
+# $FreeBSD: ports/devel/libgii/Makefile,v 1.8 2003/02/21 11:22:34 knu Exp $
 #
 
 PORTNAME=	libgii
 PORTVERSION=	0.8.3
 CATEGORIES=	devel
-MASTER_SITES=	ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
+MASTER_SITES=	ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ \
+		$(MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	ggi
 DISTNAME=	$(PORTNAME)-$(PORTVERSION).src
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	API for input sources
+COMMENT=	GGI API for input sources
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_BZIP2=	yes
 USE_XLIB=	yes
 INSTALLS_SHLIB=	yes
 GNU_CONFIGURE=	yes
-# NOTE: We can not define USE_LIBTOOL for this port to build.
-#USE_LIBTOOL=	yes
-CFLAGS+=	${PTHREAD_LIBS}
+
+.if exists(/usr/include/kii/kii.h)
+CONFIGURE_ARGS += --enable-kii
+PLIST_SUB+=	KII="@comment "
+.else
+PLIST_SUB+=	KII=""
+.endif
 
 MAN1=		mhub.1
 MAN3=		giiEventPoll.3 giiEventSend.3 giiInit.3 \
diff -ruN libgii.orig/pkg-plist libgii/pkg-plist
--- libgii.orig/pkg-plist	Mon May  5 15:02:09 2003
+++ libgii/pkg-plist	Sun May 11 16:50:40 2003
@@ -30,6 +30,8 @@
 lib/ggi/filter/tcp.so
 lib/ggi/input/file.la
 lib/ggi/input/file.so
+lib/ggi/input/kii.la
+lib/ggi/input/kii.so
 lib/ggi/input/linux_mouse.la
 lib/ggi/input/linux_mouse.so
 lib/ggi/input/mouse.la

--0-863950813-1052713745=:64349
Content-Type: text/plain; name=patch-libggi
Content-Description: patch-libggi
Content-Disposition: inline; filename=patch-libggi

diff -ruN libggi.orig/Makefile libggi/Makefile
--- libggi.orig/Makefile	Tue May  6 08:53:33 2003
+++ libggi/Makefile	Sun May 11 22:21:31 2003
@@ -2,13 +2,15 @@
 # Date created:		4 January 2000
 # Whom:			mwest at uct.ac.za
 #
-# $FreeBSD: ports/graphics/libggi/Makefile,v 1.10 2003/05/06 13:53:33 maho Exp $
+# $FreeBSD: ports/graphics/libggi/Makefile,v 1.8 2003/02/21 12:15:20 knu Exp $
 #
 
 PORTNAME=	libggi
 PORTVERSION=	2.0.3
 CATEGORIES=	graphics devel
-MASTER_SITES=	ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
+MASTER_SITES=	ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ \
+		${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	ggi
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
 
 MAINTAINER=	ports at FreeBSD.org
@@ -23,6 +25,10 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gii=${PREFIX}
 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.if exists(/usr/include/kgi/kgi.h)
+CONFIGURE_ARGS+= --enable-kgi
+.endif
 
 MAN1=		cube3d.1 ggiteleserver.1 monitest.1
 MAN3=		ggiCopyBox.3 ggiCrossBlit.3 ggiDBGetBuffer.3 \

--0-863950813-1052713745=:64349--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --0-863950813-1052713745=:64349
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 Content-Id: 
 Content-Disposition: inline
 



More information about the freebsd-ports-bugs mailing list