aboutsummaryrefslogtreecommitdiffstats
path: root/editors/koffice-kde4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-04-04 14:59:01 +0800
committerlofi <lofi@FreeBSD.org>2004-04-04 14:59:01 +0800
commit69eb63c1c6375e4337e5715ed1c50f5e2737f5f4 (patch)
treeb6b30acb83f8a6a568fe405a13917c6d6eee237f /editors/koffice-kde4
parentcec39b2b3f6e21e5cb022ebb00b6c5cd1c96ee7c (diff)
downloadfreebsd-ports-gnome-69eb63c1c6375e4337e5715ed1c50f5e2737f5f4.tar.gz
freebsd-ports-gnome-69eb63c1c6375e4337e5715ed1c50f5e2737f5f4.tar.zst
freebsd-ports-gnome-69eb63c1c6375e4337e5715ed1c50f5e2737f5f4.zip
Convert to OPTIONS.
Diffstat (limited to 'editors/koffice-kde4')
-rw-r--r--editors/koffice-kde4/Makefile20
1 files changed, 5 insertions, 15 deletions
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 <bsd.port.pre.mk>
-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 <bsd.port.post.mk>