Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 08:18:09 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21614: Update port: graphics/4va
Message-ID:  <20000928151809.9C2AC37B422@hub.freebsd.org>

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

>Number:         21614
>Category:       ports
>Synopsis:       Update port: graphics/4va
>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:   Thu Sep 28 08:20:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/X11BASE properly

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/4va/Makefile graphics/4va/Makefile
--- /usr/ports/graphics/4va/Makefile	Thu Apr 13 19:16:42 2000
+++ graphics/4va/Makefile	Thu Aug 10 21:27:39 2000
@@ -5,19 +5,18 @@
 # $FreeBSD: ports/graphics/4va/Makefile,v 1.5 2000/04/13 06:27:55 obrien Exp $
 #
 
-PORTNAME=		4va
-PORTVERSION=		1.21
-CATEGORIES=		graphics
-MASTER_SITES=		${MASTER_SITE_SUNSITE}
+PORTNAME=	4va
+PORTVERSION=	1.21
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/graphics/hacks/X
-EXTRACT_SUFX=		.tgz
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	malte.lance@gmx.net
 
 USE_XLIB=	yes
 MAN1=		4va.1
 
-4VA_REL_DATA_DIR=	share/4va-1.21
 4VA_DATA_FILES=		16cell.4vd 24cell.4vd 5cell.4vd 600cell.4vd ctor.4vd \
 			ctor2.4vd hcube.4vd hsph.4vd sin.4vd tripris.4vd
 
@@ -25,14 +24,13 @@
 	@${CHMOD} -R go-x ${WRKSRC}/
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/4va ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/4vdmake ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/ctorus ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/cutctorus ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/${4VA_REL_DATA_DIR}
-	for i in ${4VA_DATA_FILES}; do \
-	  ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${4VA_REL_DATA_DIR}; \
-	done
+.for file in 4va 4vdmake ctorus cutctorus
+	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+	${MKDIR} ${PREFIX}/share/4va
+.for file in ${4VA_DATA_FILES}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/4va
+.endfor
 	${INSTALL_MAN} ${WRKSRC}/4va.man ${PREFIX}/man/man1/4va.1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/4va/patches/patch-aa graphics/4va/patches/patch-aa
--- /usr/ports/graphics/4va/patches/patch-aa	Thu Aug 20 07:48:18 1998
+++ graphics/4va/patches/patch-aa	Thu Aug 10 21:31:12 2000
@@ -1,13 +1,15 @@
---- Makefile.orig	Fri Sep  4 00:58:45 1992
-+++ Makefile	Mon Jul 27 12:10:06 1998
-@@ -2,8 +2,8 @@
+--- Makefile.orig	Fri Sep  4 07:58:45 1992
++++ Makefile	Thu Aug 10 21:31:05 2000
+@@ -1,9 +1,9 @@
+ # Makefile for 4va.
  # Please send questions or bugs to mdw1@crux2.cit.cornell.edu
  
- CC = cc
+-CC = cc
 -CLIBS = -lm -lX11
 -CFLAGS = -O 
-+CLIBS = -lm -L/usr/X11R6/lib -lX11
-+CFLAGS = -I/usr/X11R6/include -O2 -fexpensive-optimizations -fomit-frame-pointer
++CC ?= cc
++CLIBS = -lm -lX11 -L${X11BASE}/lib
++CFLAGS += -I${X11BASE}/include
  
  
  all: 4va ctorus cutctorus 4vdmake
diff -urN /usr/ports/graphics/4va/pkg/PLIST graphics/4va/pkg/PLIST
--- /usr/ports/graphics/4va/pkg/PLIST	Mon Oct  5 12:17:04 1998
+++ graphics/4va/pkg/PLIST	Thu Aug 10 21:32:19 2000
@@ -2,14 +2,14 @@
 bin/4vdmake
 bin/ctorus
 bin/cutctorus
-share/4va-1.21/16cell.4vd
-share/4va-1.21/24cell.4vd
-share/4va-1.21/5cell.4vd
-share/4va-1.21/600cell.4vd
-share/4va-1.21/ctor.4vd
-share/4va-1.21/ctor2.4vd
-share/4va-1.21/hcube.4vd
-share/4va-1.21/hsph.4vd
-share/4va-1.21/sin.4vd
-share/4va-1.21/tripris.4vd
-@dirrm share/4va-1.21
+share/4va/16cell.4vd
+share/4va/24cell.4vd
+share/4va/5cell.4vd
+share/4va/600cell.4vd
+share/4va/ctor.4vd
+share/4va/ctor2.4vd
+share/4va/hcube.4vd
+share/4va/hsph.4vd
+share/4va/sin.4vd
+share/4va/tripris.4vd
+@dirrm share/4va


>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?20000928151809.9C2AC37B422>