diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-24 00:10:43 +0800 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-24 00:10:43 +0800 |
commit | 4c6703ce1d8866a83ce501003147b27e7b5f1c0d (patch) | |
tree | 7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/sim-im-devel | |
parent | 768d962d4be6c9cb0c56c74afece1e9dbf93157e (diff) | |
download | freebsd-ports-gnome-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.tar.gz freebsd-ports-gnome-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.tar.zst freebsd-ports-gnome-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.zip |
- adoption of optionsNG framework
Approved by: portmgr (bapt)
Diffstat (limited to 'net-im/sim-im-devel')
-rw-r--r-- | net-im/sim-im-devel/Makefile | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/net-im/sim-im-devel/Makefile b/net-im/sim-im-devel/Makefile index 785c1fe9f034..75bfe234869a 100644 --- a/net-im/sim-im-devel/Makefile +++ b/net-im/sim-im-devel/Makefile @@ -1,7 +1,4 @@ -# New Ports Collection Makefile for: sim-im-devel -# Date created: 18 Apr 2006 -# Whom: Alexey V. Panfilov <sim-im@lehis.ru> -# +# Created by: Alexey V. Panfilov <sim-im@lehis.ru> # $FreeBSD$ PORTNAME= sim-im-devel @@ -31,31 +28,32 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes -OPTIONS= KDE "Enable KDE support" off \ - DEBUG "Enable debug" on +OPTIONS_DEFINE= KDE3 DEBUG +OPTIONS_DEFAULT= DEBUG +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> post-patch: -.if !defined(WITH_KDE) +.if ! ${PORT_OPTIONS:MKDE3} @${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \ ${CONFIGURE_WRKSRC}/configure .endif -.if !defined(WITHOUT_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif -.if !defined(WITH_KDE) -CONFIGURE_ARGS+=--disable-kde --enable-mt -LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell -PLIST_SUB+= KDE="@comment " \ - SPELL="" -.else +.if ${PORT_OPTIONS:MKDE3} USE_KDELIBS_VER=3 PLIST_SUB+= KDE="" \ SPELL="@comment " .include "${PORTSDIR}/Mk/bsd.kde.mk" +.else +CONFIGURE_ARGS+=--disable-kde --enable-mt +LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell +PLIST_SUB+= KDE="@comment " \ + SPELL="" .endif .include <bsd.port.post.mk> |