aboutsummaryrefslogtreecommitdiff
path: root/astro/accrete
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-10-14 08:11:57 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-10-14 08:11:57 +0000
commit61dc2c2a2d5c053b1834f47776bde6b3be2b1eaa (patch)
tree146eb61effc5534b35abe283f6a012a7546df7c9 /astro/accrete
parent38582511cac0fe8b64e2461cdd501a17c6222a1c (diff)
downloadports-61dc2c2a2d5c053b1834f47776bde6b3be2b1eaa.tar.gz
ports-61dc2c2a2d5c053b1834f47776bde6b3be2b1eaa.zip
Notes
Diffstat (limited to 'astro/accrete')
-rw-r--r--astro/accrete/Makefile8
-rw-r--r--astro/accrete/files/patch-Makefile25
2 files changed, 2 insertions, 31 deletions
diff --git a/astro/accrete/Makefile b/astro/accrete/Makefile
index 7b19cc331b9b..52e24d423219 100644
--- a/astro/accrete/Makefile
+++ b/astro/accrete/Makefile
@@ -13,12 +13,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= chuck@pkix.net
COMMENT= Accrete is a physical simulation of solar system planet formation
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX=${PREFIX} \
+ CDEBUG="" COPT=""
PLIST_FILES= bin/accrete
-USE_REINPLACE= yes
-
-post-patch:
- ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
- s|%%CC%%|${CC}|g ; \
- s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/astro/accrete/files/patch-Makefile b/astro/accrete/files/patch-Makefile
deleted file mode 100644
index c39315cbe123..000000000000
--- a/astro/accrete/files/patch-Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.org Tue Jul 29 14:53:03 2003
-+++ Makefile Tue Jul 29 14:53:37 2003
-@@ -7,17 +7,17 @@
- INSTALL = /usr/bin/install -s
-
- # installation prefix
--PREFIX = /usr/local
-+PREFIX = %%PREFIX%%
-
- # Compiler flags
--CC ?= cc
--CDEBUG = -g -O -Wall
--COPT = -O3 -ffast-math
-+CC = %%CC%%
-+CDEBUG =
-+COPT =
-
- # Enable this to greatly increase the verbosity of the output
- # DEFS = -DDEBUG -DVERBOSE
-
--CFLAGS ?= -pipe $(CDEBUG) $(DEFS)
-+CFLAGS = %%CFLAGS%%
-
- # Any libraries that are needed...
- LDFLAGS = -lm