diff --git a/cad/zcad/Makefile b/cad/zcad/Makefile index 11396e316786..d8d1899856c1 100644 --- a/cad/zcad/Makefile +++ b/cad/zcad/Makefile @@ -1,117 +1,120 @@ PORTNAME= zcad PORTVERSION= 0.9.8.5 PORTREVISION= 14 CATEGORIES= cad PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple CAD program BROKEN= Can't find unit TransferMacros used by uzmacros + +ONLY_FOR_ARCHS= i386 amd64 + USES= dos2unix fpc lazarus:flavors tar:xz USE_GITHUB= yes GH_ACCOUNT= zamtmn GH_TAGNAME= 8b8a693 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_NO_FLAVORS= qt6 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,@paintGL,paintGL,' \ ${LAZARUS_DIR}/components/opengl/qlclopenglwidget.pas \ > ${BUILD_WRKSRC}/qlclopenglwidget.pas ${CP} ${LAZARUS_DIR}/components/opengl/glgtkglxcontext.pas \ ${LAZARUS_DIR}/components/opengl/glqtcontext.pas \ ${LAZARUS_DIR}/components/opengl/openglcontext.* \ ${BUILD_WRKSRC} # Build components that do not come with precompiled *.ppu files (also # copy them locally first for the same reason as above) ${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 43e8dceb55e5..1952dbaadaf7 100644 --- a/comms/cqrlog/Makefile +++ b/comms/cqrlog/Makefile @@ -1,69 +1,71 @@ PORTNAME= cqrlog PORTVERSION= 2.5.2 PORTREVISION= 11 DISTVERSIONPREFIX= v CATEGORIES= comms hamradio PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio logging application WWW= https://www.cqrlog.com/ LICENSE= GPLv2 LIB_DEPENDS= libhamlib.so:comms/hamlib +ONLY_FOR_ARCHS= i386 amd64 + 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 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=. DOS2UNIX_WRKSRC=${WRKSRC}/src/synapse/ gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 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/fPreferences.lfm ${REINPLACE_CMD} -e s!%%DATADIR%%!${DATADIR}!g \ ${WRKSRC}/src/dData.pas ${WRKSRC}/src/fGrayline.pas ${REINPLACE_CMD} -e 's|ifdef LCLQT5|if defined\(LCLQT5\) or defined\(LCLQT6\)|g' \ ${WRKSRC}/src/lnet/lib/lclnet.pas ${REINPLACE_CMD} -e 's|unixutil|Unix|g' -e 's|UnixUtil|Unix|g' \ ${WRKSRC}/src/lnet/lib/lcommon.pp post-build: @${RM} ${WRKSRC}/help/cwd.html.* @${RM} ${WRKSRC}/help/h1.html.* .include diff --git a/editors/cudatext/Makefile b/editors/cudatext/Makefile index d88893f7cd91..d84d77b0e788 100644 --- a/editors/cudatext/Makefile +++ b/editors/cudatext/Makefile @@ -1,71 +1,73 @@ PORTNAME= cudatext PORTVERSION= 1.217.5.1 CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Cross-platform text editor, written in Lazarus WWW= https://uvviewsoft.com/ LICENSE= MPL20 +ONLY_FOR_ARCHS= i386 amd64 + USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors python xorg USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= Alexey-T GH_PROJECT= CudaText GH_TUPLE= bgrabitmap:bgrabitmap:d2a9b15:bgrabitmap/bgrabitmap \ Alexey-T:Python-for-Lazarus:e85e138:python4lazarus/python4lazarus \ Alexey-T:ATFlatControls:8263c56:atflatcontrols/atflatcontrols \ Alexey-T:ATSynEdit:e9b7459:atsynedit/atsynedit \ Alexey-T:Emmet-Pascal:df69312:emmet/emmet \ Alexey-T:EControl:bd07281:econtrol/econtrol \ Alexey-T:ATSynEdit_Ex:8f14fef:atsyneditex/atsyneditex \ Alexey-T:ATSynEdit_Cmp:a35a75d:atsyneditcmp/atsyneditcmp \ Alexey-T:ATBinHex-Lazarus:f043a0e:atbinhex/atbinhex \ Alexey-T:UniqueInstance:753f823:uniqueinstance/uniqueinstance \ Alexey-T:EncConv:ec878e9:encconv/encconv DOS2UNIX_FILES= app/settings_default/default.json setup/debfiles/cudatext.desktop LAZARUS_PROJECT_FILES= bgrabitmap/bgrabitmap/bgrabitmappack.lpk LAZARUS_PROJECT_FILES+= atflatcontrols/atflatcontrols/atflatcontrols_package.lpk LAZARUS_PROJECT_FILES+= python4lazarus/python4lazarus/python4lazarus_package.lpk LAZARUS_PROJECT_FILES+= encconv/encconv/encconv_package.lpk LAZARUS_PROJECT_FILES+= atsynedit/atsynedit/atsynedit_package.lpk LAZARUS_PROJECT_FILES+= emmet/emmet/emmet_package.lpk LAZARUS_PROJECT_FILES+= econtrol/econtrol/econtrol_package.lpk LAZARUS_PROJECT_FILES+= atsyneditex/atsynedit_ex/atsynedit_ex_package.lpk LAZARUS_PROJECT_FILES+= atsyneditcmp/atsynedit_cmp/atsynedit_cmp_package.lpk LAZARUS_PROJECT_FILES+= atbinhex/atbinhex/atbinhex_package.lpk LAZARUS_PROJECT_FILES+= uniqueinstance/uniqueinstance/uniqueinstance_package.lpk LAZARUS_PROJECT_FILES+= app/cudatext.lpi LAZBUILD_ARGS= -d gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} #WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-patch: ${REINPLACE_CMD} 's|-512||g' ${WRKSRC}/setup/debfiles/${PORTNAME}.desktop ${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/app/proc_globdata.pas ${REINPLACE_CMD} 's|TEncoding.UTF8|True|g' ${WRKSRC}/app/formmain_py_pluginwork.inc ${REINPLACE_CMD} 's|ifdef LCLGTK2|if defined(LCLGTK2) and not defined(freebsd)|g' ${WRKSRC}/atsynedit/atsynedit/atsynedit.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/app/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/setup/debfiles/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps ${INSTALL_DATA} ${WRKSRC}/setup/debfiles/${PORTNAME}-512.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/app && ${COPYTREE_SHARE} "data py readme settings_default" ${STAGEDIR}${DATADIR} .include diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile index 4f35f3e7051a..14f84619a012 100644 --- a/editors/picpas/Makefile +++ b/editors/picpas/Makefile @@ -1,49 +1,51 @@ PORTNAME= picpas PORTVERSION= 0.9.0 PORTREVISION= 15 DISTVERSIONPREFIX= v CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Multi-platform Pascal for Microchip PIC16F microcontrollers WWW= https://github.com/t-edson/PicPas LICENSE= GPLv2 +ONLY_FOR_ARCHS= i386 amd64 + gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USES= dos2unix fpc gnome lazarus:flavors xorg USE_XORG= x11 DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt|lfm) USE_GITHUB= yes GH_ACCOUNT= t-edson GH_PROJECT= PicPas GH_TAGNAME= 7940bc3 GH_TUPLE= t-edson:MiConfig:a4a988a:miconfig/miconfig \ t-edson:MisUtils:742eff3:misutils/misutils \ t-edson:PicUtils:5f89bdf:picutils/picutils \ t-edson:SynFacilUtils:8725237:syncfacilutils/syncfacilutils \ t-edson:UtilsGrilla:07744b9:utilsgrilla/utilsgrilla \ t-edson:ogEditGraf:a19b68a:ogeditgraf/ogeeditgraf \ t-edson:t-Xpres:6665922:txpres/txpres USE_GNOME_gtk2= cairo 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 ${REINPLACE_CMD} 's|0.8.7|${PORTVERSION}|g' ${WRKSRC}/version.txt ${REINPLACE_CMD} '81d' ${WRKSRC}/Source/FrameSyntaxTree.lfm ${REINPLACE_CMD} 's|FileUtil|FileUtil, LazFileUtils|g' ${WRKSRC}/Source/FormConfig.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 0c2f2abe5c9b..1bdbcbd89ba4 100644 --- a/graphics/lazpaint/Makefile +++ b/graphics/lazpaint/Makefile @@ -1,54 +1,56 @@ PORTNAME= lazpaint PORTVERSION= 7.2.2 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= graphics PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Image editor written in Lazarus WWW= https://wiki.freepascal.org/LazPaint LICENSE= GPLv3 +ONLY_FOR_ARCHS= i386 amd64 + gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors xorg USE_XORG= x11 DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt) USE_GITHUB= yes GH_TAGNAME= 45a7a47 GH_ACCOUNT= bgrabitmap GH_TUPLE= bgrabitmap:bgracontrols:a94a17f:bgracontrols/bgracontrols \ bgrabitmap:bgrabitmap:d2a9b15:bgrabitmap/bgrabitmapnew USE_GNOME_gtk2= cairo 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 c57bfaaf81e8..efad8b264c0f 100644 --- a/multimedia/winff/Makefile +++ b/multimedia/winff/Makefile @@ -1,67 +1,69 @@ PORTNAME= WinFF PORTVERSION= 1.6.4 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= https://github.com/WinFF/winff/archive/refs/tags/ PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${_PORTNAME}-${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Convert your videos quickly, easily, and all at once WWW= https://www.biggmatt.com/p/winff.html LICENSE= GPLv3 LIB_DEPENDS= libavutil.so:multimedia/ffmpeg +ONLY_FOR_ARCHS= i386 amd64 + USES= fpc lazarus:flavors xorg USE_XORG= x11 #USE_GITHUB= yes #GH_PROJECT= ${_PORTNAME} _PORTNAME= ${PORTNAME:tl} DATADIR= ${PREFIX}/share/${_PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${_PORTNAME} DESKTOP_ENTRIES= "${PORTNAME}" \ "${COMMENT}" \ "${_PORTNAME}" \ "${_PORTNAME}" \ "AudioVideo;" \ true LAZARUS_PROJECT_FILES= winff.lpr LAZBUILD_ARGS= -d --pcp=${WRKSRC} --scp=${WRKDIR} WRKSRC= ${WRKDIR}/${_PORTNAME}-${_PORTNAME}-${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/${_PORTNAME} .if ${FLAVOR:Ugtk2:Mgtk2} USES+= gnome USE_GNOME+= cairo .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 pre-build: ${CP} -p ${LOCALBASE}/etc/fppkg.cfg ${WRKDIR} 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}${PREFIX}/share/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 211773fdbe3e..a309530486f9 100644 --- a/net-p2p/awgg/Makefile +++ b/net-p2p/awgg/Makefile @@ -1,50 +1,52 @@ PORTNAME= awgg DISTVERSION= 0.6.0.6034-beta PORTREVISION= 10 CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Advanced wget GUI WWW= https://github.com/Nenirey/AWGG LICENSE= GPLv2 RUN_DEPENDS= aria2c:www/aria2 \ wget:ftp/wget \ curl:ftp/curl \ yt-dlp:www/yt-dlp +ONLY_FOR_ARCHS= i386 amd64 + gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USES= fpc gnome lazarus:flavors xorg USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= Nenirey GH_PROJECT= AWGG GH_TAGNAME= 6daa550 DESKTOP_ENTRIES="AWGG" \ "Advanced wget GUI" \ "${PREFIX}/share/pixmaps/AWGG16x16.png" \ "${PORTNAME}" \ "Network;P2P;" \ ${TRUE} USE_GNOME_gtk2= cairo USE_GNOME+= ${USE_GNOME_${FLAVOR}} LAZBUILD_ARGS= -d --cpu=${ARCH:S/amd64/x86_64/g} 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 4ffa52395622..55b6f4ffd0aa 100644 --- a/net-p2p/transmission-remote-gui/Makefile +++ b/net-p2p/transmission-remote-gui/Makefile @@ -1,53 +1,55 @@ PORTNAME= transmission-remote-gui PORTVERSION= 5.18.0 PORTREVISION= 21 DISTVERSIONPREFIX= v CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} USE_GITHUB= yes GH_PROJECT= transgui MAINTAINER= acm@FreeBSD.org COMMENT= Remote GUI for transmission daemon WWW= https://github.com/transmission-remote-gui/transgui LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.txt +ONLY_FOR_ARCHS= i386 amd64 + USES= desktop-file-utils fpc gnome iconv lazarus:flavors xorg USE_GNOME= cairo USE_XORG= x11 DESKTOP_ENTRIES="Transmission Remote GUI" \ "Remote GUI for transmission daemon" \ "transgui" \ "${PREFIX}/bin/transgui" \ "Network;P2P;" \ ${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 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 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 15befa3ef934..8ae972d850a5 100644 --- a/russian/emkatic/Makefile +++ b/russian/emkatic/Makefile @@ -1,47 +1,49 @@ PORTNAME= emkatic PORTVERSION= 0.44 PORTREVISION= 3 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 WWW= https://sourceforge.net/projects/emkatic/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.txt +ONLY_FOR_ARCHS= i386 amd64 + USES= fpc lazarus:flavors xorg 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 ru-${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2 ru-${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2 ru-${PORTNAME}-qt5 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/sysutils/ddrescueview/Makefile b/sysutils/ddrescueview/Makefile index fe42ff91cbdd..dd322a79aeb5 100644 --- a/sysutils/ddrescueview/Makefile +++ b/sysutils/ddrescueview/Makefile @@ -1,50 +1,52 @@ PORTNAME= ddrescueview PORTVERSION= 0.4.5 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://sourceforge.net/projects/${PORTNAME}/files/Test%20builds/v${PORTVERSION}/ PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Graphical viewer for GNU ddrescue mapfiles WWW= https://sourceforge.net/projects/ddrescueview/ LICENSE= GPLv3 +ONLY_FOR_ARCHS= i386 amd64 + gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors tar:xz xorg DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|lpr|txt) USE_GNOME_gtk2= cairo gdkpixbuf2 glib20 pango USE_GNOME+= ${USE_GNOME_${FLAVOR}} USE_XORG= x11 LAZARUS_PROJECT_FILES= source/ddrescueview.lpi LAZARUS_PROJECT_FILES+= source/ddrescueview.lpr LAZBUILD_ARGS= -d OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/source/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/resources/linux/man/man1/ddrescueview.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps .for i in 16 22 24 32 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ ${INSTALL_DATA} ${WRKSRC}/resources/linux/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ .endfor ${INSTALL_DATA} ${WRKSRC}/resources/linux/applications/ddrescueview.desktop \ ${STAGEDIR}${PREFIX}/share/applications do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include