Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 16:43:59 GMT
From:      Beņat Gonzalez Etxepare <bbtruk@users.sourceforge.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181217: [maintainer update] x11-fm/doublecmd: update to version 0.5.6, add plugins support
Message-ID:  <201308101643.r7AGhxSx018406@oldred.freebsd.org>
Resent-Message-ID: <201308101650.r7AGo0cD044388@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181217
>Category:       ports
>Synopsis:       [maintainer update] x11-fm/doublecmd: update to version 0.5.6, add plugins support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 10 16:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Beņat Gonzalez Etxepare
>Release:        
>Organization:
>Environment:
>Description:
Changes:
- Update to version 0.5.6
- Add plugins support


New files:
- files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr

Deleted files:
- files/patch-components__doublecmd__dcosutils.pas
- files/patch-src__ucmdlineparams.pas


Patch tested in RedPorts (rev. 15458):
http://redports.org/buildarchive/20130810151614-64480/
(error in 9.1/i386 because of dependency)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

===> Generating patch
===> Viewing diff with more
diff -ruN /usr/ports/x11-fm/doublecmd/Makefile ./Makefile
--- /usr/ports/x11-fm/doublecmd/Makefile	2013-07-05 01:01:34.000000000 +0200
+++ ./Makefile	2013-08-10 16:04:12.903751000 +0200
@@ -2,12 +2,12 @@
 # $FreeBSD: x11-fm/doublecmd/Makefile 322297 2013-07-04 23:01:34Z wg $
 
 PORTNAME=	doublecmd
-PORTVERSION=	0.5.5
+PORTVERSION=	0.5.6
 CATEGORIES=	x11-fm
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}/Double%20Commander%20Source
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
-DISTFILES=	${PORTNAME}-${PORTVERSION}-src.tar.gz ${PORTNAME}-help-${PORTVERSION}-src.tar.gz
+DISTFILES=	${PORTNAME}-${PORTVERSION}-src.tar.gz ${PORTNAME}-help-${HELPVERSION}-src.tar.gz
 
 MAINTAINER=	bbtruk@users.sourceforge.net
 COMMENT=	Total Commander like file manager for the X Window System
@@ -33,14 +33,46 @@
 LAZBUILD_CMD=	${LOCALBASE}/bin/lazbuild -d
 LAZARUS_DIR=	${LOCALBASE}/share/lazarus
 
+HELPVERSION=	0.5.5
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-DOCSRC=		${WRKDIR}/${PORTNAME}-help-${PORTVERSION}
+DOCSRC=		${WRKDIR}/${PORTNAME}-help-${HELPVERSION}
 
 OPTIONS_DEFINE=		DOCS DEBUG
 OPTIONS_SINGLE=		LCL
 OPTIONS_SINGLE_LCL=	GTK2 QT4
-
-OPTIONS_DEFAULT=	GTK2
+OPTIONS_GROUP=		WCX WDX WFX WLX DSX
+WCX_DESC=	Packer plugins
+WDX_DESC=	Content plugins
+WFX_DESC=	File sytem plugins
+WLX_DESC=	Lister plugins
+DSX_DESC=	Search plugins
+OPTIONS_GROUP_WCX=	WCX_CPIO \
+			WCX_DEB \
+			WCX_LZMA \
+			WCX_RPM \
+			WCX_UNRAR \
+			WCX_ZIP
+OPTIONS_GROUP_WDX=	WDX_RPM \
+			WDX_DEB \
+			WDX_SVN \
+			WDX_XPI \
+			WDX_SCRIPTS
+OPTIONS_GROUP_WFX=	WFX_FTP \
+			WFX_SAMBA
+OPTIONS_GROUP_WLX=	WLX_MPLAYER
+OPTIONS_GROUP_DSX=	DSX_LOCATE
+
+OPTIONS_DEFAULT=	GTK2 \
+			WCX_CPIO \
+			WCX_DEB \
+			WCX_LZMA \
+			WCX_RPM \
+			WDX_RPM \
+			WDX_DEB \
+			WDX_SVN \
+			WDX_SCRIPTS \
+			WDX_XPI \
+			DSX_LOCATE
 
 .include <bsd.port.pre.mk>
 
