- Simplify OPTIONS handling
- Add LICENSE_FILE
This commit is contained in:
parent
23cf8a023a
commit
7c4633a4f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368549
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user