diff --git a/cad/zcad/Makefile b/cad/zcad/Makefile index 995c9ef23935..009a5c5e0463 100644 --- a/cad/zcad/Makefile +++ b/cad/zcad/Makefile @@ -1,117 +1,117 @@ # Created by: Alexey Dokuchaev PORTNAME= zcad PORTVERSION= 0.9.8.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple CAD program USES= dos2unix fpc lazarus:flavors tar:xz USE_GITHUB= yes GH_ACCOUNT= zamtmn GH_TAGNAME= 8b8a693 USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-stl fcl-xml opengl \ pasjpeg rtl-extra rtl-generics rtl-objpas x11 MAKE_ENV= LAZBUILD_CMD="${LAZBUILD_CMD}" \ LAZBUILD_ARGS="${LAZBUILD_ARGS}" \ LCL_PLATFORM="${LCL_PLATFORM}" \ LAZARUS_DIR="${LAZARUS_DIR}" \ INSTANTFPCCACHE="${WRKSRC}/.cache" DOS2UNIX_GLOB= *.pas *.lpi BUILD_WRKSRC= ${WRKSRC}/cad_source INSTALL_WRKSRC= ${WRKSRC}/cad LAZARUS_PROJECT_FILES= anchordocking/anchordocking.lpk \ fpvectorial/fpvectorialpkg.lpk \ lclextensions/lclextensions_package.lpk \ other/laz.virtualtreeview_package/laz.virtualtreeview_package.lpk \ components/zmacros/zmacros.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} -e 's|LazOpenGLContext|openglcontext.pas|g' \ ${BUILD_WRKSRC}/zcad.lpi @${REINPLACE_CMD} -e "s|'|'|g" \ ${BUILD_WRKSRC}/other/laz.virtualtreeview_package/laz.virtualtreeview_package.lpk @${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/lclextensions ${BUILD_WRKSRC} post-build: @${MKDIR} ${WRKSRC}/cad @${MKDIR} ${WRKSRC}/cad_source/autogenerated @${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}/bin/${BUILDNAME}/${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 diff --git a/comms/cqrlog/Makefile b/comms/cqrlog/Makefile index 05c1260413de..d7d1aa8a4da7 100644 --- a/comms/cqrlog/Makefile +++ b/comms/cqrlog/Makefile @@ -1,72 +1,72 @@ # Created by: Stephen Hurd PORTNAME= cqrlog PORTVERSION= 2.4.0 -PORTREVISION= 4 +PORTREVISION= 5 DISTVERSIONPREFIX= v 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=. INSTALLS_ICONS= yes DOS2UNIX_WRKSRC=${WRKSRC}/src/synapse/ gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 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 ${WRKSRC}/src/fNewQSO.lfm \ ${WRKSRC}/src/dUtils.pas ${REINPLACE_CMD} -e s!%%OPENSSLLIB%%!${OPENSSLLIB}!g \ ${WRKSRC}/src/synapse/ssl_openssl_lib.pas ${RM} -r ${WRKSRC}/src/mysql .include diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile index a03412b76ceb..f4bf77a90b46 100644 --- a/editors/picpas/Makefile +++ b/editors/picpas/Makefile @@ -1,51 +1,51 @@ PORTNAME= picpas PORTVERSION= 0.9.0 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Multi-platform Pascal for Microchip PIC16F microcontrollers LICENSE= GPLv2 BROKEN= fails to build 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= 520e196 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:a19b68a: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 diff --git a/graphics/lazpaint/Makefile b/graphics/lazpaint/Makefile index 22b8c1b47628..6713bcd7a419 100644 --- a/graphics/lazpaint/Makefile +++ b/graphics/lazpaint/Makefile @@ -1,55 +1,56 @@ PORTNAME= lazpaint PORTVERSION= 7.1.6 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= graphics PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Image editor written in Lazarus LICENSE= GPLv3 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-net fcl-web fcl-xml \ opengl openssl pasjpeg rtl-extra rtl-objpas x11 USE_XORG= x11 DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt) USE_GITHUB= yes GH_ACCOUNT= bgrabitmap GH_PROJECT= lazpaint GH_TUPLE= bgrabitmap:bgracontrols:95fc0d2:bgracontrols/bgracontrols \ bgrabitmap:bgrabitmap:ace7e0e:bgrabitmap/bgrabitmapnew USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} DESKTOP_ENTRIES="LazPaint" \ "Image editor written in Lazarus" \ "lazpaint" \ "${PREFIX}/bin/lazpaint" \ "Graphics;" \ ${TRUE} LAZARUS_PROJECT_FILES= bgrabitmapnew/bgrabitmap/bgrabitmappack.lpk LAZARUS_PROJECT_FILES+= bgracontrols/bgracontrols.lpk LAZARUS_PROJECT_FILES+= lazpaintcontrols/lazpaintcontrols.lpk LAZARUS_PROJECT_FILES+= lazpaint/lazpaint.lpi LAZBUILD_ARGS= -d --bm=Release post-patch: ${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/lazpaint/utranslation.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lazpaint/release/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${WRKSRC}/resources/icon/48x48.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/lazpaint/release/bin && ${COPYTREE_SHARE} "i18n models" ${STAGEDIR}${DATADIR} .include diff --git a/multimedia/winff/Makefile b/multimedia/winff/Makefile index 1925daaa4fdc..3a106fcc0923 100644 --- a/multimedia/winff/Makefile +++ b/multimedia/winff/Makefile @@ -1,66 +1,66 @@ # Created by: Thierry Thomas PORTNAME= WinFF PORTVERSION= 1.5.5 -PORTREVISION= 20 +PORTREVISION= 21 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 diff --git a/net-p2p/awgg/Makefile b/net-p2p/awgg/Makefile index 53c4106126e1..9d11843c22e8 100644 --- a/net-p2p/awgg/Makefile +++ b/net-p2p/awgg/Makefile @@ -1,53 +1,53 @@ PORTNAME= awgg PORTVERSION= 0.6.0 -PORTREVISION= 3 +PORTREVISION= 4 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-net fcl-registry \ fcl-web fcl-xml openssl pasjpeg regexpr rtl-extra rtl-objpas x11 USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= Nenirey GH_PROJECT= AWGG GH_TAGNAME= 5dc1329 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 diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile index 1555ae883119..da36a6136e1a 100644 --- a/net-p2p/transmission-remote-gui/Makefile +++ b/net-p2p/transmission-remote-gui/Makefile @@ -1,51 +1,51 @@ PORTNAME= transmission-remote-gui PORTVERSION= 5.18.0 -PORTREVISION= 6 +PORTREVISION= 7 DISTVERSIONPREFIX= v CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} USE_GITHUB= yes GH_PROJECT= transgui MAINTAINER= acm@FreeBSD.org COMMENT= Remote GUI for transmission daemon LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= desktop-file-utils fpc iconv lazarus:flavors USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-net fcl-xml pasjpeg \ rtl-objpas rtl-extra x11 DESKTOP_ENTRIES="Transmission Remote GUI" \ "Remote GUI for transmission daemon" \ "transgui" \ "${PREFIX}/bin/transgui" \ "Application;Network;" \ ${TRUE} PLIST_FILES= bin/transgui \ share/icons/hicolor/48x48/apps/transgui.png PORTDATA= * SUB_FILES= pkg-message LAZARUS_PROJECT_FILES= transgui.lpi LAZBUILD_ARGS= -d PROJECT_NAME= transgui gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 post-patch: ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/restranslator.pas do-install: @cd ${WRKSRC}/units && \ ${INSTALL_PROGRAM} transgui ${STAGEDIR}${PREFIX}/bin @cd ${WRKSRC} && \ ${COPYTREE_SHARE} lang ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${WRKSRC}/transgui.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/transgui.png .include diff --git a/russian/emkatic/Makefile b/russian/emkatic/Makefile index c3ad493cdfaf..149f7bde553d 100644 --- a/russian/emkatic/Makefile +++ b/russian/emkatic/Makefile @@ -1,49 +1,49 @@ # Created by: Andrey Fesenko PORTNAME= emkatic PORTVERSION= 0.38 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= russian emulators PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= andrey@bsdnir.info COMMENT= Emulator of Elektronika RPN programmable calculator series LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= fpc lazarus:flavors xorg USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-registry fcl-xml \ pasjpeg regexpr rtl-extra x11 USE_XORG= x11 LAZARUS_PROJECT_FILES= emkatic.lpi LAZBUILD_ARGS= -d --pcp=${WRKSRC}/tmppcp PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= CHANGELOG.*.txt README.*.txt gtk2_CONFLICTS_INSTALL= ru-${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2 OPTIONS_DEFINE= DOCS PORTAUDIO OPTIONS_DEFAULT= PORTAUDIO PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio .if ${FLAVOR:Ugtk2:Mgtk2} USES+= gnome USE_GNOME+= cairo .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile index af5608fa06b8..e7bebeb69a08 100644 --- a/x11-fm/doublecmd/Makefile +++ b/x11-fm/doublecmd/Makefile @@ -1,381 +1,381 @@ # Created by: BeƱat Gonzalez Etxepare PORTNAME= doublecmd PORTVERSION= 0.9.10 -PORTREVISION= 3 +PORTREVISION= 4 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 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USES= dos2unix desktop-file-utils fpc gnome lazarus:flavors xorg DOS2UNIX_FILES= src/dmhelpmanager.pas components/multithreadprocs/mtpcpu.pas 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 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 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST= ${WRKDIR}/pkg-plist PORTDOCS= * OPTIONS_DEFINE= DOCS DEBUG 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 OPTIONS_GROUP= WCX WDX WFX WLX DSX OPTIONS_GROUP_DSX= DSX_LOCATE 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 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 WCX_UNRAR_LIB_DEPENDS= libunrar.so.6:archivers/libunrar6 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 DOCSRC= ${WRKDIR}/${PORTNAME}-help-${HELPVERSION} HELPVERSION= 0.6.0 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