Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= doublecmd |
4 |
PORTNAME= doublecmd |
5 |
PORTVERSION= 0.5.4 |
5 |
PORTVERSION= 0.5.4 |
6 |
PORTREVISION= 2 |
6 |
PORTREVISION= 3 |
7 |
CATEGORIES= x11-fm |
7 |
CATEGORIES= x11-fm |
8 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
8 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
9 |
MASTER_SITE_SUBDIR= ${PORTNAME}/Double%20Commander%20Source |
9 |
MASTER_SITE_SUBDIR= ${PORTNAME}/Double%20Commander%20Source |
Lines 13-18
Link Here
|
13 |
MAINTAINER= bbtruk@users.sourceforge.net |
13 |
MAINTAINER= bbtruk@users.sourceforge.net |
14 |
COMMENT= Total Commander like file manager for the X Window System |
14 |
COMMENT= Total Commander like file manager for the X Window System |
15 |
|
15 |
|
|
|
16 |
LICENSE= GPLv2 |
17 |
|
16 |
BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \ |
18 |
BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \ |
17 |
fpcres:${PORTSDIR}/lang/fpc-utils |
19 |
fpcres:${PORTSDIR}/lang/fpc-utils |
18 |
|
20 |
|
Lines 45-51
Link Here
|
45 |
|
47 |
|
46 |
.if ${PORT_OPTIONS:MGTK2} |
48 |
.if ${PORT_OPTIONS:MGTK2} |
47 |
USE_FPC+= gtk2 |
49 |
USE_FPC+= gtk2 |
48 |
USE_GNOME= gtk20 gdkpixbuf |
50 |
USE_GNOME+= gtk20 gdkpixbuf |
49 |
LCL_PLATFORM= gtk2 |
51 |
LCL_PLATFORM= gtk2 |
50 |
BUILD_DEPENDS+= ${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2 |
52 |
BUILD_DEPENDS+= ${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2 |
51 |
.endif |
53 |
.endif |
Lines 66-71
Link Here
|
66 |
@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/src/dmhelpmanager.pas |
68 |
@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/src/dmhelpmanager.pas |
67 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ |
69 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ |
68 |
${WRKSRC}/src/uGlobsPaths.pas |
70 |
${WRKSRC}/src/uGlobsPaths.pas |
|
|
71 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ |
72 |
${WRKSRC}/install/linux/doublecmd.desktop |
69 |
@${REINPLACE_CMD} -e 's|.GetSize|.Size|g' ${WRKSRC}/src/platform/uClipboard.pas |
73 |
@${REINPLACE_CMD} -e 's|.GetSize|.Size|g' ${WRKSRC}/src/platform/uClipboard.pas |
70 |
@${REINPLACE_CMD} -e '176d' ${WRKSRC}/src/uxmlconfig.pas |
74 |
@${REINPLACE_CMD} -e '176d' ${WRKSRC}/src/uxmlconfig.pas |
71 |
|
75 |
|
Lines 81-87
Link Here
|
81 |
pre-install: |
85 |
pre-install: |
82 |
@${RM} -f ${PLIST} |
86 |
@${RM} -f ${PLIST} |
83 |
|
87 |
|
84 |
.for FILE in %%DATADIR%%/doublecmd.ext.example \ |
88 |
.for FILE in %%DATADIR%%/doublecmd.png %%DATADIR%%/doublecmd.ext.example \ |
85 |
%%DATADIR%%/editor.col %%DATADIR%%/twilight.col %%DATADIR%%/pixmaps.txt \ |
89 |
%%DATADIR%%/editor.col %%DATADIR%%/twilight.col %%DATADIR%%/pixmaps.txt \ |
86 |
%%DATADIR%%/default.bar %%DATADIR%%/multiarc.ini bin/doublecmd \ |
90 |
%%DATADIR%%/default.bar %%DATADIR%%/multiarc.ini bin/doublecmd \ |
87 |
share/applications/doublecmd.desktop |
91 |
share/applications/doublecmd.desktop |
Lines 129-135
Link Here
|
129 |
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; |
133 |
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; |
130 |
.endif |
134 |
.endif |
131 |
|
135 |
|
132 |
.for FILE in doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini |
136 |
.for FILE in doublecmd.png doublecmd.ext.example editor.col twilight.col pixmaps.txt default.bar multiarc.ini |
133 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR} |
137 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR} |
134 |
.endfor |
138 |
.endfor |
135 |
${INSTALL_PROGRAM} ${WRKSRC}/doublecmd ${PREFIX}/bin/${PORTNAME} |
139 |
${INSTALL_PROGRAM} ${WRKSRC}/doublecmd ${PREFIX}/bin/${PORTNAME} |