From 3db468a2134248d2b8102e2ad1f4d0bd286f7288 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Sun, 4 Apr 2004 06:59:01 +0000 Subject: Convert to OPTIONS. --- editors/koffice-kde4/Makefile | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'editors/koffice-kde4') diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile index b3170dd4562b..7de7d3d50fe8 100644 --- a/editors/koffice-kde4/Makefile +++ b/editors/koffice-kde4/Makefile @@ -41,26 +41,16 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +OPTIONS= WV2 "Build with Microsoft Word import filter" off + .include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include -WV2_CONFIG= ${LOCALBASE}/bin/wv2-config - -.if exists(${WV2_CONFIG}) -WITH_WV2?= yes -.endif # exists(${WV2_CONFIG}) - .if defined(WITH_WV2) LIB_DEPENDS+= wv2:${PORTSDIR}/textproc/wv2 PLIST_APPEND+= plist.wv2 -.else -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "============================================================" - @${ECHO_MSG} "If you want to compile with support for MS Word/Excel," - @${ECHO_MSG} "documents, hit Ctrl-C right now and use \"make WITH_WV2=yes\"" - @${ECHO_MSG} "============================================================" - @${ECHO_MSG} -.endif # defined(WITH_WV2) +.elseif defined(WITHOUT_WV2) +CONFIGURE_ARGS+=--without-libwv2 +.endif .include -- cgit v1.2.3