aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-08-13 21:18:23 +0800
committerpav <pav@FreeBSD.org>2010-08-13 21:18:23 +0800
commiteba5a9f8a0043f699344918f7405abc6db7d75ea (patch)
tree303c59c130baf86dab6344ad38d28e5b7e94476b /net-p2p
parentcd1340369d41aa02b09f05d9dd445a88d6e11cfe (diff)
downloadfreebsd-ports-gnome-eba5a9f8a0043f699344918f7405abc6db7d75ea.tar.gz
freebsd-ports-gnome-eba5a9f8a0043f699344918f7405abc6db7d75ea.tar.zst
freebsd-ports-gnome-eba5a9f8a0043f699344918f7405abc6db7d75ea.zip
- Update to git r.10266
- Switch maintainers PR: ports/149021 Submitted by: Anonymous <swell.k@gmail.com> Approved by: Boris Kovalenko <boris@tagnet.ru> (old maintainer)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule-devel/Makefile181
-rw-r--r--net-p2p/amule-devel/Makefile.man77
-rw-r--r--net-p2p/amule-devel/distinfo6
-rw-r--r--net-p2p/amule-devel/pkg-plist546
-rw-r--r--net-p2p/amule/Makefile181
-rw-r--r--net-p2p/amule/Makefile.man77
-rw-r--r--net-p2p/amule/distinfo6
-rw-r--r--net-p2p/amule/pkg-plist546
-rw-r--r--net-p2p/amule2/Makefile181
-rw-r--r--net-p2p/amule2/Makefile.man77
-rw-r--r--net-p2p/amule2/distinfo6
-rw-r--r--net-p2p/amule2/pkg-plist546
12 files changed, 1026 insertions, 1404 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index 1cd64f80ee26..294fd785801d 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -6,140 +6,203 @@
#
PORTNAME= aMule
-PORTVERSION= 2.2.6
-PORTREVISION= 4
+PORTVERSION= 10266
CATEGORIES= net-p2p
-MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/ \
+ http://repo.or.cz/w/${PORTNAME:L}.git/snapshot/
+DISTNAME= ${PORTNAME:L}-svn-r${PORTVERSION}
-MAINTAINER= boris@tagnet.ru
+MAINTAINER= swell.k@gmail.com
COMMENT= The all-platform eMule p2p client
-BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \
${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LATEST_LINK= aMule2
CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-1.*
-USE_BZIP2= yes
-USE_GNOME= gnomehier gnomehack gnomeprefix
+WRKSRC= ${WRKDIR}/${PORTNAME:L}
+
+USE_GNOME= pkgconfig
USE_GMAKE= yes
+USE_KDE4= # empty
+USE_QT_VER= 4
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-debug \
- --without-included-gettext \
+CONFIGURE_ARGS= --without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
--with-crypto-prefix=${LOCALBASE} \
--with-denoise-level=0
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \
+ docdir='$${prefix}/${DOCSDIR_REL}' \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-OPTIONS= OPTIMIZE "Build with optimization" on \
- ED2K "Compile aMule ed2k links handler" on \
+OPTIONS= ALC "Compile aMule Link Creator (+GUI)" on \
AMULECMD "Compile aMule command line client" on \
- AMULEWEBSRV "Compile aMule WebServer" on \
+ AMULEDAEMON "Compile aMule daemon version" on \
+ AMULEGUI "Compile aMule remote GUI (EXPERIMENTAL)" on \
CAS "Compile C aMule Statistics (+GUI)" on \
- ALC "Compile aMule Link Creator (+GUI)" on \
- AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
- WXUNICODE "Enable Unicode support" on \
+ ED2K "Compile aMule ed2k links handler" on \
GEOIP "Enable GeoIP IP2Country support" off \
- UPNP "Enable Universal Plug and Play support" off
+ MMAP "Enable using mapped memory" off \
+ PLASMAMULE "Compile aMule plasma applet and engine" off \
+ UPNP "Enable Universal Plug and Play support" off \
+ WEBSERVER "Compile aMule WebServer" on \
+ WXUNICODE "Enable Unicode support" on \
+ XAS "Install XChat2 plugin" on
-DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
+DATADIR_REL= share/${PORTNAME:L}
+DOCSDIR_REL= share/doc/${PORTNAME:L}
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
ED2K-Links.HOWTO INSTALL README TODO \
amule-win32.HOWTO.txt amulesig.txt license.txt socks4.protocol
+FLEX?= ${LOCALBASE}/bin/flex
+PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
+
.include <bsd.port.pre.mk>
+.if !defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
-# Configure options
-.if !defined(WITHOUT_OPTIMIZE)
-CONFIGURE_ARGS+= --enable-optimize
-.else
-CONFIGURE_ARGS+= --disable-optimize
-.endif
-
-.if !defined(WITHOUT_ED2K)
-CONFIGURE_ARGS+= --enable-ed2k
-PLIST_SUB+= PL_ED2K=""
+.if !defined(WITHOUT_ALC)
+CONFIGURE_ARGS+= --enable-alc --enable-alcc
+PLIST_SUB+= ALC=""
.else
-CONFIGURE_ARGS+= --disable-ed2k
-PLIST_SUB+= PL_ED2K="@comment "
+CONFIGURE_ARGS+= --disable-alc --disable-alcc
+PLIST_SUB+= ALC="@comment "
.endif
.if !defined(WITHOUT_AMULECMD)
CONFIGURE_ARGS+= --enable-amulecmd
-PLIST_SUB+= PL_AMULECMD=""
+PLIST_SUB+= AMULECMD=""
.else
CONFIGURE_ARGS+= --disable-amulecmd
-PLIST_SUB+= PL_AMULECMD="@comment "
+PLIST_SUB+= AMULECMD="@comment "
.endif
-.if !defined(WITHOUT_AMULEWEBSRV)
-CONFIGURE_ARGS+= --enable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV=""
+.if !defined(WITHOUT_AMULEDAEMON)
+CONFIGURE_ARGS+= --enable-amule-daemon
+PLIST_SUB+= AMULEDAEMON=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV="@comment "
+CONFIGURE_ARGS+= --disable-amule-daemon
+PLIST_SUB+= AMULEDAEMON="@comment "
.endif
-.if !defined(WITHOUT_CAS)
-CONFIGURE_ARGS+= --enable-cas --enable-wxcas
-PLIST_SUB+= PL_CAS=""
+.if !defined(WITHOUT_AMULEGUI)
+CONFIGURE_ARGS+= --enable-amule-gui
+PLIST_SUB+= AMULEGUI=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-cas --disable-wxcas
-PLIST_SUB+= PL_CAS="@comment "
+CONFIGURE_ARGS+= --disable-amule-gui
+PLIST_SUB+= AMULEGUI="@comment "
.endif
-.if !defined(WITHOUT_ALC)
-CONFIGURE_ARGS+= --enable-alc --enable-alcc
-PLIST_SUB+= PL_ALC=""
+.if !defined(WITHOUT_CAS)
+CONFIGURE_ARGS+= --enable-cas --enable-wxcas
+LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
+PLIST_SUB+= CAS=""
.else
-CONFIGURE_ARGS+= --disable-alc --disable-alcc
-PLIST_SUB+= PL_ALC="@comment "
+CONFIGURE_ARGS+= --disable-cas --disable-wxcas
+PLIST_SUB+= CAS="@comment "
.endif
-.if defined(WITH_AMULEDAEMON)
-CONFIGURE_ARGS+= --enable-amule-daemon --enable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON=""
-USE_RC_SUBR= amuled.sh
+.if !defined(WITHOUT_ED2K)
+CONFIGURE_ARGS+= --enable-ed2k
+PLIST_SUB+= ED2K=""
.else
-CONFIGURE_ARGS+= --disable-amule-daemon --disable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON="@comment "
+CONFIGURE_ARGS+= --disable-ed2k
+PLIST_SUB+= ED2K="@comment "
.endif
-.if defined(WITH_GEOIP)
+.if !defined(WITHOUT_GEOIP)
CONFIGURE_ARGS+= --enable-geoip
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
.else
CONFIGURE_ARGS+= --disable-geoip
.endif
-.if defined(WITH_UPNP)
+.if !defined(WITHOUT_MMAP)
+CONFIGURE_ARGS+= --enable-mmap
+.else
+CONFIGURE_ARGS+= --disable-mmap
+.endif
+
+.if !defined(WITHOUT_PLASMAMULE)
+CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config
+CONFIGURE_ARGS+= --enable-plasmamule
+USE_KDE4+= kdelibs
+QT_COMPONENTS+= dbus gui moc_build
+PLIST_SUB+= PLASMAMULE=""
+.else
+CONFIGURE_ARGS+= --disable-plasmamule
+PLIST_SUB+= PLASMAMULE="@comment "
+.endif
+
+.if !defined(WITHOUT_UPNP)
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
.else
CONFIGURE_ARGS+= --disable-upnp
.endif
+.if !defined(WITHOUT_WEBSERVER)
+CONFIGURE_ARGS+= --enable-webserver
+PLIST_SUB+= WEBSERVER=""
+.else
+CONFIGURE_ARGS+= --disable-webserver
+PLIST_SUB+= WEBSERVER="@comment "
+.endif
+
.if !defined(WITHOUT_WXUNICODE)
-WX_UNICODE=yes
+WX_UNICODE= yes
+.endif
+
+.if !defined(WITHOUT_XAS)
+CONFIGURE_ARGS+= --enable-xas
+PLIST_SUB+= XAS=""
+.else
+CONFIGURE_ARGS+= --disable-xas
+PLIST_SUB+= XAS="@comment "
.endif
# Man pages management
.include "Makefile.man"
-.ifdef NOPORTDOCS
-post-patch:
+post-patch: .SILENT
+ ${REINPLACE_CMD} -e '/LDFLAGS/s/-lpthread/${PTHREAD_LIBS}/' \
+ -e 's/test.*-print-file-name.*`/true/' \
+ ${WRKSRC}/configure
+.if defined(NOPORTDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' ${WRKSRC}/docs/Makefile.in
.endif
+.if !defined(WITHOUT_PLASMAMULE)
+ ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \
+ -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \
+ -e '/plasma.*feeder.*LDFLAGS/s/=/& -lQtDBus /' \
+ -e 's/\(plasmamule_so_\)LDFLAGS/\1CXXFLAGS/' \
+ ${WRKSRC}/src/utils/plasmamule/Makefile.in
+.endif
+
+post-install:
+.if !defined(WITHOUT_PLASMAMULE)
+ -update-desktop-database ${KDE4_PREFIX}/share/applications
+ -update-mime-database ${KDE4_PREFIX}/share/mime
+.endif
+ -update-desktop-database ${PREFIX}/share/applications
.include <bsd.port.post.mk>
diff --git a/net-p2p/amule-devel/Makefile.man b/net-p2p/amule-devel/Makefile.man
index 58b59b9dd592..24ae456e5b5e 100644
--- a/net-p2p/amule-devel/Makefile.man
+++ b/net-p2p/amule-devel/Makefile.man
@@ -1,49 +1,52 @@
# TODO : Add fr here when pages are complete
MANLANG= "" de es eu fr hu it
#MANCOMPRESSED= no
-.if defined(WITH_CAS)
-MAN1_EN+= cas.1
-MAN1_EN+= wxcas.1
-MAN1_DE+= cas.1
-MAN1_DE+= wxcas.1
-MAN1_ES+= cas.1
-MAN1_ES+= wxcas.1
-MAN1_EU+= cas.1
-MAN1_EU+= wxcas.1
-MAN1_HU+= cas.1
-MAN1_HU+= wxcas.1
-.endif
-.if defined(WITH_ALC)
-MAN1_EN+= alc.1
-MAN1_DE+= alc.1
-MAN1_ES+= alc.1
-MAN1_EU+= alc.1
-MAN1_HU+= alc.1
-MAN1_EN+= alcc.1
-MAN1_DE+= alcc.1
-MAN1_ES+= alcc.1
-MAN1_EU+= alcc.1
+
+.if !defined(WITHOUT_NLS)
+MAN1+= amule.1
+. if !defined(WITHOUT_ALC)
+MAN1_EN+= alc.1 alcc.1
+MAN1_DE+= alc.1 alcc.1
+MAN1_ES+= alc.1 alcc.1
+MAN1_EU+= alc.1 alcc.1
MAN1_FR+= alcc.1
-MAN1_HU+= alcc.1
-.endif
-.if defined(WITH_AMULEWEBSRV)
-MAN1+= amuleweb.1
-.endif
-.if defined(WITH_AMULECMD)
-MAN1+= amulecmd.1
-.endif
-.if defined(WITH_ED2K)
-MAN1+= ed2k.1
-.endif
-.if defined(WITH_AMULEDAEMON)
-MAN1+= amuled.1
+MAN1_HU+= alc.1 alcc.1
+MAN1_IT+= alc.1 alcc.1
+. endif
+. if !defined(WITHOUT_AMULECMD)
+MAN1+= amulecmd.1
+. endif
+. if !defined(WITHOUT_AMULEDAEMON)
+MAN1+= amuled.1
+. endif
+. if !defined(WITHOUT_AMULEGUI)
MAN1_EN+= amulegui.1
MAN1_DE+= amulegui.1
+MAN1_ES+= amulegui.1
+MAN1_HU+= amulegui.1
MAN1_IT+= amulegui.1
-.endif
-MAN1+= amule.1
+. endif
+. if !defined(WITHOUT_CAS)
+MAN1_EN+= cas.1 wxcas.1
+MAN1_DE+= cas.1 wxcas.1
+MAN1_ES+= cas.1 wxcas.1
+MAN1_EU+= cas.1 wxcas.1
+MAN1_HU+= cas.1 wxcas.1
+MAN1_IT+= cas.1 wxcas.1
+. endif
+. if !defined(WITHOUT_ED2K)
+MAN1+= ed2k.1
+. endif
+. if !defined(WITHOUT_WEBSERVER)
+MAN1+= amuleweb.1
+. endif
+.endif # !WITHOUT_NLS
+
+.if !defined(WITHOUT_XAS)
MAN1_EN+= xas.1
MAN1_DE+= xas.1
MAN1_ES+= xas.1
MAN1_EU+= xas.1
MAN1_HU+= xas.1
+MAN1_IT+= xas.1
+.endif
diff --git a/net-p2p/amule-devel/distinfo b/net-p2p/amule-devel/distinfo
index 33d7c91eee6f..76abe70a827e 100644
--- a/net-p2p/amule-devel/distinfo
+++ b/net-p2p/amule-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (aMule-2.2.6.tar.bz2) = 530d9b48187e36f78fc21bb19e94326d
-SHA256 (aMule-2.2.6.tar.bz2) = 6ce32b5f1d8113a224a8e850639d957656623a04a73fb83d52313c06c3488122
-SIZE (aMule-2.2.6.tar.bz2) = 4722143
+MD5 (amule-svn-r10266.tar.gz) = 2a83be92ab349bbf9a61568feebf624d
+SHA256 (amule-svn-r10266.tar.gz) = ed55a47241a680a8606fee412792f1f3c765d585babd7fc0209d758dcbc81278
+SIZE (amule-svn-r10266.tar.gz) = 5952465
diff --git a/net-p2p/amule-devel/pkg-plist b/net-p2p/amule-devel/pkg-plist
index 423fed84f2f3..bb481de6b17d 100644
--- a/net-p2p/amule-devel/pkg-plist
+++ b/net-p2p/amule-devel/pkg-plist
@@ -1,371 +1,179 @@
-share/locale/ar/LC_MESSAGES/amule.mo
-share/locale/ast/LC_MESSAGES/amule.mo
-share/locale/bg/LC_MESSAGES/amule.mo
-share/locale/ca/LC_MESSAGES/amule.mo
-share/locale/cs/LC_MESSAGES/amule.mo
-share/locale/da/LC_MESSAGES/amule.mo
-share/locale/de/LC_MESSAGES/amule.mo
-share/locale/el/LC_MESSAGES/amule.mo
-share/locale/en_GB/LC_MESSAGES/amule.mo
-share/locale/es/LC_MESSAGES/amule.mo
-share/locale/et_EE/LC_MESSAGES/amule.mo
-share/locale/eu/LC_MESSAGES/amule.mo
-share/locale/fi/LC_MESSAGES/amule.mo
-share/locale/fr/LC_MESSAGES/amule.mo
-share/locale/gl/LC_MESSAGES/amule.mo
-share/locale/he/LC_MESSAGES/amule.mo
-share/locale/hr/LC_MESSAGES/amule.mo
-share/locale/hu/LC_MESSAGES/amule.mo
-share/locale/it/LC_MESSAGES/amule.mo
-share/locale/it_CH/LC_MESSAGES/amule.mo
-share/locale/ja/LC_MESSAGES/amule.mo
-share/locale/ko_KR/LC_MESSAGES/amule.mo
-share/locale/lt/LC_MESSAGES/amule.mo
-share/locale/nl/LC_MESSAGES/amule.mo
-share/locale/nn/LC_MESSAGES/amule.mo
-share/locale/pl/LC_MESSAGES/amule.mo
-share/locale/pt_BR/LC_MESSAGES/amule.mo
-share/locale/pt_PT/LC_MESSAGES/amule.mo
-share/locale/ru/LC_MESSAGES/amule.mo
-share/locale/sl/LC_MESSAGES/amule.mo
-share/locale/sq/LC_MESSAGES/amule.mo
-share/locale/sv/LC_MESSAGES/amule.mo
-share/locale/tr/LC_MESSAGES/amule.mo
-share/locale/uk/LC_MESSAGES/amule.mo
-share/locale/zh_CN/LC_MESSAGES/amule.mo
-share/locale/zh_TW/LC_MESSAGES/amule.mo
-@dirrmtry share/locale/ar/LC_MESSAGES
-@dirrmtry share/locale/ar
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/locale/bg/LC_MESSAGES
-@dirrmtry share/locale/bg
-@dirrmtry share/locale/ca/LC_MESSAGES
-@dirrmtry share/locale/ca
-@dirrmtry share/locale/cs/LC_MESSAGES
-@dirrmtry share/locale/cs
-@dirrmtry share/locale/da/LC_MESSAGES
-@dirrmtry share/locale/da
-@dirrmtry share/locale/de/LC_MESSAGES
-@dirrmtry share/locale/de
-@dirrmtry share/locale/el/LC_MESSAGES
-@dirrmtry share/locale/el
-@dirrmtry share/locale/en_GB/LC_MESSAGES
-@dirrmtry share/locale/en_GB
-@dirrmtry share/locale/es/LC_MESSAGES
-@dirrmtry share/locale/es
-@dirrmtry share/locale/et_EE/LC_MESSAGES
-@dirrmtry share/locale/et_EE
-@dirrmtry share/locale/eu/LC_MESSAGES
-@dirrmtry share/locale/eu
-@dirrmtry share/locale/fi/LC_MESSAGES
-@dirrmtry share/locale/fi
-@dirrmtry share/locale/gl/LC_MESSAGES
-@dirrmtry share/locale/gl
-@dirrmtry share/locale/he/LC_MESSAGES
-@dirrmtry share/locale/he
-@dirrmtry share/locale/hr/LC_MESSAGES
-@dirrmtry share/locale/hr
-@dirrmtry share/locale/hu/LC_MESSAGES
-@dirrmtry share/locale/hu
-@dirrmtry share/locale/it/LC_MESSAGES
-@dirrmtry share/locale/it
-@dirrmtry share/locale/it_CH/LC_MESSAGES
-@dirrmtry share/locale/it_CH
-@dirrmtry share/locale/ja/LC_MESSAGES
-@dirrmtry share/locale/ja
-@dirrmtry share/locale/ko_KR/LC_MESSAGES
-@dirrmtry share/locale/ko_KR
-@dirrmtry share/locale/lt/LC_MESSAGES
-@dirrmtry share/locale/lt
-@dirrmtry share/locale/nl/LC_MESSAGES
-@dirrmtry share/locale/nl
-@dirrmtry share/locale/nn/LC_MESSAGES
-@dirrmtry share/locale/nn
-@dirrmtry share/locale/pl/LC_MESSAGES
-@dirrmtry share/locale/pl
-@dirrmtry share/locale/pt_BR/LC_MESSAGES
-@dirrmtry share/locale/pt_BR
-@dirrmtry share/locale/ru/LC_MESSAGES
-@dirrmtry share/locale/ru
-@dirrmtry share/locale/sl/LC_MESSAGES
-@dirrmtry share/locale/sl
-@dirrmtry share/locale/sq/LC_MESSAGES
-@dirrmtry share/locale/sq
-@dirrmtry share/locale/sv/LC_MESSAGES
-@dirrmtry share/locale/sv
-@dirrmtry share/locale/tr/LC_MESSAGES
-@dirrmtry share/locale/tr
-@dirrmtry share/locale/uk/LC_MESSAGES
-@dirrmtry share/locale/uk
-@dirrmtry share/locale/zh_CN/LC_MESSAGES
-@dirrmtry share/locale/zh_CN
-@dirrmtry share/locale/zh_TW/LC_MESSAGES
-@dirrmtry share/locale/zh_TW
-%%PL_CAS%%share/cas/tmp.html
-%%PL_CAS%%share/cas/stat.png
-%%PL_CAS%%@dirrmtry share/cas
-%%PL_CAS%%share/pixmaps/wxcas.xpm
-%%PL_ALC%%share/pixmaps/alc.xpm
-%%PL_AMULEDAEMON%%share/pixmaps/amulegui.xpm
-share/pixmaps/amule.xpm
-%%PL_CAS%%share/applications/wxcas.desktop
-%%PL_ALC%%share/applications/alc.desktop
-%%PL_AMULEDAEMON%%share/applications/amulegui.desktop
-share/applications/amule.desktop
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/top.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-reload.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-connect.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-filter.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/arrow-r.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/up.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/down.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/pause.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/resume.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/apply.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/delete.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down_logout.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_bottom.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_downmain.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_lefttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_righttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_top.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topdown.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_top_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbar.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbardarker.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbarseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/close.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/col.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/down.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/filter.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/kitty.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/logo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/maquette.dwt
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/ok.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/pause.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/play.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/refresh.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/style.css
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/up.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/yellow.gif
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/php-default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/chicane
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/litoral
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule
-share/amule/skins/gnome.zip
-share/amule/skins/kde4.zip
-share/amule/skins/tango.zip
-share/amule/skins/xfce.zip
-@dirrm share/amule/skins
-@dirrm share/amule
-lib/xchat/plugins/xas.pl
-@dirrmtry lib/xchat/plugins
-@dirrmtry lib/xchat
-%%PL_CAS%%bin/cas
-%%PL_CAS%%bin/wxcas
-%%PL_CAS%%bin/autostart-xas
-%%PL_ALC%%bin/alc
-%%PL_ALC%%bin/alcc
-%%PL_AMULEWEBSRV%%bin/amuleweb
-%%PL_AMULECMD%%bin/amulecmd
-%%PL_ED2K%%bin/ed2k
-%%PL_AMULEDAEMON%%bin/amulegui
-%%PL_AMULEDAEMON%%bin/amuled
+%%PLASMAMULE%%@cwd %%KDE4_PREFIX%%
+%%PLASMAMULE%%bin/plasmamule-engine-feeder
+%%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so
+%%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so
+%%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop
+%%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg
+%%PLASMAMULE%%share/kde4/services/ed2k.protocol
+%%PLASMAMULE%%share/kde4/services/magnet.protocol
+%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
+%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
+%%PLASMAMULE%%share/mime/amule.xml
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@cwd
+%%ALC%%bin/alc
+%%ALC%%bin/alcc
bin/amule
+%%AMULECMD%%bin/amulecmd
+%%AMULEDAEMON%%bin/amuled
+%%AMULEGUI%%bin/amulegui
+%%WEBSERVER%%bin/amuleweb
+%%XAS%%bin/autostart-xas
+%%CAS%%bin/cas
+%%ED2K%%bin/ed2k
+%%CAS%%bin/wxcas
+%%XAS%%lib/xchat/plugins/xas.pl
+%%DATADIR%%/skins/Mac_Gray.zip
+%%DATADIR%%/skins/gnome.zip
+%%DATADIR%%/skins/kde4.zip
+%%DATADIR%%/skins/priscilla.zip
+%%DATADIR%%/skins/tango.zip
+%%DATADIR%%/skins/xfce.zip
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-dload.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-kad.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-prefs.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-search.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-servers.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-shared.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/black.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blank1x1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue2.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue3.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue4.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue5.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue6.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/cancel.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/close.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/col.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/connect.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/down.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/favicon.ico
+%%WEBSERVER%%%%DATADIR%%/webserver/default/filter.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/footer.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/index.html
+%%WEBSERVER%%%%DATADIR%%/webserver/default/log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/login.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.jpg
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/logo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/maquette.dwt
+%%WEBSERVER%%%%DATADIR%%/webserver/default/ok.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/pause.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/play.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/red.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/refresh.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_tree.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/style.css
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-closed.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-leaf.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-open.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/up.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/yellow.gif
+%%ALC%%share/applications/alc.desktop
+share/applications/amule.desktop
+%%AMULEGUI%%share/applications/amulegui.desktop
+%%CAS%%share/applications/wxcas.desktop
+%%CAS%%share/cas/stat.png
+%%CAS%%share/cas/tmp.html
+%%NLS%%share/locale/ar/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/da/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/de/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/el/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/es/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/et_EE/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/he/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it_CH/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ko_KR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/amule.mo
+%%ALC%%share/pixmaps/alc.xpm
+share/pixmaps/amule.xpm
+%%AMULEGUI%%share/pixmaps/amulegui.xpm
+%%CAS%%share/pixmaps/wxcas.xpm
+%%XAS%%@dirrmtry lib/xchat/plugins
+%%XAS%%@dirrmtry lib/xchat
+@dirrmtry man/de/man1
+@dirrmtry man/de
+@dirrmtry man/es/man1
+@dirrmtry man/es
+@dirrmtry man/eu/man1
+@dirrmtry man/eu
+@dirrmtry man/fr/man1
+@dirrmtry man/fr
+@dirrmtry man/hu/man1
+@dirrmtry man/hu
+@dirrmtry man/it/man1
+@dirrmtry man/it
+@dirrm %%DATADIR%%/skins
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver/default
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver
+@dirrm %%DATADIR%%
@dirrmtry share/applications
+%%CAS%%@dirrmtry share/cas
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
+%%NLS%%@dirrmtry share/locale/et_EE/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/et_EE
+%%NLS%%@dirrmtry share/locale/it_CH/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/it_CH
+%%NLS%%@dirrmtry share/locale/ko_KR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ko_KR
+@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index 1cd64f80ee26..294fd785801d 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -6,140 +6,203 @@
#
PORTNAME= aMule
-PORTVERSION= 2.2.6
-PORTREVISION= 4
+PORTVERSION= 10266
CATEGORIES= net-p2p
-MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/ \
+ http://repo.or.cz/w/${PORTNAME:L}.git/snapshot/
+DISTNAME= ${PORTNAME:L}-svn-r${PORTVERSION}
-MAINTAINER= boris@tagnet.ru
+MAINTAINER= swell.k@gmail.com
COMMENT= The all-platform eMule p2p client
-BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \
${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LATEST_LINK= aMule2
CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-1.*
-USE_BZIP2= yes
-USE_GNOME= gnomehier gnomehack gnomeprefix
+WRKSRC= ${WRKDIR}/${PORTNAME:L}
+
+USE_GNOME= pkgconfig
USE_GMAKE= yes
+USE_KDE4= # empty
+USE_QT_VER= 4
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-debug \
- --without-included-gettext \
+CONFIGURE_ARGS= --without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
--with-crypto-prefix=${LOCALBASE} \
--with-denoise-level=0
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \
+ docdir='$${prefix}/${DOCSDIR_REL}' \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-OPTIONS= OPTIMIZE "Build with optimization" on \
- ED2K "Compile aMule ed2k links handler" on \
+OPTIONS= ALC "Compile aMule Link Creator (+GUI)" on \
AMULECMD "Compile aMule command line client" on \
- AMULEWEBSRV "Compile aMule WebServer" on \
+ AMULEDAEMON "Compile aMule daemon version" on \
+ AMULEGUI "Compile aMule remote GUI (EXPERIMENTAL)" on \
CAS "Compile C aMule Statistics (+GUI)" on \
- ALC "Compile aMule Link Creator (+GUI)" on \
- AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
- WXUNICODE "Enable Unicode support" on \
+ ED2K "Compile aMule ed2k links handler" on \
GEOIP "Enable GeoIP IP2Country support" off \
- UPNP "Enable Universal Plug and Play support" off
+ MMAP "Enable using mapped memory" off \
+ PLASMAMULE "Compile aMule plasma applet and engine" off \
+ UPNP "Enable Universal Plug and Play support" off \
+ WEBSERVER "Compile aMule WebServer" on \
+ WXUNICODE "Enable Unicode support" on \
+ XAS "Install XChat2 plugin" on
-DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
+DATADIR_REL= share/${PORTNAME:L}
+DOCSDIR_REL= share/doc/${PORTNAME:L}
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
ED2K-Links.HOWTO INSTALL README TODO \
amule-win32.HOWTO.txt amulesig.txt license.txt socks4.protocol
+FLEX?= ${LOCALBASE}/bin/flex
+PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
+
.include <bsd.port.pre.mk>
+.if !defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
-# Configure options
-.if !defined(WITHOUT_OPTIMIZE)
-CONFIGURE_ARGS+= --enable-optimize
-.else
-CONFIGURE_ARGS+= --disable-optimize
-.endif
-
-.if !defined(WITHOUT_ED2K)
-CONFIGURE_ARGS+= --enable-ed2k
-PLIST_SUB+= PL_ED2K=""
+.if !defined(WITHOUT_ALC)
+CONFIGURE_ARGS+= --enable-alc --enable-alcc
+PLIST_SUB+= ALC=""
.else
-CONFIGURE_ARGS+= --disable-ed2k
-PLIST_SUB+= PL_ED2K="@comment "
+CONFIGURE_ARGS+= --disable-alc --disable-alcc
+PLIST_SUB+= ALC="@comment "
.endif
.if !defined(WITHOUT_AMULECMD)
CONFIGURE_ARGS+= --enable-amulecmd
-PLIST_SUB+= PL_AMULECMD=""
+PLIST_SUB+= AMULECMD=""
.else
CONFIGURE_ARGS+= --disable-amulecmd
-PLIST_SUB+= PL_AMULECMD="@comment "
+PLIST_SUB+= AMULECMD="@comment "
.endif
-.if !defined(WITHOUT_AMULEWEBSRV)
-CONFIGURE_ARGS+= --enable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV=""
+.if !defined(WITHOUT_AMULEDAEMON)
+CONFIGURE_ARGS+= --enable-amule-daemon
+PLIST_SUB+= AMULEDAEMON=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV="@comment "
+CONFIGURE_ARGS+= --disable-amule-daemon
+PLIST_SUB+= AMULEDAEMON="@comment "
.endif
-.if !defined(WITHOUT_CAS)
-CONFIGURE_ARGS+= --enable-cas --enable-wxcas
-PLIST_SUB+= PL_CAS=""
+.if !defined(WITHOUT_AMULEGUI)
+CONFIGURE_ARGS+= --enable-amule-gui
+PLIST_SUB+= AMULEGUI=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-cas --disable-wxcas
-PLIST_SUB+= PL_CAS="@comment "
+CONFIGURE_ARGS+= --disable-amule-gui
+PLIST_SUB+= AMULEGUI="@comment "
.endif
-.if !defined(WITHOUT_ALC)
-CONFIGURE_ARGS+= --enable-alc --enable-alcc
-PLIST_SUB+= PL_ALC=""
+.if !defined(WITHOUT_CAS)
+CONFIGURE_ARGS+= --enable-cas --enable-wxcas
+LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
+PLIST_SUB+= CAS=""
.else
-CONFIGURE_ARGS+= --disable-alc --disable-alcc
-PLIST_SUB+= PL_ALC="@comment "
+CONFIGURE_ARGS+= --disable-cas --disable-wxcas
+PLIST_SUB+= CAS="@comment "
.endif
-.if defined(WITH_AMULEDAEMON)
-CONFIGURE_ARGS+= --enable-amule-daemon --enable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON=""
-USE_RC_SUBR= amuled.sh
+.if !defined(WITHOUT_ED2K)
+CONFIGURE_ARGS+= --enable-ed2k
+PLIST_SUB+= ED2K=""
.else
-CONFIGURE_ARGS+= --disable-amule-daemon --disable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON="@comment "
+CONFIGURE_ARGS+= --disable-ed2k
+PLIST_SUB+= ED2K="@comment "
.endif
-.if defined(WITH_GEOIP)
+.if !defined(WITHOUT_GEOIP)
CONFIGURE_ARGS+= --enable-geoip
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
.else
CONFIGURE_ARGS+= --disable-geoip
.endif
-.if defined(WITH_UPNP)
+.if !defined(WITHOUT_MMAP)
+CONFIGURE_ARGS+= --enable-mmap
+.else
+CONFIGURE_ARGS+= --disable-mmap
+.endif
+
+.if !defined(WITHOUT_PLASMAMULE)
+CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config
+CONFIGURE_ARGS+= --enable-plasmamule
+USE_KDE4+= kdelibs
+QT_COMPONENTS+= dbus gui moc_build
+PLIST_SUB+= PLASMAMULE=""
+.else
+CONFIGURE_ARGS+= --disable-plasmamule
+PLIST_SUB+= PLASMAMULE="@comment "
+.endif
+
+.if !defined(WITHOUT_UPNP)
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
.else
CONFIGURE_ARGS+= --disable-upnp
.endif
+.if !defined(WITHOUT_WEBSERVER)
+CONFIGURE_ARGS+= --enable-webserver
+PLIST_SUB+= WEBSERVER=""
+.else
+CONFIGURE_ARGS+= --disable-webserver
+PLIST_SUB+= WEBSERVER="@comment "
+.endif
+
.if !defined(WITHOUT_WXUNICODE)
-WX_UNICODE=yes
+WX_UNICODE= yes
+.endif
+
+.if !defined(WITHOUT_XAS)
+CONFIGURE_ARGS+= --enable-xas
+PLIST_SUB+= XAS=""
+.else
+CONFIGURE_ARGS+= --disable-xas
+PLIST_SUB+= XAS="@comment "
.endif
# Man pages management
.include "Makefile.man"
-.ifdef NOPORTDOCS
-post-patch:
+post-patch: .SILENT
+ ${REINPLACE_CMD} -e '/LDFLAGS/s/-lpthread/${PTHREAD_LIBS}/' \
+ -e 's/test.*-print-file-name.*`/true/' \
+ ${WRKSRC}/configure
+.if defined(NOPORTDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' ${WRKSRC}/docs/Makefile.in
.endif
+.if !defined(WITHOUT_PLASMAMULE)
+ ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \
+ -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \
+ -e '/plasma.*feeder.*LDFLAGS/s/=/& -lQtDBus /' \
+ -e 's/\(plasmamule_so_\)LDFLAGS/\1CXXFLAGS/' \
+ ${WRKSRC}/src/utils/plasmamule/Makefile.in
+.endif
+
+post-install:
+.if !defined(WITHOUT_PLASMAMULE)
+ -update-desktop-database ${KDE4_PREFIX}/share/applications
+ -update-mime-database ${KDE4_PREFIX}/share/mime
+.endif
+ -update-desktop-database ${PREFIX}/share/applications
.include <bsd.port.post.mk>
diff --git a/net-p2p/amule/Makefile.man b/net-p2p/amule/Makefile.man
index 58b59b9dd592..24ae456e5b5e 100644
--- a/net-p2p/amule/Makefile.man
+++ b/net-p2p/amule/Makefile.man
@@ -1,49 +1,52 @@
# TODO : Add fr here when pages are complete
MANLANG= "" de es eu fr hu it
#MANCOMPRESSED= no
-.if defined(WITH_CAS)
-MAN1_EN+= cas.1
-MAN1_EN+= wxcas.1
-MAN1_DE+= cas.1
-MAN1_DE+= wxcas.1
-MAN1_ES+= cas.1
-MAN1_ES+= wxcas.1
-MAN1_EU+= cas.1
-MAN1_EU+= wxcas.1
-MAN1_HU+= cas.1
-MAN1_HU+= wxcas.1
-.endif
-.if defined(WITH_ALC)
-MAN1_EN+= alc.1
-MAN1_DE+= alc.1
-MAN1_ES+= alc.1
-MAN1_EU+= alc.1
-MAN1_HU+= alc.1
-MAN1_EN+= alcc.1
-MAN1_DE+= alcc.1
-MAN1_ES+= alcc.1
-MAN1_EU+= alcc.1
+
+.if !defined(WITHOUT_NLS)
+MAN1+= amule.1
+. if !defined(WITHOUT_ALC)
+MAN1_EN+= alc.1 alcc.1
+MAN1_DE+= alc.1 alcc.1
+MAN1_ES+= alc.1 alcc.1
+MAN1_EU+= alc.1 alcc.1
MAN1_FR+= alcc.1
-MAN1_HU+= alcc.1
-.endif
-.if defined(WITH_AMULEWEBSRV)
-MAN1+= amuleweb.1
-.endif
-.if defined(WITH_AMULECMD)
-MAN1+= amulecmd.1
-.endif
-.if defined(WITH_ED2K)
-MAN1+= ed2k.1
-.endif
-.if defined(WITH_AMULEDAEMON)
-MAN1+= amuled.1
+MAN1_HU+= alc.1 alcc.1
+MAN1_IT+= alc.1 alcc.1
+. endif
+. if !defined(WITHOUT_AMULECMD)
+MAN1+= amulecmd.1
+. endif
+. if !defined(WITHOUT_AMULEDAEMON)
+MAN1+= amuled.1
+. endif
+. if !defined(WITHOUT_AMULEGUI)
MAN1_EN+= amulegui.1
MAN1_DE+= amulegui.1
+MAN1_ES+= amulegui.1
+MAN1_HU+= amulegui.1
MAN1_IT+= amulegui.1
-.endif
-MAN1+= amule.1
+. endif
+. if !defined(WITHOUT_CAS)
+MAN1_EN+= cas.1 wxcas.1
+MAN1_DE+= cas.1 wxcas.1
+MAN1_ES+= cas.1 wxcas.1
+MAN1_EU+= cas.1 wxcas.1
+MAN1_HU+= cas.1 wxcas.1
+MAN1_IT+= cas.1 wxcas.1
+. endif
+. if !defined(WITHOUT_ED2K)
+MAN1+= ed2k.1
+. endif
+. if !defined(WITHOUT_WEBSERVER)
+MAN1+= amuleweb.1
+. endif
+.endif # !WITHOUT_NLS
+
+.if !defined(WITHOUT_XAS)
MAN1_EN+= xas.1
MAN1_DE+= xas.1
MAN1_ES+= xas.1
MAN1_EU+= xas.1
MAN1_HU+= xas.1
+MAN1_IT+= xas.1
+.endif
diff --git a/net-p2p/amule/distinfo b/net-p2p/amule/distinfo
index 33d7c91eee6f..76abe70a827e 100644
--- a/net-p2p/amule/distinfo
+++ b/net-p2p/amule/distinfo
@@ -1,3 +1,3 @@
-MD5 (aMule-2.2.6.tar.bz2) = 530d9b48187e36f78fc21bb19e94326d
-SHA256 (aMule-2.2.6.tar.bz2) = 6ce32b5f1d8113a224a8e850639d957656623a04a73fb83d52313c06c3488122
-SIZE (aMule-2.2.6.tar.bz2) = 4722143
+MD5 (amule-svn-r10266.tar.gz) = 2a83be92ab349bbf9a61568feebf624d
+SHA256 (amule-svn-r10266.tar.gz) = ed55a47241a680a8606fee412792f1f3c765d585babd7fc0209d758dcbc81278
+SIZE (amule-svn-r10266.tar.gz) = 5952465
diff --git a/net-p2p/amule/pkg-plist b/net-p2p/amule/pkg-plist
index 423fed84f2f3..bb481de6b17d 100644
--- a/net-p2p/amule/pkg-plist
+++ b/net-p2p/amule/pkg-plist
@@ -1,371 +1,179 @@
-share/locale/ar/LC_MESSAGES/amule.mo
-share/locale/ast/LC_MESSAGES/amule.mo
-share/locale/bg/LC_MESSAGES/amule.mo
-share/locale/ca/LC_MESSAGES/amule.mo
-share/locale/cs/LC_MESSAGES/amule.mo
-share/locale/da/LC_MESSAGES/amule.mo
-share/locale/de/LC_MESSAGES/amule.mo
-share/locale/el/LC_MESSAGES/amule.mo
-share/locale/en_GB/LC_MESSAGES/amule.mo
-share/locale/es/LC_MESSAGES/amule.mo
-share/locale/et_EE/LC_MESSAGES/amule.mo
-share/locale/eu/LC_MESSAGES/amule.mo
-share/locale/fi/LC_MESSAGES/amule.mo
-share/locale/fr/LC_MESSAGES/amule.mo
-share/locale/gl/LC_MESSAGES/amule.mo
-share/locale/he/LC_MESSAGES/amule.mo
-share/locale/hr/LC_MESSAGES/amule.mo
-share/locale/hu/LC_MESSAGES/amule.mo
-share/locale/it/LC_MESSAGES/amule.mo
-share/locale/it_CH/LC_MESSAGES/amule.mo
-share/locale/ja/LC_MESSAGES/amule.mo
-share/locale/ko_KR/LC_MESSAGES/amule.mo
-share/locale/lt/LC_MESSAGES/amule.mo
-share/locale/nl/LC_MESSAGES/amule.mo
-share/locale/nn/LC_MESSAGES/amule.mo
-share/locale/pl/LC_MESSAGES/amule.mo
-share/locale/pt_BR/LC_MESSAGES/amule.mo
-share/locale/pt_PT/LC_MESSAGES/amule.mo
-share/locale/ru/LC_MESSAGES/amule.mo
-share/locale/sl/LC_MESSAGES/amule.mo
-share/locale/sq/LC_MESSAGES/amule.mo
-share/locale/sv/LC_MESSAGES/amule.mo
-share/locale/tr/LC_MESSAGES/amule.mo
-share/locale/uk/LC_MESSAGES/amule.mo
-share/locale/zh_CN/LC_MESSAGES/amule.mo
-share/locale/zh_TW/LC_MESSAGES/amule.mo
-@dirrmtry share/locale/ar/LC_MESSAGES
-@dirrmtry share/locale/ar
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/locale/bg/LC_MESSAGES
-@dirrmtry share/locale/bg
-@dirrmtry share/locale/ca/LC_MESSAGES
-@dirrmtry share/locale/ca
-@dirrmtry share/locale/cs/LC_MESSAGES
-@dirrmtry share/locale/cs
-@dirrmtry share/locale/da/LC_MESSAGES
-@dirrmtry share/locale/da
-@dirrmtry share/locale/de/LC_MESSAGES
-@dirrmtry share/locale/de
-@dirrmtry share/locale/el/LC_MESSAGES
-@dirrmtry share/locale/el
-@dirrmtry share/locale/en_GB/LC_MESSAGES
-@dirrmtry share/locale/en_GB
-@dirrmtry share/locale/es/LC_MESSAGES
-@dirrmtry share/locale/es
-@dirrmtry share/locale/et_EE/LC_MESSAGES
-@dirrmtry share/locale/et_EE
-@dirrmtry share/locale/eu/LC_MESSAGES
-@dirrmtry share/locale/eu
-@dirrmtry share/locale/fi/LC_MESSAGES
-@dirrmtry share/locale/fi
-@dirrmtry share/locale/gl/LC_MESSAGES
-@dirrmtry share/locale/gl
-@dirrmtry share/locale/he/LC_MESSAGES
-@dirrmtry share/locale/he
-@dirrmtry share/locale/hr/LC_MESSAGES
-@dirrmtry share/locale/hr
-@dirrmtry share/locale/hu/LC_MESSAGES
-@dirrmtry share/locale/hu
-@dirrmtry share/locale/it/LC_MESSAGES
-@dirrmtry share/locale/it
-@dirrmtry share/locale/it_CH/LC_MESSAGES
-@dirrmtry share/locale/it_CH
-@dirrmtry share/locale/ja/LC_MESSAGES
-@dirrmtry share/locale/ja
-@dirrmtry share/locale/ko_KR/LC_MESSAGES
-@dirrmtry share/locale/ko_KR
-@dirrmtry share/locale/lt/LC_MESSAGES
-@dirrmtry share/locale/lt
-@dirrmtry share/locale/nl/LC_MESSAGES
-@dirrmtry share/locale/nl
-@dirrmtry share/locale/nn/LC_MESSAGES
-@dirrmtry share/locale/nn
-@dirrmtry share/locale/pl/LC_MESSAGES
-@dirrmtry share/locale/pl
-@dirrmtry share/locale/pt_BR/LC_MESSAGES
-@dirrmtry share/locale/pt_BR
-@dirrmtry share/locale/ru/LC_MESSAGES
-@dirrmtry share/locale/ru
-@dirrmtry share/locale/sl/LC_MESSAGES
-@dirrmtry share/locale/sl
-@dirrmtry share/locale/sq/LC_MESSAGES
-@dirrmtry share/locale/sq
-@dirrmtry share/locale/sv/LC_MESSAGES
-@dirrmtry share/locale/sv
-@dirrmtry share/locale/tr/LC_MESSAGES
-@dirrmtry share/locale/tr
-@dirrmtry share/locale/uk/LC_MESSAGES
-@dirrmtry share/locale/uk
-@dirrmtry share/locale/zh_CN/LC_MESSAGES
-@dirrmtry share/locale/zh_CN
-@dirrmtry share/locale/zh_TW/LC_MESSAGES
-@dirrmtry share/locale/zh_TW
-%%PL_CAS%%share/cas/tmp.html
-%%PL_CAS%%share/cas/stat.png
-%%PL_CAS%%@dirrmtry share/cas
-%%PL_CAS%%share/pixmaps/wxcas.xpm
-%%PL_ALC%%share/pixmaps/alc.xpm
-%%PL_AMULEDAEMON%%share/pixmaps/amulegui.xpm
-share/pixmaps/amule.xpm
-%%PL_CAS%%share/applications/wxcas.desktop
-%%PL_ALC%%share/applications/alc.desktop
-%%PL_AMULEDAEMON%%share/applications/amulegui.desktop
-share/applications/amule.desktop
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/top.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-reload.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-connect.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-filter.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/arrow-r.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/up.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/down.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/pause.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/resume.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/apply.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/delete.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down_logout.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_bottom.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_downmain.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_lefttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_righttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_top.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topdown.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_top_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbar.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbardarker.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbarseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/close.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/col.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/down.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/filter.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/kitty.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/logo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/maquette.dwt
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/ok.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/pause.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/play.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/refresh.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/style.css
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/up.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/yellow.gif
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/php-default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/chicane
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/litoral
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule
-share/amule/skins/gnome.zip
-share/amule/skins/kde4.zip
-share/amule/skins/tango.zip
-share/amule/skins/xfce.zip
-@dirrm share/amule/skins
-@dirrm share/amule
-lib/xchat/plugins/xas.pl
-@dirrmtry lib/xchat/plugins
-@dirrmtry lib/xchat
-%%PL_CAS%%bin/cas
-%%PL_CAS%%bin/wxcas
-%%PL_CAS%%bin/autostart-xas
-%%PL_ALC%%bin/alc
-%%PL_ALC%%bin/alcc
-%%PL_AMULEWEBSRV%%bin/amuleweb
-%%PL_AMULECMD%%bin/amulecmd
-%%PL_ED2K%%bin/ed2k
-%%PL_AMULEDAEMON%%bin/amulegui
-%%PL_AMULEDAEMON%%bin/amuled
+%%PLASMAMULE%%@cwd %%KDE4_PREFIX%%
+%%PLASMAMULE%%bin/plasmamule-engine-feeder
+%%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so
+%%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so
+%%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop
+%%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg
+%%PLASMAMULE%%share/kde4/services/ed2k.protocol
+%%PLASMAMULE%%share/kde4/services/magnet.protocol
+%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
+%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
+%%PLASMAMULE%%share/mime/amule.xml
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@cwd
+%%ALC%%bin/alc
+%%ALC%%bin/alcc
bin/amule
+%%AMULECMD%%bin/amulecmd
+%%AMULEDAEMON%%bin/amuled
+%%AMULEGUI%%bin/amulegui
+%%WEBSERVER%%bin/amuleweb
+%%XAS%%bin/autostart-xas
+%%CAS%%bin/cas
+%%ED2K%%bin/ed2k
+%%CAS%%bin/wxcas
+%%XAS%%lib/xchat/plugins/xas.pl
+%%DATADIR%%/skins/Mac_Gray.zip
+%%DATADIR%%/skins/gnome.zip
+%%DATADIR%%/skins/kde4.zip
+%%DATADIR%%/skins/priscilla.zip
+%%DATADIR%%/skins/tango.zip
+%%DATADIR%%/skins/xfce.zip
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-dload.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-kad.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-prefs.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-search.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-servers.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-shared.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/black.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blank1x1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue2.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue3.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue4.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue5.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue6.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/cancel.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/close.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/col.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/connect.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/down.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/favicon.ico
+%%WEBSERVER%%%%DATADIR%%/webserver/default/filter.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/footer.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/index.html
+%%WEBSERVER%%%%DATADIR%%/webserver/default/log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/login.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.jpg
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/logo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/maquette.dwt
+%%WEBSERVER%%%%DATADIR%%/webserver/default/ok.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/pause.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/play.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/red.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/refresh.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_tree.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/style.css
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-closed.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-leaf.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-open.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/up.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/yellow.gif
+%%ALC%%share/applications/alc.desktop
+share/applications/amule.desktop
+%%AMULEGUI%%share/applications/amulegui.desktop
+%%CAS%%share/applications/wxcas.desktop
+%%CAS%%share/cas/stat.png
+%%CAS%%share/cas/tmp.html
+%%NLS%%share/locale/ar/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/da/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/de/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/el/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/es/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/et_EE/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/he/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it_CH/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ko_KR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/amule.mo
+%%ALC%%share/pixmaps/alc.xpm
+share/pixmaps/amule.xpm
+%%AMULEGUI%%share/pixmaps/amulegui.xpm
+%%CAS%%share/pixmaps/wxcas.xpm
+%%XAS%%@dirrmtry lib/xchat/plugins
+%%XAS%%@dirrmtry lib/xchat
+@dirrmtry man/de/man1
+@dirrmtry man/de
+@dirrmtry man/es/man1
+@dirrmtry man/es
+@dirrmtry man/eu/man1
+@dirrmtry man/eu
+@dirrmtry man/fr/man1
+@dirrmtry man/fr
+@dirrmtry man/hu/man1
+@dirrmtry man/hu
+@dirrmtry man/it/man1
+@dirrmtry man/it
+@dirrm %%DATADIR%%/skins
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver/default
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver
+@dirrm %%DATADIR%%
@dirrmtry share/applications
+%%CAS%%@dirrmtry share/cas
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
+%%NLS%%@dirrmtry share/locale/et_EE/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/et_EE
+%%NLS%%@dirrmtry share/locale/it_CH/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/it_CH
+%%NLS%%@dirrmtry share/locale/ko_KR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ko_KR
+@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
diff --git a/net-p2p/amule2/Makefile b/net-p2p/amule2/Makefile
index 1cd64f80ee26..294fd785801d 100644
--- a/net-p2p/amule2/Makefile
+++ b/net-p2p/amule2/Makefile
@@ -6,140 +6,203 @@
#
PORTNAME= aMule
-PORTVERSION= 2.2.6
-PORTREVISION= 4
+PORTVERSION= 10266
CATEGORIES= net-p2p
-MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/ \
+ http://repo.or.cz/w/${PORTNAME:L}.git/snapshot/
+DISTNAME= ${PORTNAME:L}-svn-r${PORTVERSION}
-MAINTAINER= boris@tagnet.ru
+MAINTAINER= swell.k@gmail.com
COMMENT= The all-platform eMule p2p client
-BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+BUILD_DEPENDS= ${FLEX}:${PORTSDIR}/textproc/flex \
${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LATEST_LINK= aMule2
CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-1.*
-USE_BZIP2= yes
-USE_GNOME= gnomehier gnomehack gnomeprefix
+WRKSRC= ${WRKDIR}/${PORTNAME:L}
+
+USE_GNOME= pkgconfig
USE_GMAKE= yes
+USE_KDE4= # empty
+USE_QT_VER= 4
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-debug \
- --without-included-gettext \
+CONFIGURE_ARGS= --without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
--with-crypto-prefix=${LOCALBASE} \
--with-denoise-level=0
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \
+ docdir='$${prefix}/${DOCSDIR_REL}' \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-OPTIONS= OPTIMIZE "Build with optimization" on \
- ED2K "Compile aMule ed2k links handler" on \
+OPTIONS= ALC "Compile aMule Link Creator (+GUI)" on \
AMULECMD "Compile aMule command line client" on \
- AMULEWEBSRV "Compile aMule WebServer" on \
+ AMULEDAEMON "Compile aMule daemon version" on \
+ AMULEGUI "Compile aMule remote GUI (EXPERIMENTAL)" on \
CAS "Compile C aMule Statistics (+GUI)" on \
- ALC "Compile aMule Link Creator (+GUI)" on \
- AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
- WXUNICODE "Enable Unicode support" on \
+ ED2K "Compile aMule ed2k links handler" on \
GEOIP "Enable GeoIP IP2Country support" off \
- UPNP "Enable Universal Plug and Play support" off
+ MMAP "Enable using mapped memory" off \
+ PLASMAMULE "Compile aMule plasma applet and engine" off \
+ UPNP "Enable Universal Plug and Play support" off \
+ WEBSERVER "Compile aMule WebServer" on \
+ WXUNICODE "Enable Unicode support" on \
+ XAS "Install XChat2 plugin" on
-DOCSDIR= ${PREFIX}/share/doc/aMule-${PORTVERSION}
+DATADIR_REL= share/${PORTNAME:L}
+DOCSDIR_REL= share/doc/${PORTNAME:L}
PORTDOCS= ABOUT-NLS Changelog EC_Protocol.txt \
ED2K-Links.HOWTO INSTALL README TODO \
amule-win32.HOWTO.txt amulesig.txt license.txt socks4.protocol
+FLEX?= ${LOCALBASE}/bin/flex
+PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
+
.include <bsd.port.pre.mk>
+.if !defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
-# Configure options
-.if !defined(WITHOUT_OPTIMIZE)
-CONFIGURE_ARGS+= --enable-optimize
-.else
-CONFIGURE_ARGS+= --disable-optimize
-.endif
-
-.if !defined(WITHOUT_ED2K)
-CONFIGURE_ARGS+= --enable-ed2k
-PLIST_SUB+= PL_ED2K=""
+.if !defined(WITHOUT_ALC)
+CONFIGURE_ARGS+= --enable-alc --enable-alcc
+PLIST_SUB+= ALC=""
.else
-CONFIGURE_ARGS+= --disable-ed2k
-PLIST_SUB+= PL_ED2K="@comment "
+CONFIGURE_ARGS+= --disable-alc --disable-alcc
+PLIST_SUB+= ALC="@comment "
.endif
.if !defined(WITHOUT_AMULECMD)
CONFIGURE_ARGS+= --enable-amulecmd
-PLIST_SUB+= PL_AMULECMD=""
+PLIST_SUB+= AMULECMD=""
.else
CONFIGURE_ARGS+= --disable-amulecmd
-PLIST_SUB+= PL_AMULECMD="@comment "
+PLIST_SUB+= AMULECMD="@comment "
.endif
-.if !defined(WITHOUT_AMULEWEBSRV)
-CONFIGURE_ARGS+= --enable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV=""
+.if !defined(WITHOUT_AMULEDAEMON)
+CONFIGURE_ARGS+= --enable-amule-daemon
+PLIST_SUB+= AMULEDAEMON=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-webserver
-PLIST_SUB+= PL_AMULEWEBSRV="@comment "
+CONFIGURE_ARGS+= --disable-amule-daemon
+PLIST_SUB+= AMULEDAEMON="@comment "
.endif
-.if !defined(WITHOUT_CAS)
-CONFIGURE_ARGS+= --enable-cas --enable-wxcas
-PLIST_SUB+= PL_CAS=""
+.if !defined(WITHOUT_AMULEGUI)
+CONFIGURE_ARGS+= --enable-amule-gui
+PLIST_SUB+= AMULEGUI=""
+USE_RC_SUBR= amuled.sh
.else
-CONFIGURE_ARGS+= --disable-cas --disable-wxcas
-PLIST_SUB+= PL_CAS="@comment "
+CONFIGURE_ARGS+= --disable-amule-gui
+PLIST_SUB+= AMULEGUI="@comment "
.endif
-.if !defined(WITHOUT_ALC)
-CONFIGURE_ARGS+= --enable-alc --enable-alcc
-PLIST_SUB+= PL_ALC=""
+.if !defined(WITHOUT_CAS)
+CONFIGURE_ARGS+= --enable-cas --enable-wxcas
+LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
+PLIST_SUB+= CAS=""
.else
-CONFIGURE_ARGS+= --disable-alc --disable-alcc
-PLIST_SUB+= PL_ALC="@comment "
+CONFIGURE_ARGS+= --disable-cas --disable-wxcas
+PLIST_SUB+= CAS="@comment "
.endif
-.if defined(WITH_AMULEDAEMON)
-CONFIGURE_ARGS+= --enable-amule-daemon --enable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON=""
-USE_RC_SUBR= amuled.sh
+.if !defined(WITHOUT_ED2K)
+CONFIGURE_ARGS+= --enable-ed2k
+PLIST_SUB+= ED2K=""
.else
-CONFIGURE_ARGS+= --disable-amule-daemon --disable-amule-gui
-PLIST_SUB+= PL_AMULEDAEMON="@comment "
+CONFIGURE_ARGS+= --disable-ed2k
+PLIST_SUB+= ED2K="@comment "
.endif
-.if defined(WITH_GEOIP)
+.if !defined(WITHOUT_GEOIP)
CONFIGURE_ARGS+= --enable-geoip
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
.else
CONFIGURE_ARGS+= --disable-geoip
.endif
-.if defined(WITH_UPNP)
+.if !defined(WITHOUT_MMAP)
+CONFIGURE_ARGS+= --enable-mmap
+.else
+CONFIGURE_ARGS+= --disable-mmap
+.endif
+
+.if !defined(WITHOUT_PLASMAMULE)
+CONFIGURE_ENV+= ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config
+CONFIGURE_ARGS+= --enable-plasmamule
+USE_KDE4+= kdelibs
+QT_COMPONENTS+= dbus gui moc_build
+PLIST_SUB+= PLASMAMULE=""
+.else
+CONFIGURE_ARGS+= --disable-plasmamule
+PLIST_SUB+= PLASMAMULE="@comment "
+.endif
+
+.if !defined(WITHOUT_UPNP)
CONFIGURE_ARGS+= --with-libupnp-prefix=${LOCALBASE}
LIB_DEPENDS+= upnp.3:${PORTSDIR}/devel/upnp
.else
CONFIGURE_ARGS+= --disable-upnp
.endif
+.if !defined(WITHOUT_WEBSERVER)
+CONFIGURE_ARGS+= --enable-webserver
+PLIST_SUB+= WEBSERVER=""
+.else
+CONFIGURE_ARGS+= --disable-webserver
+PLIST_SUB+= WEBSERVER="@comment "
+.endif
+
.if !defined(WITHOUT_WXUNICODE)
-WX_UNICODE=yes
+WX_UNICODE= yes
+.endif
+
+.if !defined(WITHOUT_XAS)
+CONFIGURE_ARGS+= --enable-xas
+PLIST_SUB+= XAS=""
+.else
+CONFIGURE_ARGS+= --disable-xas
+PLIST_SUB+= XAS="@comment "
.endif
# Man pages management
.include "Makefile.man"
-.ifdef NOPORTDOCS
-post-patch:
+post-patch: .SILENT
+ ${REINPLACE_CMD} -e '/LDFLAGS/s/-lpthread/${PTHREAD_LIBS}/' \
+ -e 's/test.*-print-file-name.*`/true/' \
+ ${WRKSRC}/configure
+.if defined(NOPORTDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' ${WRKSRC}/docs/Makefile.in
.endif
+.if !defined(WITHOUT_PLASMAMULE)
+ ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \
+ -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \
+ -e '/plasma.*feeder.*LDFLAGS/s/=/& -lQtDBus /' \
+ -e 's/\(plasmamule_so_\)LDFLAGS/\1CXXFLAGS/' \
+ ${WRKSRC}/src/utils/plasmamule/Makefile.in
+.endif
+
+post-install:
+.if !defined(WITHOUT_PLASMAMULE)
+ -update-desktop-database ${KDE4_PREFIX}/share/applications
+ -update-mime-database ${KDE4_PREFIX}/share/mime
+.endif
+ -update-desktop-database ${PREFIX}/share/applications
.include <bsd.port.post.mk>
diff --git a/net-p2p/amule2/Makefile.man b/net-p2p/amule2/Makefile.man
index 58b59b9dd592..24ae456e5b5e 100644
--- a/net-p2p/amule2/Makefile.man
+++ b/net-p2p/amule2/Makefile.man
@@ -1,49 +1,52 @@
# TODO : Add fr here when pages are complete
MANLANG= "" de es eu fr hu it
#MANCOMPRESSED= no
-.if defined(WITH_CAS)
-MAN1_EN+= cas.1
-MAN1_EN+= wxcas.1
-MAN1_DE+= cas.1
-MAN1_DE+= wxcas.1
-MAN1_ES+= cas.1
-MAN1_ES+= wxcas.1
-MAN1_EU+= cas.1
-MAN1_EU+= wxcas.1
-MAN1_HU+= cas.1
-MAN1_HU+= wxcas.1
-.endif
-.if defined(WITH_ALC)
-MAN1_EN+= alc.1
-MAN1_DE+= alc.1
-MAN1_ES+= alc.1
-MAN1_EU+= alc.1
-MAN1_HU+= alc.1
-MAN1_EN+= alcc.1
-MAN1_DE+= alcc.1
-MAN1_ES+= alcc.1
-MAN1_EU+= alcc.1
+
+.if !defined(WITHOUT_NLS)
+MAN1+= amule.1
+. if !defined(WITHOUT_ALC)
+MAN1_EN+= alc.1 alcc.1
+MAN1_DE+= alc.1 alcc.1
+MAN1_ES+= alc.1 alcc.1
+MAN1_EU+= alc.1 alcc.1
MAN1_FR+= alcc.1
-MAN1_HU+= alcc.1
-.endif
-.if defined(WITH_AMULEWEBSRV)
-MAN1+= amuleweb.1
-.endif
-.if defined(WITH_AMULECMD)
-MAN1+= amulecmd.1
-.endif
-.if defined(WITH_ED2K)
-MAN1+= ed2k.1
-.endif
-.if defined(WITH_AMULEDAEMON)
-MAN1+= amuled.1
+MAN1_HU+= alc.1 alcc.1
+MAN1_IT+= alc.1 alcc.1
+. endif
+. if !defined(WITHOUT_AMULECMD)
+MAN1+= amulecmd.1
+. endif
+. if !defined(WITHOUT_AMULEDAEMON)
+MAN1+= amuled.1
+. endif
+. if !defined(WITHOUT_AMULEGUI)
MAN1_EN+= amulegui.1
MAN1_DE+= amulegui.1
+MAN1_ES+= amulegui.1
+MAN1_HU+= amulegui.1
MAN1_IT+= amulegui.1
-.endif
-MAN1+= amule.1
+. endif
+. if !defined(WITHOUT_CAS)
+MAN1_EN+= cas.1 wxcas.1
+MAN1_DE+= cas.1 wxcas.1
+MAN1_ES+= cas.1 wxcas.1
+MAN1_EU+= cas.1 wxcas.1
+MAN1_HU+= cas.1 wxcas.1
+MAN1_IT+= cas.1 wxcas.1
+. endif
+. if !defined(WITHOUT_ED2K)
+MAN1+= ed2k.1
+. endif
+. if !defined(WITHOUT_WEBSERVER)
+MAN1+= amuleweb.1
+. endif
+.endif # !WITHOUT_NLS
+
+.if !defined(WITHOUT_XAS)
MAN1_EN+= xas.1
MAN1_DE+= xas.1
MAN1_ES+= xas.1
MAN1_EU+= xas.1
MAN1_HU+= xas.1
+MAN1_IT+= xas.1
+.endif
diff --git a/net-p2p/amule2/distinfo b/net-p2p/amule2/distinfo
index 33d7c91eee6f..76abe70a827e 100644
--- a/net-p2p/amule2/distinfo
+++ b/net-p2p/amule2/distinfo
@@ -1,3 +1,3 @@
-MD5 (aMule-2.2.6.tar.bz2) = 530d9b48187e36f78fc21bb19e94326d
-SHA256 (aMule-2.2.6.tar.bz2) = 6ce32b5f1d8113a224a8e850639d957656623a04a73fb83d52313c06c3488122
-SIZE (aMule-2.2.6.tar.bz2) = 4722143
+MD5 (amule-svn-r10266.tar.gz) = 2a83be92ab349bbf9a61568feebf624d
+SHA256 (amule-svn-r10266.tar.gz) = ed55a47241a680a8606fee412792f1f3c765d585babd7fc0209d758dcbc81278
+SIZE (amule-svn-r10266.tar.gz) = 5952465
diff --git a/net-p2p/amule2/pkg-plist b/net-p2p/amule2/pkg-plist
index 423fed84f2f3..bb481de6b17d 100644
--- a/net-p2p/amule2/pkg-plist
+++ b/net-p2p/amule2/pkg-plist
@@ -1,371 +1,179 @@
-share/locale/ar/LC_MESSAGES/amule.mo
-share/locale/ast/LC_MESSAGES/amule.mo
-share/locale/bg/LC_MESSAGES/amule.mo
-share/locale/ca/LC_MESSAGES/amule.mo
-share/locale/cs/LC_MESSAGES/amule.mo
-share/locale/da/LC_MESSAGES/amule.mo
-share/locale/de/LC_MESSAGES/amule.mo
-share/locale/el/LC_MESSAGES/amule.mo
-share/locale/en_GB/LC_MESSAGES/amule.mo
-share/locale/es/LC_MESSAGES/amule.mo
-share/locale/et_EE/LC_MESSAGES/amule.mo
-share/locale/eu/LC_MESSAGES/amule.mo
-share/locale/fi/LC_MESSAGES/amule.mo
-share/locale/fr/LC_MESSAGES/amule.mo
-share/locale/gl/LC_MESSAGES/amule.mo
-share/locale/he/LC_MESSAGES/amule.mo
-share/locale/hr/LC_MESSAGES/amule.mo
-share/locale/hu/LC_MESSAGES/amule.mo
-share/locale/it/LC_MESSAGES/amule.mo
-share/locale/it_CH/LC_MESSAGES/amule.mo
-share/locale/ja/LC_MESSAGES/amule.mo
-share/locale/ko_KR/LC_MESSAGES/amule.mo
-share/locale/lt/LC_MESSAGES/amule.mo
-share/locale/nl/LC_MESSAGES/amule.mo
-share/locale/nn/LC_MESSAGES/amule.mo
-share/locale/pl/LC_MESSAGES/amule.mo
-share/locale/pt_BR/LC_MESSAGES/amule.mo
-share/locale/pt_PT/LC_MESSAGES/amule.mo
-share/locale/ru/LC_MESSAGES/amule.mo
-share/locale/sl/LC_MESSAGES/amule.mo
-share/locale/sq/LC_MESSAGES/amule.mo
-share/locale/sv/LC_MESSAGES/amule.mo
-share/locale/tr/LC_MESSAGES/amule.mo
-share/locale/uk/LC_MESSAGES/amule.mo
-share/locale/zh_CN/LC_MESSAGES/amule.mo
-share/locale/zh_TW/LC_MESSAGES/amule.mo
-@dirrmtry share/locale/ar/LC_MESSAGES
-@dirrmtry share/locale/ar
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
-@dirrmtry share/locale/bg/LC_MESSAGES
-@dirrmtry share/locale/bg
-@dirrmtry share/locale/ca/LC_MESSAGES
-@dirrmtry share/locale/ca
-@dirrmtry share/locale/cs/LC_MESSAGES
-@dirrmtry share/locale/cs
-@dirrmtry share/locale/da/LC_MESSAGES
-@dirrmtry share/locale/da
-@dirrmtry share/locale/de/LC_MESSAGES
-@dirrmtry share/locale/de
-@dirrmtry share/locale/el/LC_MESSAGES
-@dirrmtry share/locale/el
-@dirrmtry share/locale/en_GB/LC_MESSAGES
-@dirrmtry share/locale/en_GB
-@dirrmtry share/locale/es/LC_MESSAGES
-@dirrmtry share/locale/es
-@dirrmtry share/locale/et_EE/LC_MESSAGES
-@dirrmtry share/locale/et_EE
-@dirrmtry share/locale/eu/LC_MESSAGES
-@dirrmtry share/locale/eu
-@dirrmtry share/locale/fi/LC_MESSAGES
-@dirrmtry share/locale/fi
-@dirrmtry share/locale/gl/LC_MESSAGES
-@dirrmtry share/locale/gl
-@dirrmtry share/locale/he/LC_MESSAGES
-@dirrmtry share/locale/he
-@dirrmtry share/locale/hr/LC_MESSAGES
-@dirrmtry share/locale/hr
-@dirrmtry share/locale/hu/LC_MESSAGES
-@dirrmtry share/locale/hu
-@dirrmtry share/locale/it/LC_MESSAGES
-@dirrmtry share/locale/it
-@dirrmtry share/locale/it_CH/LC_MESSAGES
-@dirrmtry share/locale/it_CH
-@dirrmtry share/locale/ja/LC_MESSAGES
-@dirrmtry share/locale/ja
-@dirrmtry share/locale/ko_KR/LC_MESSAGES
-@dirrmtry share/locale/ko_KR
-@dirrmtry share/locale/lt/LC_MESSAGES
-@dirrmtry share/locale/lt
-@dirrmtry share/locale/nl/LC_MESSAGES
-@dirrmtry share/locale/nl
-@dirrmtry share/locale/nn/LC_MESSAGES
-@dirrmtry share/locale/nn
-@dirrmtry share/locale/pl/LC_MESSAGES
-@dirrmtry share/locale/pl
-@dirrmtry share/locale/pt_BR/LC_MESSAGES
-@dirrmtry share/locale/pt_BR
-@dirrmtry share/locale/ru/LC_MESSAGES
-@dirrmtry share/locale/ru
-@dirrmtry share/locale/sl/LC_MESSAGES
-@dirrmtry share/locale/sl
-@dirrmtry share/locale/sq/LC_MESSAGES
-@dirrmtry share/locale/sq
-@dirrmtry share/locale/sv/LC_MESSAGES
-@dirrmtry share/locale/sv
-@dirrmtry share/locale/tr/LC_MESSAGES
-@dirrmtry share/locale/tr
-@dirrmtry share/locale/uk/LC_MESSAGES
-@dirrmtry share/locale/uk
-@dirrmtry share/locale/zh_CN/LC_MESSAGES
-@dirrmtry share/locale/zh_CN
-@dirrmtry share/locale/zh_TW/LC_MESSAGES
-@dirrmtry share/locale/zh_TW
-%%PL_CAS%%share/cas/tmp.html
-%%PL_CAS%%share/cas/stat.png
-%%PL_CAS%%@dirrmtry share/cas
-%%PL_CAS%%share/pixmaps/wxcas.xpm
-%%PL_ALC%%share/pixmaps/alc.xpm
-%%PL_AMULEDAEMON%%share/pixmaps/amulegui.xpm
-share/pixmaps/amule.xpm
-%%PL_CAS%%share/applications/wxcas.desktop
-%%PL_ALC%%share/applications/alc.desktop
-%%PL_AMULEDAEMON%%share/applications/amulegui.desktop
-share/applications/amule.desktop
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/default/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/top.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-reload.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-search-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-servers-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-settings-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-shared-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-download-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-kad-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-stats-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-connect.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-logout-pressed.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/toolbutton-filter.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/arrow-r.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/up.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/down.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/pause.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/resume.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/apply.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/delete.jpeg
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/php-default/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/aMule.tmpl
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/add_server.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_down_logout.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_right.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/arrow_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/back.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_download.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_kad.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_search.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_servers.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_settings.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_shared.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/log.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/cp_stats.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/emule.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/green.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/greenpercent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_down.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_ed2klink.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_info.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_pause.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_resume.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/l_up.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_bottom.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_downmain.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_lefttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_righttop.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_top.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topdown.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login_topseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/logo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_top_bg.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbar.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbardarker.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/main_topbarseperator.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/transparent.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/yellow.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/phpamule.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/downloads.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/preferences.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_graphs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/stat_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/chicane/index.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-dload.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-kad.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-prefs.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-search.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-servers.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-shared.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/amuleweb-main-stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/black.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blank1x1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue1.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue2.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue3.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue4.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue5.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/blue6.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/cancel.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/close.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/col.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/connect.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/down.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/edkserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/favicon.ico
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/filter.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/fond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/footer.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/index.html
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/kitty.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/log.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/login.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginfond_haut.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.jpg
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/loginlogo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/logo.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/maquette.dwt
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/ok.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/pause.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/play.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/red.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/refresh.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/search_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/shared_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/sheserv_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/stats_tree.php
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/style.css
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_bottom_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_left.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tab_top_right.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_0.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/transf_1.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-closed.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-leaf.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/tree-open.gif
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/up.png
-%%PL_AMULEWEBSRV%%share/amule/webserver/litoral/yellow.gif
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/php-default
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/chicane
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver/litoral
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule/webserver
-%%PL_AMULEWEBSRV%%@dirrmtry share/amule
-share/amule/skins/gnome.zip
-share/amule/skins/kde4.zip
-share/amule/skins/tango.zip
-share/amule/skins/xfce.zip
-@dirrm share/amule/skins
-@dirrm share/amule
-lib/xchat/plugins/xas.pl
-@dirrmtry lib/xchat/plugins
-@dirrmtry lib/xchat
-%%PL_CAS%%bin/cas
-%%PL_CAS%%bin/wxcas
-%%PL_CAS%%bin/autostart-xas
-%%PL_ALC%%bin/alc
-%%PL_ALC%%bin/alcc
-%%PL_AMULEWEBSRV%%bin/amuleweb
-%%PL_AMULECMD%%bin/amulecmd
-%%PL_ED2K%%bin/ed2k
-%%PL_AMULEDAEMON%%bin/amulegui
-%%PL_AMULEDAEMON%%bin/amuled
+%%PLASMAMULE%%@cwd %%KDE4_PREFIX%%
+%%PLASMAMULE%%bin/plasmamule-engine-feeder
+%%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so
+%%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so
+%%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop
+%%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg
+%%PLASMAMULE%%share/kde4/services/ed2k.protocol
+%%PLASMAMULE%%share/kde4/services/magnet.protocol
+%%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop
+%%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop
+%%PLASMAMULE%%share/mime/amule.xml
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+%%PLASMAMULE%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime 2>/dev/null || true
+%%PLASMAMULE%%@cwd
+%%ALC%%bin/alc
+%%ALC%%bin/alcc
bin/amule
+%%AMULECMD%%bin/amulecmd
+%%AMULEDAEMON%%bin/amuled
+%%AMULEGUI%%bin/amulegui
+%%WEBSERVER%%bin/amuleweb
+%%XAS%%bin/autostart-xas
+%%CAS%%bin/cas
+%%ED2K%%bin/ed2k
+%%CAS%%bin/wxcas
+%%XAS%%lib/xchat/plugins/xas.pl
+%%DATADIR%%/skins/Mac_Gray.zip
+%%DATADIR%%/skins/gnome.zip
+%%DATADIR%%/skins/kde4.zip
+%%DATADIR%%/skins/priscilla.zip
+%%DATADIR%%/skins/tango.zip
+%%DATADIR%%/skins/xfce.zip
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-dload.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-kad.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-prefs.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-search.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-servers.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-shared.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/black.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blank1x1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue1.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue2.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue3.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue4.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue5.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/blue6.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/cancel.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/close.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/col.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/connect.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/down.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/favicon.ico
+%%WEBSERVER%%%%DATADIR%%/webserver/default/filter.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/fond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/footer.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/index.html
+%%WEBSERVER%%%%DATADIR%%/webserver/default/log.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/login.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond_haut.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.jpg
+%%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/logo.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/maquette.dwt
+%%WEBSERVER%%%%DATADIR%%/webserver/default/ok.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/pause.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/play.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/red.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/refresh.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/search_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/shared_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/stats_tree.php
+%%WEBSERVER%%%%DATADIR%%/webserver/default/style.css
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_left.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_right.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_0.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/transf_1.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-closed.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-leaf.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/tree-open.gif
+%%WEBSERVER%%%%DATADIR%%/webserver/default/up.png
+%%WEBSERVER%%%%DATADIR%%/webserver/default/yellow.gif
+%%ALC%%share/applications/alc.desktop
+share/applications/amule.desktop
+%%AMULEGUI%%share/applications/amulegui.desktop
+%%CAS%%share/applications/wxcas.desktop
+%%CAS%%share/cas/stat.png
+%%CAS%%share/cas/tmp.html
+%%NLS%%share/locale/ar/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/da/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/de/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/el/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/es/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/et_EE/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/he/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/it_CH/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ko_KR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/amule.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/amule.mo
+%%ALC%%share/pixmaps/alc.xpm
+share/pixmaps/amule.xpm
+%%AMULEGUI%%share/pixmaps/amulegui.xpm
+%%CAS%%share/pixmaps/wxcas.xpm
+%%XAS%%@dirrmtry lib/xchat/plugins
+%%XAS%%@dirrmtry lib/xchat
+@dirrmtry man/de/man1
+@dirrmtry man/de
+@dirrmtry man/es/man1
+@dirrmtry man/es
+@dirrmtry man/eu/man1
+@dirrmtry man/eu
+@dirrmtry man/fr/man1
+@dirrmtry man/fr
+@dirrmtry man/hu/man1
+@dirrmtry man/hu
+@dirrmtry man/it/man1
+@dirrmtry man/it
+@dirrm %%DATADIR%%/skins
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver/default
+%%WEBSERVER%%@dirrm %%DATADIR%%/webserver
+@dirrm %%DATADIR%%
@dirrmtry share/applications
+%%CAS%%@dirrmtry share/cas
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
+%%NLS%%@dirrmtry share/locale/et_EE/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/et_EE
+%%NLS%%@dirrmtry share/locale/it_CH/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/it_CH
+%%NLS%%@dirrmtry share/locale/ko_KR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ko_KR
+@exec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true
+@unexec %%LOCALBASE%%/bin/update-desktop-database %D/share/applications 2>/dev/null || true