1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Simplify OPTIONS handling

- Add LICENSE_FILE
This commit is contained in:
Dmitry Marakasov 2014-09-19 10:16:22 +00:00
parent 23cf8a023a
commit 7c4633a4f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368549

View File

@ -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 \