aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/4va
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-14 04:26:22 +0800
committerade <ade@FreeBSD.org>2000-10-14 04:26:22 +0800
commitb8b71675b02af88e63c83b8e68fd6b11ea504492 (patch)
tree027644278d3caaff3d708af6133bc5cacaa4b23a /graphics/4va
parent1d116c780e11a0a78ac31b08cf89bf9744ec87bd (diff)
downloadfreebsd-ports-gnome-b8b71675b02af88e63c83b8e68fd6b11ea504492.tar.gz
freebsd-ports-gnome-b8b71675b02af88e63c83b8e68fd6b11ea504492.tar.zst
freebsd-ports-gnome-b8b71675b02af88e63c83b8e68fd6b11ea504492.zip
Support CFLAGS/X11BASE properly
PR: 21614 Submitted by: Ports Fury (no response from maintainer)
Diffstat (limited to 'graphics/4va')
-rw-r--r--graphics/4va/Makefile26
-rw-r--r--graphics/4va/files/patch-aa14
-rw-r--r--graphics/4va/pkg-plist22
3 files changed, 31 insertions, 31 deletions
diff --git a/graphics/4va/Makefile b/graphics/4va/Makefile
index cc671f714e02..6c336f3c9a26 100644
--- a/graphics/4va/Makefile
+++ b/graphics/4va/Makefile
@@ -5,19 +5,18 @@
# $FreeBSD$
#
-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 @@ post-extract:
@${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 --git a/graphics/4va/files/patch-aa b/graphics/4va/files/patch-aa
index 6519a90038af..d9a45e89f752 100644
--- a/graphics/4va/files/patch-aa
+++ b/graphics/4va/files/patch-aa
@@ -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 --git a/graphics/4va/pkg-plist b/graphics/4va/pkg-plist
index 1f258072f773..84506c24e73f 100644
--- a/graphics/4va/pkg-plist
+++ b/graphics/4va/pkg-plist
@@ -2,14 +2,14 @@ bin/4va
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