aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-19 10:16:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-19 10:16:22 +0000
commit7c4633a4f7a271793d21cf8c7846fd93e88cc176 (patch)
treee13338aab4f497eac7b01b06b4604c2c1e7ce4f4 /games
parent23cf8a023adfe7f75d24b6b42cd6421534707f0d (diff)
downloadports-7c4633a4f7a271793d21cf8c7846fd93e88cc176.tar.gz
ports-7c4633a4f7a271793d21cf8c7846fd93e88cc176.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/caph/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/caph/Makefile b/games/caph/Makefile
index 6143f09a25ac..db04824f0f4d 100644
--- a/games/caph/Makefile
+++ b/games/caph/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Physics-based sandbox game
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
@@ -33,12 +34,7 @@ DESKTOP_ENTRIES="Caph" \
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-CFLAGS+= -O3 -ffast-math
-.endif
+OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -o caph -I../include *.c \