Index: head/cad/zcad/Makefile =================================================================== --- head/cad/zcad/Makefile (revision 521631) +++ head/cad/zcad/Makefile (revision 521632) @@ -1,112 +1,112 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= zcad PORTVERSION= 0.9.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple CAD program USES= fpc lazarus:flavors tar:xz USE_GITHUB= yes GH_ACCOUNT= zamtmn USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-stl fcl-xml opengl \ pasjpeg rtl-extra rtl-objpas x11 MAKE_ENV= LAZBUILD_CMD="${LAZBUILD_CMD}" \ LAZBUILD_ARGS="${LAZBUILD_ARGS}" \ LCL_PLATFORM="${LCL_PLATFORM}" \ LAZARUS_DIR="${LAZARUS_DIR}" \ INSTANTFPCCACHE="${WRKSRC}/.cache" BUILD_WRKSRC= ${WRKSRC}/cad_source INSTALL_WRKSRC= ${WRKSRC}/cad LAZARUS_PROJECT_FILES= anchordocking/anchordocking.lpk \ fpvectorial/fpvectorialpkg.lpk \ lclextensions/lclextensions_package.lpk \ virtualtreeview/virtualtreeview_package.lpk \ other/rtl-generics_for_FPC304/rtl_generics.lpk \ components/zebase/zebase.lpk \ components/zcontainers/zcontainers.lpk \ components/zcontrols/zcontrols.lpk \ components/zmath/zmath.lpk \ components/zscriptbase/zscriptbase.lpk \ components/zscript/zscript.lpk \ components/zundostack/zundostack.lpk \ components/zobjectinspector/zobjectinspector.lpk \ components/ztoolbars/ztoolbars.lpk \ other/AGraphLaz/lazarus/ag_vectors.lpk \ other/AGraphLaz/lazarus/ag_attr.lpk \ other/AGraphLaz/lazarus/ag_math.lpk \ other/AGraphLaz/lazarus/ag_graph.lpk \ other/uniqueinstance/uniqueinstance_package.lpk \ utils/typeexporter.lpi LAZBUILD_ARGS= -d --pcp=${WRKSRC}/tmppcp gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 PORTDOCS= UserGuide.odt UserGuide.pdf OPTIONS_DEFINE= DOCS .if ${FLAVOR:Ugtk2:Mgtk2} MAKE_ENV+= GUI=gtk2 .endif post-patch: @${EGREP} -lR 'IFN?DEF LINUX' ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -E '/IFN?DEF LINUX/s,LINUX,UNIX,g' @${REINPLACE_CMD} -e '/}Linux{/d' \ ${BUILD_WRKSRC}/other/AGraphLaz/Vectors/VStream.pas \ ${BUILD_WRKSRC}/other/AGraphLaz/Vectors/VFStream.pas \ ${BUILD_WRKSRC}/other/AGraphLaz/Vectors/VFileSys.pas \ ${BUILD_WRKSRC}/other/AGraphLaz/Vectors/VStrm64.pas @${REINPLACE_CMD} '1,6d' ${WRKSRC}/environment/makeenv_zcad.sh post-configure: # OpenGL component must be fixed and rebuilt locally (to avoid touching # filesystem outside working directory) ${SED} -e 's,Linux,${OPSYS},' \ ${LAZARUS_DIR}/components/opengl/openglcontext.pas \ > ${BUILD_WRKSRC}/openglcontext.pas ${CP} ${LAZARUS_DIR}/components/opengl/glgtkglxcontext.pas \ ${LAZARUS_DIR}/components/opengl/glqtcontext.pas \ ${LAZARUS_DIR}/components/opengl/openglcontext.res \ ${BUILD_WRKSRC} ${CP} -a ${LAZARUS_DIR}/components/fpvectorial \ ${LAZARUS_DIR}/components/anchordocking \ ${LAZARUS_DIR}/components/virtualtreeview \ ${LAZARUS_DIR}/components/lclextensions ${BUILD_WRKSRC} post-build: @${MKDIR} ${WRKSRC}/cad @${CP} -a ${WRKSRC}/environment/runtimefiles/common/* ${WRKSRC}/cad @${CP} -a ${WRKSRC}/environment/runtimefiles/zcad/* ${WRKSRC}/cad @cd ${WRKSRC}/environment && ${SH} makeenv_zcad.sh @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${LAZBUILD_CMD} \ ${LAZBUILD_ARGS} --ws=${LCL_PLATFORM} \ --lazarusdir=${LAZARUS_DIR} zcad.lpi do-install: # Not ready for hier(7)-conforming installation yet @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/${PORTNAME} cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} "autosave components \ fonts images languages log menu plugins rtl sample \ template" ${STAGEDIR}${PREFIX}/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/userguide/UserGuide.odt \ ${INSTALL_WRKSRC}/UserGuide.pdf ${STAGEDIR}${DOCSDIR} .include PATCH_ARGS+= -l Index: head/comms/cqrlog/Makefile =================================================================== --- head/comms/cqrlog/Makefile (revision 521631) +++ head/comms/cqrlog/Makefile (revision 521632) @@ -1,70 +1,70 @@ # Created by: Stephen Hurd # $FreeBSD$ PORTNAME= cqrlog PORTVERSION= 2.3.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms hamradio PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio logging application LICENSE= GPLv2 LIB_DEPENDS= libhamlib.so:comms/hamlib USES= fpc gnome lazarus:flavors shebangfix ssl:run dos2unix \ mysql:server xorg USE_GNOME+= cairo USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= ok2cqr SHEBANG_FILES= tools/cqrlog-apparmor-fix \ voice_keyer/voice_keyer.sh USE_FPC= cairo fcl-base chm fcl-db fcl-image fcl-json fcl-net fcl-web \ fcl-registry rtl-extra fcl-xml mysql numlib opengl openssl \ pasjpeg regexpr x11 ALL_TARGET= ${PORTNAME} MAKE_ENV+= LAZBUILD_CMD="${LAZBUILD_CMD}" \ LAZBUILD_ARGS="${LAZBUILD_ARGS}" \ LCL_PLATFORM="${LCL_PLATFORM}" \ LAZARUS_DIR="${LAZARUS_DIR}" NO_LAZBUILD= yes LAZBUILD_ARGS= -d --pcp=. LAZARUS_NO_FLAVORS=qt5 INSTALLS_ICONS= yes DOS2UNIX_WRKSRC=${WRKSRC}/src/synapse/ post-extract: @${RM} -r ${WRKSRC}/src/lnet/lib/openssl.pas post-patch: @${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g \ -e s!%%MAKE_CMD%%!${MAKE_CMD}!g \ -e s!%%LAZARUSDIR%%!${LAZARUS_DIR}!g \ ${FILESDIR}/environmentoptions.xml.in \ > ${WRKSRC}/environmentoptions.xml ${REINPLACE_CMD} -e s!%%LOCALBASE%%!${LOCALBASE}!g \ ${WRKSRC}/help/cwd.html ${WRKSRC}/help/h1.html \ ${WRKSRC}/src/cqrlog.lpi ${WRKSRC}/src/dData.pas \ ${WRKSRC}/src/dUtils.pas \ ${WRKSRC}/src/fLoTWExport.pas ${WRKSRC}/src/fLoTWExport.lfm \ ${WRKSRC}/src/fPreferences.pas ${WRKSRC}/src/fRotControl.pas \ ${WRKSRC}/src/fTRXControl.pas ${WRKSRC}/src/fGrayline.pas \ ${WRKSRC}/src/fPreferences.lfm ${WRKSRC}/src/fPreferences.pas ${REINPLACE_CMD} -e s!%%DATADIR%%!${DATADIR}!g \ ${WRKSRC}/src/dData.pas ${WRKSRC}/src/fGrayline.pas ${REINPLACE_CMD} -e s!Linux!FreeBSD!g \ ${WRKSRC}/src/fMain.lfm ${REINPLACE_CMD} -e s!%%OPENSSLLIB%%!${OPENSSLLIB}!g \ ${WRKSRC}/src/synapse/ssl_openssl_lib.pas ${RM} -r ${WRKSRC}/src/mysql .include Index: head/editors/picpas/Makefile =================================================================== --- head/editors/picpas/Makefile (revision 521631) +++ head/editors/picpas/Makefile (revision 521632) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= picpas PORTVERSION= 0.8.8 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Multi-platform Pascal for Microchip PIC16F microcontrollers LICENSE= GPLv2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USES= dos2unix fpc gnome lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-registry fcl-xml pasjpeg regexpr \ rtl-objpas x11 USE_XORG= x11 DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt|lfm) USE_GITHUB= yes GH_ACCOUNT= t-edson GH_PROJECT= PicPas GH_TAGNAME= cc5d415 GH_TUPLE= t-edson:MiConfig:a4a988a:miconfig/miconfig \ t-edson:MisUtils:742eff3:misutils/misutils \ t-edson:PicUtils:5f89bdf:picutils/picutils \ t-edson:SynFacilUtils:2909899:syncfacilutils/syncfacilutils \ t-edson:UtilsGrilla:07744b9:utilsgrilla/utilsgrilla \ t-edson:ogEditGraf:328a207:ogeditgraf/ogeeditgraf \ t-edson:t-Xpres:6665922:txpres/txpres USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} LAZARUS_PROJECT_FILES= Source/PicPas.lpi LAZBUILD_ARGS= -d post-patch: ${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/Source/Globales.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/PicPas-freebsd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "devices10 devices16 devices17 syntax samples temp themes units" ${STAGEDIR}${DATADIR} .include Index: head/multimedia/winff/Makefile =================================================================== --- head/multimedia/winff/Makefile (revision 521631) +++ head/multimedia/winff/Makefile (revision 521632) @@ -1,67 +1,67 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= WinFF PORTVERSION= 1.5.5 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= multimedia MASTER_SITES= LOCAL/thierry PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${_PORTNAME}-${PORTVERSION}-source MAINTAINER= thierry@FreeBSD.org COMMENT= Convert your videos quickly, easily, and all at once LICENSE= GPLv3 LIB_DEPENDS= libavutil.so:multimedia/ffmpeg USES= fpc lazarus:flavors xorg USE_XORG= x11 USE_FPC= chm fcl-base fcl-image fcl-json fcl-xml pasjpeg regexpr x11 NO_WRKSUBDIR= yes _PORTNAME= ${PORTNAME:tl} DATADIR= ${PREFIX}/share/${_PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${_PORTNAME} DESKTOP_ENTRIES= "${PORTNAME}" \ "${COMMENT}" \ "${_PORTNAME}" \ "${_PORTNAME}" \ "AudioVideo;" \ true LAZARUS_NO_FLAVORS= qt5 LAZARUS_PROJECT_FILES= winff.lpr LAZBUILD_ARGS= -d BUILD_WRKSRC= ${WRKDIR}/${PKGNAME}/${_PORTNAME} .if ${FLAVOR:Ugtk2:Mgtk2} USES+= gnome USE_FPC+= cairo USE_GNOME+= cairo INSTALLS_ICONS=yes .endif OPTIONS_DEFINE= DOCS pre-configure: ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${BUILD_WRKSRC}/unit1.pas .for fp in unit1.pas unit4.pas scripts/check_presets.sh ${REINPLACE_CMD} -e 's|/usr/bin/|${LOCALBASE}/bin/|g' ${BUILD_WRKSRC}/${fp} .endfor do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME:tl} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/languages ${INSTALL_DATA} ${BUILD_WRKSRC}/presets.xml ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${STAGEDIR}${DATADIR}/languages/ ${INSTALL_MAN} ${BUILD_WRKSRC}/${_PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${BUILD_WRKSRC}/winff-icons/48x48/${_PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/docs/*.pdf ${STAGEDIR}${DOCSDIR} .include Index: head/net-p2p/awgg/Makefile =================================================================== --- head/net-p2p/awgg/Makefile (revision 521631) +++ head/net-p2p/awgg/Makefile (revision 521632) @@ -1,55 +1,55 @@ # $FreeBSD$ PORTNAME= awgg PORTVERSION= 0.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Advanced wget GUI LICENSE= GPLv2 RUN_DEPENDS= aria2c:www/aria2 \ wget:ftp/wget \ curl:ftp/curl \ youtube-dl:www/youtube_dl \ axel:ftp/axel gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USES= fpc gnome lazarus:flavors xorg USE_FPC= chm fcl-base fcl-db fcl-image fcl-json fcl-registry fcl-xml \ pasjpeg regexpr rtl-extra rtl-objpas x11 USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= Nenirey GH_PROJECT= AWGG GH_TAGNAME= 28d009f DESKTOP_ENTRIES="AWGG" \ "Advanced wget GUI" \ "${PREFIX}/share/pixmaps/AWGG16x16.png" \ "${PORTNAME}" \ "Network;P2P;" \ ${TRUE} USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} LAZBUILD_ARGS= -d LAZARUS_PROJECT_FILES= src/awgg.lpi post-patch: ${REINPLACE_CMD} 's|/usr/bin/shutdown|/sbin/shutdown|g' ${WRKSRC}/src/fmain.pas ${REINPLACE_CMD} 's|/usr|${LOCALBASE}|g' ${WRKSRC}/src/fmain.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} cd ${WRKSRC}/pixmaps && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/pixmaps .include Index: head/x11-fm/doublecmd/Makefile =================================================================== --- head/x11-fm/doublecmd/Makefile (revision 521631) +++ head/x11-fm/doublecmd/Makefile (revision 521632) @@ -1,382 +1,383 @@ # Created by: BeƱat Gonzalez Etxepare # $FreeBSD$ PORTNAME= doublecmd PORTVERSION= 0.9.6 +PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTFILES= ${DISTNAME}.tar.gz ${PORTNAME}-help-${HELPVERSION}-src.tar.gz MAINTAINER= bbtruk@users.sourceforge.net COMMENT= Total Commander like file manager for the X Window System LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 USES= dos2unix desktop-file-utils fpc gnome lazarus:flavors xorg PORTDOCS= * USE_FPC= cairo chm fcl-base fcl-db fcl-image fcl-json fcl-registry \ fcl-xml iconvenc pasjpeg rtl-extra x11 regexpr USE_GNOME= cairo glib20 USE_XORG= x11 DOS2UNIX_FILES= src/dmhelpmanager.pas PLIST= ${WRKDIR}/pkg-plist LAZARUS_PROJECT_FILES= components/chsdet/chsdet.lpk LAZARUS_PROJECT_FILES+= components/CmdLine/cmdbox.lpk LAZARUS_PROJECT_FILES+= components/multithreadprocs/multithreadprocslaz.lpk LAZARUS_PROJECT_FILES+= components/dcpcrypt/dcpcrypt.lpk LAZARUS_PROJECT_FILES+= components/doublecmd/doublecmd_common.lpk LAZARUS_PROJECT_FILES+= components/KASToolBar/kascomp.lpk LAZARUS_PROJECT_FILES+= components/viewer/viewerpackage.lpk LAZARUS_PROJECT_FILES+= components/gifanim/pkg_gifanim.lpk LAZARUS_PROJECT_FILES+= components/synunihighlighter/synuni.lpk LAZBUILD_ARGS= -d --pcp=${WRKSRC}/tmppcp MAKE_ENV+= LDVER=ld.bfd # for DragonFly HELPVERSION= 0.6.0 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOCSRC= ${WRKDIR}/${PORTNAME}-help-${HELPVERSION} gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 OPTIONS_DEFINE= DOCS DEBUG OPTIONS_GROUP= WCX WDX WFX WLX DSX OPTIONS_GROUP_WCX= WCX_CPIO \ WCX_DEB \ WCX_RPM \ WCX_UNBZ2 \ WCX_UNRAR \ WCX_ZIP OPTIONS_GROUP_WDX= WDX_AUDIOINFO \ WDX_RPM \ WDX_DEB \ WDX_XPI \ WDX_SCRIPTS \ WDX_TEXTLINE OPTIONS_GROUP_WFX= WFX_FTP \ WFX_SAMBA OPTIONS_GROUP_WLX= WLX_MPLAYER OPTIONS_GROUP_DSX= DSX_LOCATE WCX_DESC= Packer plugins to work with archives WCX_CPIO_DESC= CPIO format support WCX_DEB_DESC= Debian package archive support WCX_RPM_DESC= Red Hat package archive support WCX_UNBZ2_DESC= BZIP2 format support WCX_UNRAR_DESC= RAR format support WCX_ZIP_DESC= ZIP format support WDX_DESC= Plugins to display and search extended file attributes WDX_AUDIOINFO_DESC= Information about audio files WDX_DEB_DESC= Debian package file information WDX_RPM_DESC= Red Hat package file information WDX_SCRIPTS_DESC= Add support to use custom Lua scripts WDX_XPI_DESC= Mozilla plugin file information WDX_TEXTLINE_DESC= Show and replace single lines in text files WFX_DESC= File system plugins WFX_FTP_DESC= FTP protocol support WFX_SAMBA_DESC= SMB protocol support WLX_DESC= Internal viewer plugins WLX_MPLAYER_DESC= Use MPlayer for multimedia files DSX_DESC= Search plugins DSX_LOCATE_DESC= Support locate command OPTIONS_DEFAULT= WCX_CPIO \ WCX_DEB \ WCX_RPM \ WCX_UNRAR \ WCX_ZIP \ WDX_AUDIOINFO \ WDX_RPM \ WDX_DEB \ WDX_SCRIPTS \ WDX_TEXTLINE \ WDX_XPI \ WFX_FTP \ WFX_SAMBA \ DSX_LOCATE WCX_UNRAR_LIB_DEPENDS= libunrar.so.5:archivers/libunrar5 WFX_SAMBA_USES= samba:lib WLX_MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer .include .if ${PORT_OPTIONS:MDEBUG} LAZBUILD_ARGS+= --bm="Debug" .endif .if ${PORT_OPTIONS:MWFX_FTP} USE_FPC+= fcl-net LAZARUS_PROJECT_FILES+= plugins/wfx/ftp/src/ftp.lpi .endif .if ${PORT_OPTIONS:MWCX_CPIO} LAZARUS_PROJECT_FILES+= plugins/wcx/cpio/src/cpio.lpi .endif .if ${PORT_OPTIONS:MWCX_DEB} LAZARUS_PROJECT_FILES+= plugins/wcx/deb/src/deb.lpi .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} LAZARUS_PROJECT_FILES+= plugins/wcx/unbz2/src/unbz2.lpi .endif .if ${PORT_OPTIONS:MWCX_RPM} LAZARUS_PROJECT_FILES+= plugins/wcx/rpm/src/rpm.lpi .endif .if ${PORT_OPTIONS:MWCX_UNRAR} LAZARUS_PROJECT_FILES+= plugins/wcx/unrar/src/unrar.lpi .endif .if ${PORT_OPTIONS:MWCX_ZIP} LAZARUS_PROJECT_FILES+= plugins/wcx/zip/src/Zip.lpi .endif .if ${PORT_OPTIONS:MWDX_AUDIOINFO} LAZARUS_PROJECT_FILES+= plugins/wdx/audioinfo/src/AudioInfo.lpi .endif .if ${PORT_OPTIONS:MWDX_RPM} LAZARUS_PROJECT_FILES+= plugins/wdx/rpm_wdx/src/rpm_wdx.lpi .endif .if ${PORT_OPTIONS:MWDX_DEB} LAZARUS_PROJECT_FILES+= plugins/wdx/deb_wdx/src/deb_wdx.lpi .endif .if ${PORT_OPTIONS:MWDX_XPI} LAZARUS_PROJECT_FILES+= plugins/wdx/xpi_wdx/src/xpi_wdx.lpi .endif .if ${PORT_OPTIONS:MWDX_TEXTLINE} LAZARUS_PROJECT_FILES+= plugins/wdx/textline/src/TextLine.lpi .endif .if ${PORT_OPTIONS:MWFX_SAMBA} LAZARUS_PROJECT_FILES+= plugins/wfx/samba/src/samba.lpi .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} LAZARUS_PROJECT_FILES+= plugins/wlx/WlxMplayer/src/wlxMplayer.lpi .endif .if ${PORT_OPTIONS:MDSX_LOCATE} LAZARUS_PROJECT_FILES+= plugins/dsx/DSXLocate/src/DSXLocate.lpi .endif LAZARUS_PROJECT_FILES+= src/doublecmd.lpi pre-patch: ${TR} '\r' '\n' < ${WRKSRC}/src/uGlobsPaths.pas > ${WRKSRC}/src/uGlobsPaths.pas.unix ${MV} ${WRKSRC}/src/uGlobsPaths.pas.unix ${WRKSRC}/src/uGlobsPaths.pas 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 @${REINPLACE_CMD} -e 's| Default="True"||g' \ -e 's|Name="NoDebug Full Optimizations"|Name="NoDebug Full Optimizations" Default="True"|g' \ ${WRKSRC}/src/${PORTNAME}.lpi post-build: @${RM} -r ${DOCSRC}/*/dev-help pre-install: @${RM} ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wcx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wdx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wfx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wlx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/dsx" >> ${PLIST} .if ${PORT_OPTIONS:MWCX_CPIO} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/cpio/cpio.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_DEB} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/deb/deb.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_RPM} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/rpm/rpm.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/unbz2/unbz2.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_UNRAR} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/unrar/unrar.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_ZIP} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/zip/zip.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_AUDIOINFO} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/audioinfo/audioinfo.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_RPM} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/rpm_wdx/rpm_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_DEB} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/deb_wdx/deb_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_XPI} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/xpi_wdx/xpi_wdx.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} .endif .if ${PORT_OPTIONS:MWDX_TEXTLINE} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/textline/textline.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWFX_FTP} @${ECHO_CMD} "%%DATADIR%%/plugins/wfx/ftp/ftp.wfx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWFX_SAMBA} @${ECHO_CMD} "%%DATADIR%%/plugins/wfx/samba/samba.wfx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} @${ECHO_CMD} "%%DATADIR%%/plugins/wlx/wlxmplayer/wlxmplayer.wlx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MDSX_LOCATE} @${ECHO_CMD} "%%DATADIR%%/plugins/dsx/dsxlocate/dsxlocate.dsx" >> ${PLIST} .endif .for FILE in %%DATADIR%%/doublecmd.ext.example %%DATADIR%%/pixmaps.txt \ %%DATADIR%%/multiarc.ini bin/doublecmd share/applications/doublecmd.desktop \ share/pixmaps/doublecmd.png share/icons/hicolor/scalable/apps/doublecmd.svg @${ECHO_CMD} ${FILE} >> ${PLIST} .endfor @cd ${WRKSRC}/language && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/language/|' >> ${PLIST} @cd ${WRKSRC}/pixmaps && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/pixmaps/|' >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/pixmaps/dctheme/20x20/apps" >> ${PLIST} @cd ${WRKSRC}/sdk && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/sdk/|' >> ${PLIST} @${ECHO_CMD} "man/man1/doublecmd.1.gz" >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wlx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/dsx .if ${PORT_OPTIONS:MWCX_CPIO} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/cpio ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/cpio/lib/cpio.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/cpio/ .endif .if ${PORT_OPTIONS:MWCX_DEB} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/deb ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/deb/lib/deb.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/deb/ .endif .if ${PORT_OPTIONS:MWCX_RPM} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/rpm/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/rpm/lib/rpm.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/rpm/ .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/unbz2/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/unbz2/lib/unbz2.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/unbz2/ .endif .if ${PORT_OPTIONS:MWCX_UNRAR} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/unrar/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/unrar/lib/unrar.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/unrar/ .endif .if ${PORT_OPTIONS:MWCX_ZIP} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/zip/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/zip/zip.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/zip/ .endif .if ${PORT_OPTIONS:MWDX_AUDIOINFO} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/audioinfo/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/audioinfo/audioinfo.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/audioinfo/ .endif .if ${PORT_OPTIONS:MWDX_RPM} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/rpm_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/rpm_wdx/lib/rpm_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/rpm_wdx/ .endif .if ${PORT_OPTIONS:MWDX_DEB} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/deb_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/deb_wdx/lib/deb_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/deb_wdx/ .endif .if ${PORT_OPTIONS:MWDX_XPI} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/xpi_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/xpi_wdx/lib/xpi_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/xpi_wdx/ .endif .if ${PORT_OPTIONS:MWDX_SCRIPTS} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/scripts/ ${INSTALL_DATA} ${WRKSRC}/plugins/wdx/scripts/* ${STAGEDIR}${DATADIR}/plugins/wdx/scripts/ .endif .if ${PORT_OPTIONS:MWDX_TEXTLINE} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/textline/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/textline/textline.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/textline/ .endif .if ${PORT_OPTIONS:MWFX_FTP} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx/ftp/ ${INSTALL_LIB} ${WRKSRC}/plugins/wfx/ftp/ftp.wfx ${STAGEDIR}${DATADIR}/plugins/wfx/ftp/ .endif .if ${PORT_OPTIONS:MWFX_SAMBA} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx/samba/ ${INSTALL_LIB} ${WRKSRC}/plugins/wfx/samba/lib/samba.wfx ${STAGEDIR}${DATADIR}/plugins/wfx/samba/ .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wlx/wlxmplayer/ ${INSTALL_LIB} ${WRKSRC}/plugins/wlx/WlxMplayer/lib/wlxmplayer.wlx ${STAGEDIR}${DATADIR}/plugins/wlx/wlxmplayer/ .endif .if ${PORT_OPTIONS:MDSX_LOCATE} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/dsx/dsxlocate/ ${INSTALL_LIB} ${WRKSRC}/plugins/dsx/DSXLocate/lib/dsxlocate.dsx ${STAGEDIR}${DATADIR}/plugins/dsx/dsxlocate/ .endif .for DIRE in language pixmaps sdk @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor .for FILE in doublecmd.ext.example pixmaps.txt multiarc.ini ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_DATA} ${WRKSRC}/doublecmd.png ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/pixmaps/mainicon/alt/dcfinal.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/doublecmd.svg ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/install/linux/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/ ${INSTALL_MAN} ${WRKSRC}/install/linux/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ post-install: .if ${PORT_OPTIONS:MDOCS} @cd ${DOCSRC} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; .endif .include