@@ -57,12 +89,28 @@
 BUILD_DEPENDS+=	${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
 .endif
 
+.if ${PORT_OPTIONS:MWCX_UNRAR}
+LIB_DEPENDS+=	unrar:${PORTSDIR}/archivers/libunrar
+.endif
+
+.if ${PORT_OPTIONS:MWFX_SAMBA}
+LIB_DEPENDS+=	smbclient:${PORTSDIR}/net/samba-libsmbclient
+.endif
+
+.if ${PORT_OPTIONS:MWLX_MPLAYER}
+RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
+.endif
+
 .if ${PORT_OPTIONS:MDEBUG}
 BUILD_MODE=	Debug
 .else
 BUILD_MODE=	NoDebug Full Optimizations
 .endif
 
+.if ${ARCH} == "amd64" && ( ${PORT_OPTIONS:MWCX_UNRAR} || ${PORT_OPTIONS:MWCX_ZIP} || ${PORT_OPTIONS:MWFX_FTP} || ${PORT_OPTIONS:MWFX_SAMBA} || ${PORT_OPTIONS:MWLX_MPLAYER} )
+IGNORE=		the following plugins are currently broken in amd64: wcx_unrar, wcx_zip, wfx_ftp, wfx_samba and wlx_mplayer
+.endif
+
 pre-patch:
 	${TR} '\r' '\n' < ${WRKSRC}/src/uGlobsPaths.pas > ${WRKSRC}/src/uGlobsPaths.pas.unix
 	${MV} ${WRKSRC}/src/uGlobsPaths.pas.unix ${WRKSRC}/src/uGlobsPaths.pas
@@ -70,6 +118,8 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \
 		${WRKSRC}/src/uGlobsPaths.pas
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+		${WRKSRC}/plugins/wlx/WlxMplayer/src/wlxMplayer.lpr
 
 do-build:
 .for FILE in chsdet/chsdet.lpk CmdLine/cmdbox.lpk dcpcrypt/dcpcrypt.lpk \
@@ -80,6 +130,67 @@
 		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "${FILE}"
 .endfor
 
+.if ${PORT_OPTIONS:MWCX_CPIO}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/cpio/src/cpio.lpi"
+.endif
+.if ${PORT_OPTIONS:MWCX_DEB}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/deb/src/deb.lpi"
+.endif
+.if ${PORT_OPTIONS:MWCX_LZMA}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/lzma/src/lzma.lpi"
+.endif
+.if ${PORT_OPTIONS:MWCX_RPM}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/rpm/src/rpm.lpi"
+.endif
+.if ${PORT_OPTIONS:MWCX_UNRAR}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/unrar/src/unrar.lpi"
+.endif
+.if ${PORT_OPTIONS:MWCX_ZIP}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/zip/src/Zip.lpi"
+.endif
+
+.if ${PORT_OPTIONS:MWDX_RPM}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/rpm_wdx/src/rpm_wdx.lpi"
+.endif
+.if ${PORT_OPTIONS:MWDX_DEB}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/deb_wdx/src/deb_wdx.lpi"
+.endif
+.if ${PORT_OPTIONS:MWDX_SVN}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/svn_wdx/src/svn_wdx.lpi"
+.endif
+.if ${PORT_OPTIONS:MWDX_XPI}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/xpi_wdx/src/xpi_wdx.lpi"
+.endif
+
+.if ${PORT_OPTIONS:MWFX_FTP}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/ftp/src/ftp.lpi"
+.endif
+.if ${PORT_OPTIONS:MWFX_SAMBA}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/samba/src/samba.lpi"
+.endif
+
+.if ${PORT_OPTIONS:MWLX_MPLAYER}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wlx/WlxMplayer/src/wlxMplayer.lpi"
+.endif
+
+.if ${PORT_OPTIONS:MDSX_LOCATE}
+	@cd ${WRKSRC}/plugins && \
+		${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "dsx/DSXLocate/src/DSXLocate.lpi"
+.endif
+
 	@cd ${WRKSRC} && \
 		${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
 
@@ -89,9 +200,84 @@
 pre-install:
 	@${RM} -f ${PLIST}
 
+.if ${PORT_OPTIONS:MWCX_CPIO}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/cpio/cpio.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/cpio" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWCX_DEB}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/deb/deb.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/deb" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWCX_LZMA}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/lzma/lzma.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/lzma" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWCX_RPM}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/rpm/rpm.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/rpm" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWCX_UNRAR}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/unrar/unrar.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/unrar" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWCX_ZIP}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wcx/zip/zip.wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx/zip" >> ${PLIST}
+.endif
+
+.if ${PORT_OPTIONS:MWDX_RPM}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wdx/rpm_wdx/rpm_wdx.wdx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx/rpm_wdx" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWDX_DEB}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wdx/deb_wdx/deb_wdx.wdx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx/deb_wdx" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWDX_SVN}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wdx/svn_wdx/svn_wdx.wdx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx/svn_wdx" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWDX_XPI}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wdx/xpi_wdx/xpi_wdx.wdx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx/xpi_wdx" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWDX_SCRIPTS}
+	@cd ${WRKSRC}/plugins/wdx/scripts && \
+		${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/plugins/wdx/scripts/|' >> ${PLIST} && \
+			${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/plugins/wdx/scripts/|' >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx/scripts" >> ${PLIST}
+.endif
+
+.if ${PORT_OPTIONS:MWFX_FTP}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wfx/ftp/ftp.wfx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wfx/ftp" >> ${PLIST}
+.endif
+.if ${PORT_OPTIONS:MWFX_SAMBA}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wfx/samba/samba.wfx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wfx/samba" >> ${PLIST}
+.endif
+
+.if ${PORT_OPTIONS:MWLX_MPLAYER}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/wlx/wlxmplayer/wlxmplayer.wlx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wlx/wlxmplayer" >> ${PLIST}
+.endif
+
+.if ${PORT_OPTIONS:MDSX_LOCATE}
+	@${ECHO_CMD} "%%DATADIR%%/plugins/dsx/dsxlocate/dsxlocate.dsx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/dsx/dsxlocate" >> ${PLIST}
+.endif
+
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wcx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wdx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wfx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/wlx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins/dsx" >> ${PLIST}
+	@${ECHO_CMD} "@dirrm %%DATADIR%%/plugins" >> ${PLIST}
+
 .for FILE in %%DATADIR%%/doublecmd.ext.example %%DATADIR%%/pixmaps.txt \
 	%%DATADIR%%/multiarc.ini bin/doublecmd share/applications/doublecmd.desktop \
-	share/pixmaps/doublecmd.png share/pixmaps/doublecmd.xpm
+	share/pixmaps/doublecmd.png share/pixmaps/doublecmd.xpm \
+	%%DATADIR%%/doublecmd.xml
 	@${ECHO_CMD} ${FILE} >> ${PLIST}
 .endfor
 
@@ -115,6 +301,77 @@
 	@${ECHO_CMD} "@dirrmtry share/applications" >> ${PLIST}
 
 do-install:
+	@${MKDIR} ${DATADIR}/plugins
+	@${MKDIR} ${DATADIR}/plugins/wcx
+	@${MKDIR} ${DATADIR}/plugins/wdx
+	@${MKDIR} ${DATADIR}/plugins/wfx
+	@${MKDIR} ${DATADIR}/plugins/wlx
+	@${MKDIR} ${DATADIR}/plugins/dsx
+.if ${PORT_OPTIONS:MWCX_CPIO}
+	@${MKDIR} ${DATADIR}/plugins/wcx/cpio
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/cpio/lib/cpio.wcx ${DATADIR}/plugins/wcx/cpio/
+.endif
+.if ${PORT_OPTIONS:MWCX_DEB}
+	@${MKDIR} ${DATADIR}/plugins/wcx/deb
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/deb/lib/deb.wcx ${DATADIR}/plugins/wcx/deb/
+.endif
+.if ${PORT_OPTIONS:MWCX_LZMA}
+	@${MKDIR} ${DATADIR}/plugins/wcx/lzma/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/lzma/lib/lzma.wcx ${DATADIR}/plugins/wcx/lzma/
+.endif
+.if ${PORT_OPTIONS:MWCX_RPM}
+	@${MKDIR} ${DATADIR}/plugins/wcx/rpm/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/rpm/lib/rpm.wcx ${DATADIR}/plugins/wcx/rpm/
+.endif
+.if ${PORT_OPTIONS:MWCX_UNRAR}
+	@${MKDIR} ${DATADIR}/plugins/wcx/unrar/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/unrar/lib/unrar.wcx ${DATADIR}/plugins/wcx/unrar/
+.endif
+.if ${PORT_OPTIONS:MWCX_ZIP}
+	@${MKDIR} ${DATADIR}/plugins/wcx/zip/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wcx/zip/lib/zip.wcx ${DATADIR}/plugins/wcx/zip/
+.endif
+
+.if ${PORT_OPTIONS:MWDX_RPM}
+	@${MKDIR} ${DATADIR}/plugins/wdx/rpm_wdx/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wdx/rpm_wdx/lib/rpm_wdx.wdx ${DATADIR}/plugins/wdx/rpm_wdx/
+.endif
+.if ${PORT_OPTIONS:MWDX_DEB}
+	@${MKDIR} ${DATADIR}/plugins/wdx/deb_wdx/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wdx/deb_wdx/lib/deb_wdx.wdx ${DATADIR}/plugins/wdx/deb_wdx/
+.endif
+.if ${PORT_OPTIONS:MWDX_SVN}
+	@${MKDIR} ${DATADIR}/plugins/wdx/svn_wdx/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wdx/svn_wdx/lib/svn_wdx.wdx ${DATADIR}/plugins/wdx/svn_wdx/
+.endif
+.if ${PORT_OPTIONS:MWDX_XPI}
+	@${MKDIR} ${DATADIR}/plugins/wdx/xpi_wdx/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wdx/xpi_wdx/lib/xpi_wdx.wdx ${DATADIR}/plugins/wdx/xpi_wdx/
+.endif
+.if ${PORT_OPTIONS:MWDX_SCRIPTS}
+	@${MKDIR} ${DATADIR}/plugins/wdx/scripts/
+	${INSTALL_DATA} ${WRKSRC}/plugins/wdx/scripts/* ${DATADIR}/plugins/wdx/scripts/
+.endif
+
+.if ${PORT_OPTIONS:MWFX_FTP}
+	@${MKDIR} ${DATADIR}/plugins/wfx/ftp/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wfx/ftp/lib/ftp.wfx ${DATADIR}/plugins/wfx/ftp/
+.endif
+.if ${PORT_OPTIONS:MWFX_SAMBA}
+	@${MKDIR} ${DATADIR}/plugins/wfx/samba/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wfx/samba/lib/samba.wfx ${DATADIR}/plugins/wfx/samba/
+.endif
+
+.if ${PORT_OPTIONS:MWLX_MPLAYER}
+	@${MKDIR} ${DATADIR}/plugins/wlx/wlxmplayer/
+	${INSTALL_LIB} ${WRKSRC}/plugins/wlx/WlxMplayer/lib/wlxmplayer.wlx ${DATADIR}/plugins/wlx/wlxmplayer/
+.endif
+
+.if ${PORT_OPTIONS:MDSX_LOCATE}
+	@${MKDIR} ${DATADIR}/plugins/dsx/dsxlocate/
+	${INSTALL_LIB} ${WRKSRC}/plugins/dsx/DSXLocate/lib/dsxlocate.dsx ${DATADIR}/plugins/dsx/dsxlocate/
+.endif
+
 .for DIRE in language pixmaps sdk
 	@${MKDIR} ${DATADIR}/${DIRE}
 	@cd ${WRKSRC}/${DIRE} && \
@@ -122,7 +379,7 @@
 			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/${DIRE}/{}" \;
 .endfor
 
-.for FILE in doublecmd.ext.example pixmaps.txt multiarc.ini
+.for FILE in doublecmd.ext.example pixmaps.txt multiarc.ini install/linux/doublecmd.xml
 	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR}
 .endfor
 
diff -ruN /usr/ports/x11-fm/doublecmd/distinfo ./distinfo
--- /usr/ports/x11-fm/doublecmd/distinfo	2013-07-05 01:01:34.000000000 +0200
+++ ./distinfo	2013-08-10 15:55:02.229535095 +0200
@@ -1,4 +1,4 @@
-SHA256 (doublecmd-0.5.5-src.tar.gz) = 253ec036ec119c067f501247445acdd35d67ffd9693d246dc4e98897c6df6434
-SIZE (doublecmd-0.5.5-src.tar.gz) = 4401472
+SHA256 (doublecmd-0.5.6-src.tar.gz) = b909ee5c57cb2803e4393163f5c44513144cb32e304fa2e1dfee6f33d0999bc5
+SIZE (doublecmd-0.5.6-src.tar.gz) = 4401556
 SHA256 (doublecmd-help-0.5.5-src.tar.gz) = 5c5d00187df811df0734bf751a581bce7e1bdd4cf4639b2a1101f1da8743daaf
 SIZE (doublecmd-help-0.5.5-src.tar.gz) = 10762769
diff -ruN /usr/ports/x11-fm/doublecmd/files/patch-components__doublecmd__dcosutils.pas ./files/patch-components__doublecmd__dcosutils.pas
--- /usr/ports/x11-fm/doublecmd/files/patch-components__doublecmd__dcosutils.pas	2013-07-05 01:01:34.000000000 +0200
+++ ./files/patch-components__doublecmd__dcosutils.pas	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
---- ./components/doublecmd/dcosutils.pas.orig	2013-06-30 21:33:09.530448529 +0200
-+++ ./components/doublecmd/dcosutils.pas	2013-06-30 21:33:24.841789000 +0200
-@@ -184,11 +184,11 @@
-   Windows, JwaWinNetWk;
- {$ENDIF}
- {$IF DEFINED(UNIX)}
--  {$IF DEFINED(DARWIN)}
-+  {$IF DEFINED(BSD)}
-     {$DEFINE FPC_USE_LIBC}
-   {$ENDIF}
- uses
--  {$IF NOT DEFINED(FPC_USE_LIBC)}
-+  {$IF (NOT DEFINED(FPC_USE_LIBC)) OR (DEFINED(BSD) AND NOT DEFINED(DARWIN))}
-   SysCall,
-   {$ENDIF}
-   BaseUnix, Unix, dl, DCStrUtils;
diff -ruN /usr/ports/x11-fm/doublecmd/files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr ./files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr
--- /usr/ports/x11-fm/doublecmd/files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr	2013-07-22 22:44:19.000000000 +0200
@@ -0,0 +1,11 @@
+--- ./plugins/wlx/WlxMplayer/src/wlxMplayer.lpr.orig	2013-03-10 11:26:35.000000000 +0100
++++ ./plugins/wlx/WlxMplayer/src/wlxMplayer.lpr	2013-07-22 22:43:52.577214000 +0200
+@@ -258,7 +258,7 @@
+   sPlayerPath: String;
+   p: TMPlayer;
+ begin
+-  pf:= TExProcess.Create('which mplayer');
++  pf:= TExProcess.Create('%%LOCALBASE%%/bin/mplayer');
+   try
+     pf.Execute;
+     if (pf.RezList.Count <> 0) then
diff -ruN /usr/ports/x11-fm/doublecmd/files/patch-src__ucmdlineparams.pas ./files/patch-src__ucmdlineparams.pas
--- /usr/ports/x11-fm/doublecmd/files/patch-src__ucmdlineparams.pas	2013-07-05 01:01:34.000000000 +0200
+++ ./files/patch-src__ucmdlineparams.pas	1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
---- ./src/ucmdlineparams.pas.orig	2013-06-08 17:54:12.000000000 +0200
-+++ ./src/ucmdlineparams.pas	2013-06-30 21:42:23.609940000 +0200
-@@ -20,10 +20,7 @@
- implementation
- 
- uses
--  {$IF DEFINED(NIGHTLY_BUILD)}
--  uOSUtils,
--  {$ENDIF}
--  Forms, Dialogs, SysUtils, uDCUtils, uGlobsPaths, getopts, uDebug, uLng;
-+  uOSUtils, Forms, Dialogs, SysUtils, uDCUtils, uGlobsPaths, getopts, uDebug, uLng;
- 
- procedure ProcessCommandLineParams;
- var
diff -ruN /usr/ports/x11-fm/doublecmd/files/pkg-message.in ./files/pkg-message.in
--- /usr/ports/x11-fm/doublecmd/files/pkg-message.in	2013-07-05 01:01:34.000000000 +0200
+++ ./files/pkg-message.in	2013-08-10 16:13:43.076675000 +0200
@@ -8,9 +8,8 @@
 
    # doublecmd
 
-3) Plugins are currently not available for FreeBSD. For more information see:
-   http://doublecmd.sourceforge.net/mediawiki/index.php/Issues_with_FPC,_Lazarus
-   in "Loading shared libraries on FreeBSD doesn't work" section
+3) The following plugins are currently not available under amd64:
+   wcx_unrar, wcx_zip, wfx_ftp, wfx_samba and wlx_mplayer
 
 4) Enjoy it ;)
 
===> Done


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308101643.r7AGhxSx018406>