mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Convert to OPTIONS
PR: ports/70726 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
This commit is contained in:
parent
27be599386
commit
eeb3d953d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116853
@ -18,6 +18,17 @@ COMMENT= A video encoding library
|
||||
USE_INC_LIBTOOL_VER=13
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
|
||||
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
|
||||
fame_start_frame.3 fame_end_frame.3
|
||||
|
||||
OPTIONS= SSE "SSE optimized routines" off \
|
||||
MMX "MMX optimized routines" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_SSE)
|
||||
CONFIGURE_ARGS+= --enable-sse
|
||||
.endif
|
||||
@ -26,21 +37,4 @@ CONFIGURE_ARGS+= --enable-sse
|
||||
CONFIGURE_ARGS+= --disable-mmx
|
||||
.endif
|
||||
|
||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
|
||||
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
|
||||
fame_start_frame.3 fame_end_frame.3
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_SSE)
|
||||
@${ECHO_MSG} " You can enable SSE optimized routines by defining WITH_SSE."
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MMX)
|
||||
@${ECHO_MSG} " You can disable MMX optimized routines by defining WITHOUT_MMX."
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user