mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Support CFLAGS/X11BASE properly
PR: 21614 Submitted by: Ports Fury (no response from maintainer)
This commit is contained in:
parent
489e7d8a7d
commit
831a101d11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33790
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user