svn commit: r320367 - in head/x11-fm/doublecmd: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Jun 9 18:10:47 UTC 2013
Author: rakuco
Date: Sun Jun 9 18:10:45 2013
New Revision: 320367
URL: http://svnweb.freebsd.org/changeset/ports/320367
Log:
- Fixed desktop file's paths (reported by Scott Sealy)
- Fixed 'update-desktop-database not found' error
- Added license information
PR: ports/179231
Submitted by: Beñat Gonzalez Etxepare <bbtruk at users.sourceforge.net> (maintainer)
Added:
head/x11-fm/doublecmd/files/patch-install-linux-doublecmd.desktop (contents, props changed)
Modified:
head/x11-fm/doublecmd/Makefile
Modified: head/x11-fm/doublecmd/Makefile
==============================================================================
--- head/x11-fm/doublecmd/Makefile Sun Jun 9 18:06:37 2013 (r320366)
+++ head/x11-fm/doublecmd/Makefile Sun Jun 9 18:10:45 2013 (r320367)
@@ -3,7 +3,7 @@
PORTNAME= doublecmd
PORTVERSION= 0.5.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}/Double%20Commander%20Source
@@ -13,6 +13,8 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}-sr
MAINTAINER= bbtruk at users.sourceforge.net
COMMENT= Total Commander like file manager for the X Window System
+LICENSE= GPLv2
+
BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \
fpcres:${PORTSDIR}/lang/fpc-utils
@@ -45,7 +47,7 @@ OPTIONS_DEFAULT= GTK2
.if ${PORT_OPTIONS:MGTK2}
USE_FPC+= gtk2
-USE_GNOME= gtk20 gdkpixbuf
+USE_GNOME+= gtk20 gdkpixbuf
LCL_PLATFORM= gtk2
BUILD_DEPENDS+= ${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2
.endif
@@ -66,6 +68,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/src/dmhelpmanager.pas
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/src/uGlobsPaths.pas
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \
+ ${WRKSRC}/install/linux/doublecmd.desktop
@${REINPLACE_CMD} -e 's|.GetSize|.Size|g' ${WRKSRC}/src/platform/uClipboard.pas
@${REINPLACE_CMD} -e '176d' ${WRKSRC}/src/uxmlconfig.pas
@@ -81,7 +85,7 @@ post-build:
pre-install:
@${RM} -f ${PLIST}
-.for FILE in %%DATADIR%%/doublecmd.ext.example \
+.for FILE in %%DATADIR%%/doublecmd.png %%DATADIR%%/doublecmd.ext.example \
%%DATADIR%%/editor.col %%DATADIR%%/twilight.col %%DATADIR%%/pixmaps.txt \
%%DATADIR%%/default.bar %%DATADIR%%/multiarc.ini bin/doublecmd \
share/applications/doublecmd.desktop
@@ -129,7 +133,7 @@ do-install:
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.endif
-.for FILE in doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini
+.for FILE in doublecmd.png doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR}
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/doublecmd ${PREFIX}/bin/${PORTNAME}
Added: head/x11-fm/doublecmd/files/patch-install-linux-doublecmd.desktop
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fm/doublecmd/files/patch-install-linux-doublecmd.desktop Sun Jun 9 18:10:45 2013 (r320367)
@@ -0,0 +1,13 @@
+--- install/linux/doublecmd.desktop 2010-06-13 10:24:46.000000000 +0200
++++ install/linux/doublecmd.desktop 2013-06-02 01:02:42.000000000 +0200
+@@ -1,8 +1,8 @@
+ [Desktop Entry]
+ Name=Double Commander
+ Comment=Double Commander is a cross platform open source file manager with two panels side by side.
+-Exec=/usr/bin/doublecmd
++Exec=%%PREFIX%%/bin/doublecmd
+ Terminal=false
+ Type=Application
+-Icon=/usr/share/pixmaps/doublecmd.png
++Icon=%%DATADIR%%/doublecmd.png
+ Categories=Application;Utility;FileManager;
More information about the svn-ports-all
mailing list