diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-19 18:16:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-19 18:16:22 +0800 |
commit | 2f2769cbd5b78e1c6a3e07f8832513b8157d64bf (patch) | |
tree | e13338aab4f497eac7b01b06b4604c2c1e7ce4f4 /games | |
parent | 5a7f6051b4ab1fc226fe511fb5c1e107ed39e78b (diff) | |
download | freebsd-ports-gnome-2f2769cbd5b78e1c6a3e07f8832513b8157d64bf.tar.gz freebsd-ports-gnome-2f2769cbd5b78e1c6a3e07f8832513b8157d64bf.tar.zst freebsd-ports-gnome-2f2769cbd5b78e1c6a3e07f8832513b8157d64bf.zip |
- Simplify OPTIONS handling
- Add LICENSE_FILE
Diffstat (limited to 'games')
-rw-r--r-- | games/caph/Makefile | 8 |
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 \ |