diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-09-03 17:00:29 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-09-03 17:00:29 +0000 |
commit | 800460fc76154e739ac7008ed874e8b3bd43b060 (patch) | |
tree | 752801a5d9f8ee467393db77fb4f2c57da16d7b2 /net/kdenetwork3 | |
parent | de9ec12a4ffbcf1c14a3ec8481bb9b95ff18de2e (diff) | |
download | ports-800460fc76154e739ac7008ed874e8b3bd43b060.tar.gz ports-800460fc76154e739ac7008ed874e8b3bd43b060.zip |
Notes
Diffstat (limited to 'net/kdenetwork3')
-rw-r--r-- | net/kdenetwork3/Makefile | 21 | ||||
-rw-r--r-- | net/kdenetwork3/files/lisa.sh | 23 | ||||
-rw-r--r-- | net/kdenetwork3/files/patch-lanbrowsing_kcmlisa_setupwizard.cpp | 19 | ||||
-rw-r--r-- | net/kdenetwork3/pkg-plist | 25 |
4 files changed, 8 insertions, 80 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile index f2bee5794f9f..a44b4dbf69f1 100644 --- a/net/kdenetwork3/Makefile +++ b/net/kdenetwork3/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdenetwork PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES?= net kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src @@ -18,14 +19,12 @@ COMMENT= Network-related programs and modules for KDE LIB_DEPENDS= idn:${PORTSDIR}/devel/libidn \ slp:${PORTSDIR}/net/openslp -RUN_DEPENDS= nmblookup:${PORTSDIR}/net/samba3 CONFLICTS= kopete-[0-9]* USE_KDELIBS_VER=3 PREFIX= ${KDE_PREFIX} -USE_RC_SUBR= YES USE_PERL5= yes USE_BZIP2= yes USE_GMAKE= yes @@ -35,9 +34,11 @@ _NO_KDE_CLOSURE=yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 +DO_NOT_COMPILE+=lanbrowsing -RC_SCRIPTS_SUB= PREFIX=${PREFIX} \ - RC_SUBR=${RC_SUBR} +.if defined(DO_NOT_COMPILE) +CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}" +.endif # defined(DO_NOT_COMPILE) .include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include <bsd.port.pre.mk> @@ -47,10 +48,9 @@ pre-configure: @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|g' \ ${WRKSRC}/kopete/protocols/gadu/libgadu/libgadu-config.h.in .endif - @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \ - ${WRKSRC}/lanbrowsing/kcmlisa/main.cpp \ - ${WRKSRC}/lanbrowsing/kcmlisa/kcmlisa.cpp \ - ${WRKSRC}/lanbrowsing/kcmlisa/setupwizard.cpp + @${REINPLACE_CMD} \ + -E -e '/^SUBDIRS/s/lisa//g' \ + ${WRKSRC}/doc/Makefile.in post-configure: .if ${OSVERSION} < 500028 @@ -58,9 +58,4 @@ post-configure: ${WRKSRC}/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile .endif -post-install: - ${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/lisa.sh > ${PREFIX}/etc/rc.d/lisa.sh - ${CHMOD} +x ${PREFIX}/etc/rc.d/lisa.sh - .include <bsd.port.post.mk> diff --git a/net/kdenetwork3/files/lisa.sh b/net/kdenetwork3/files/lisa.sh deleted file mode 100644 index 4f609cc04bdb..000000000000 --- a/net/kdenetwork3/files/lisa.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: lisa -# REQUIRE: LOGIN -# KEYWORD: FreeBSD - -lisa_enable="NO" -lisa_conffile="%%PREFIX%%/etc/lisarc" - -. %%RC_SUBR%% - -name="lisa" -rcvar=`set_rcvar` -command="%%PREFIX%%/bin/lisa" -command_args="-q -c ${lisa_conffile}" -required_files="${lisa_conffile}" - -load_rc_config $name - -run_rc_command "$1" diff --git a/net/kdenetwork3/files/patch-lanbrowsing_kcmlisa_setupwizard.cpp b/net/kdenetwork3/files/patch-lanbrowsing_kcmlisa_setupwizard.cpp deleted file mode 100644 index f82319ba2273..000000000000 --- a/net/kdenetwork3/files/patch-lanbrowsing_kcmlisa_setupwizard.cpp +++ /dev/null @@ -1,19 +0,0 @@ ---- lanbrowsing/kcmlisa/setupwizard.cpp.orig Fri Jun 25 11:10:25 2004 -+++ lanbrowsing/kcmlisa/setupwizard.cpp Sun Aug 29 18:49:41 2004 -@@ -349,11 +349,11 @@ - m_finalPage=new QVBox(this); - QLabel *info=new QLabel(i18n("<br>Your LAN browsing has been successfully set up.<br><br>" - "Make sure that the LISa server is started during the " -- "boot process. How this is done depends on your " -- "distribution and OS. Usually you have to insert it somewhere " -- "in a boot script under <code>/etc</code>.<br>" -- "Start the LISa server as root and without any command line options.<br>" -- "The config file will now be saved to <code>/etc/lisarc</code>.<br>" -+ "boot process. The kdenetwork port has installed " -+ "a startup-script (lisa.sh) into <code>/usr/local/etc/rc.d</code>. " -+ "To activate lisa, put lisa_enable=\"YES\" into your rc.conf.<br> " -+ "<br>" -+ "The config file will now be saved to <code>/usr/local/etc/lisarc</code>.<br>" - "To test the server, try <code>lan:/</code> in Konqueror.<br><br>" - "If you have problems or suggestions, visit http://lisa-home.sourceforge.net."),m_finalPage); - info->setTextFormat(Qt::RichText); diff --git a/net/kdenetwork3/pkg-plist b/net/kdenetwork3/pkg-plist index 0f7f518edb56..e2060b25f365 100644 --- a/net/kdenetwork3/pkg-plist +++ b/net/kdenetwork3/pkg-plist @@ -13,9 +13,7 @@ bin/krfb_httpd bin/ksirc bin/ktalkd bin/ktalkdlg -bin/lisa bin/mail.local -bin/reslisa bin/rssclient bin/rssservice include/rss/article.h @@ -63,16 +61,12 @@ lib/kde3/kcm_krfb.la lib/kde3/kcm_krfb.so lib/kde3/kcm_ktalkd.la lib/kde3/kcm_ktalkd.so -lib/kde3/kcm_lanbrowser.la -lib/kde3/kcm_lanbrowser.so lib/kde3/kded_kinetd.la lib/kde3/kded_kinetd.so lib/kde3/kdict_panelapplet.la lib/kde3/kdict_panelapplet.so lib/kde3/khtml_kget.la lib/kde3/khtml_kget.so -lib/kde3/kio_lan.la -lib/kde3/kio_lan.so lib/kde3/knewsticker_panelapplet.la lib/kde3/knewsticker_panelapplet.so lib/kde3/kopete_aim.la @@ -158,9 +152,6 @@ share/applications/kde/kppplogview.desktop share/applications/kde/krdc.desktop share/applications/kde/krfb.desktop share/applications/kde/ksirc.desktop -share/applnk/.hidden/kcmkiolan.desktop -share/applnk/.hidden/kcmlisa.desktop -share/applnk/.hidden/kcmreslisa.desktop share/applnk/.hidden/knewstickerstub.desktop share/apps/kconf_update/knewsticker.upd share/apps/kconf_update/knt-0.1-0.2.pl @@ -240,8 +231,6 @@ share/apps/kicker/applets/knewsticker.desktop share/apps/kicker/applets/kpfapplet.desktop share/apps/kinetd/eventsrc share/apps/knewsticker/eventsrc -share/apps/konqsidebartng/virtual_folders/services/lisa.desktop -share/apps/konqueror/dirtree/remote/lan.desktop share/apps/kopete/eventsrc share/apps/kopete/icons/crystalsvg/128x128/apps/aim_protocol.png share/apps/kopete/icons/crystalsvg/128x128/apps/icq_protocol.png @@ -1742,7 +1731,6 @@ share/apps/ksirc/relnotes share/apps/ksirc/servers.ini share/apps/ksirc/servers.txt share/apps/ksirc/sirc.help.gz -share/apps/lisa/README share/config.kcfg/historyconfig.kcfg share/config/ksircrc share/config/ktalkdrc @@ -1898,9 +1886,6 @@ share/doc/HTML/en/ktalkd/index.docbook share/doc/HTML/en/kwifimanager/common share/doc/HTML/en/kwifimanager/index.cache.bz2 share/doc/HTML/en/kwifimanager/index.docbook -share/doc/HTML/en/lisa/common -share/doc/HTML/en/lisa/index.cache.bz2 -share/doc/HTML/en/lisa/index.docbook share/icons/crystalsvg/128x128/apps/kdict.png share/icons/crystalsvg/128x128/apps/kopete.png share/icons/crystalsvg/128x128/apps/kppp.png @@ -1994,9 +1979,7 @@ share/services/kopete_translator.desktop share/services/kopete_webpresence.desktop share/services/kopete_yahoo.desktop share/services/kpfpropertiesdialogplugin.desktop -share/services/lan.protocol share/services/rdp.protocol -share/services/rlan.protocol share/services/rssservice.desktop share/services/vnc.protocol share/servicetypes/kinetdmodule.desktop @@ -2022,7 +2005,6 @@ share/sounds/ktalkd.wav @dirrm share/icons/hicolor/16x16/apps @dirrm share/icons/hicolor/16x16 @dirrm share/icons/crystalsvg/22x22/apps -@dirrm share/doc/HTML/en/lisa @dirrm share/doc/HTML/en/kwifimanager @dirrm share/doc/HTML/en/ktalkd @dirrm share/doc/HTML/en/ksirc @@ -2042,7 +2024,6 @@ share/sounds/ktalkd.wav @dirrm share/doc/HTML/en/kcontrol/kcmtalkd @dirrm share/doc/HTML/en/kcontrol @dirrm share/config.kcfg -@dirrm share/apps/lisa @dirrm share/apps/ksirc/pics/emoticons @dirrm share/apps/ksirc/pics @dirrm share/apps/ksirc/icons/crystalsvg/64x64/apps @@ -2292,12 +2273,6 @@ share/sounds/ktalkd.wav @dirrm share/apps/kopete/icons/crystalsvg @dirrm share/apps/kopete/icons @dirrm share/apps/kopete -@dirrm share/apps/konqueror/dirtree/remote -@dirrm share/apps/konqueror/dirtree -@dirrm share/apps/konqueror -@dirrm share/apps/konqsidebartng/virtual_folders/services -@dirrm share/apps/konqsidebartng/virtual_folders -@dirrm share/apps/konqsidebartng @dirrm share/apps/knewsticker @dirrm share/apps/kinetd @dirrm share/apps/kicker/applets |