diff options
author | pav <pav@FreeBSD.org> | 2004-08-21 06:38:41 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-21 06:38:41 +0800 |
commit | 29c5b5d9e6077657b05e23d00e91e08ce5d6bdcd (patch) | |
tree | 76dd7bb7e6e129223c0f91ef296065e3f4b701ce /multimedia/libfame/Makefile | |
parent | 91515204a23eb8bd0958e102dc638ca91206a10e (diff) | |
download | freebsd-ports-gnome-29c5b5d9e6077657b05e23d00e91e08ce5d6bdcd.tar.gz freebsd-ports-gnome-29c5b5d9e6077657b05e23d00e91e08ce5d6bdcd.tar.zst freebsd-ports-gnome-29c5b5d9e6077657b05e23d00e91e08ce5d6bdcd.zip |
- Convert to OPTIONS
PR: ports/70726
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'multimedia/libfame/Makefile')
-rw-r--r-- | multimedia/libfame/Makefile | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/multimedia/libfame/Makefile b/multimedia/libfame/Makefile index d9ea6105ab01..e1e361321d41 100644 --- a/multimedia/libfame/Makefile +++ b/multimedia/libfame/Makefile @@ -18,29 +18,23 @@ COMMENT= A video encoding library USE_INC_LIBTOOL_VER=13 INSTALLS_SHLIB= yes -.if defined(WITH_SSE) -CONFIGURE_ARGS+= --enable-sse -.endif - -.if defined(WITHOUT_MMX) -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} "" +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 -.if !defined(WITHOUT_MMX) - @${ECHO_MSG} " You can disable MMX optimized routines by defining WITHOUT_MMX." - @${ECHO_MSG} "" +.if defined(WITHOUT_MMX) +CONFIGURE_ARGS+= --disable-mmx .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |