diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 9eab10ea5be8..14475b0edd91 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -1,188 +1,188 @@ # MAINTAINER: ports@FreeBSD.org # # Note: before committing to this file, contact portmgr to arrange for an # experimental ports run. Untested commits may be backed out at portmgr's # discretion. # # Provide default versions for ports with multiple versions selectable # by the user. # # Users who want to override these defaults can easily do so by defining # DEFAULT_VERSIONS in their make.conf as follows: # # DEFAULT_VERSIONS= perl5=5.20 ruby=3.1 .if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK) _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes LOCALBASE?= /usr/local . for lang in APACHE BDB COROSYNC EBUR128 EMACS FIREBIRD FORTRAN FPC GCC \ GHOSTSCRIPT GL GO GUILE IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM \ LUA LUAJIT MONO MYSQL NINJA NODEJS OPENLDAP PERL5 PGSQL PHP \ PYCRYPTOGRAPHY PYTHON PYTHON2 RUBY RUST SAMBA SSL TCLTK VARNISH . if defined(${lang}_DEFAULT) ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" . endif #.undef ${lang}_DEFAULT . endfor . for lang in ${DEFAULT_VERSIONS} _l= ${lang:C/=.*//g} ${_l:tu}_DEFAULT= ${lang:C/.*=//g} . endfor # Possible values: 2.4 APACHE_DEFAULT?= 2.4 # Possible values: 5, 18 BDB_DEFAULT?= 5 # Possible values: 2, 3 COROSYNC_DEFAULT?= 3 # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) EBUR128_DEFAULT?= rust . else EBUR128_DEFAULT?= legacy . endif # Possible_values: full canna nox devel_full devel_nox #EMACS_DEFAULT?= let the flavor be the default if not explicitly set # Possible values: 3.0, 4.0 FIREBIRD_DEFAULT?= 3.0 # Possible values: gfortran FORTRAN_DEFAULT?= gfortran # Possible values: 3.2.2, 3.3.1 . if !defined(WANT_FPC_DEVEL) FPC_DEFAULT?= 3.2.2 . else FPC_DEFAULT?= 3.3.1 . endif # Possible values: 9, 10, 11, 12, 13, 14 # (Any other version is completely unsupported and not meant for general use.) GCC_DEFAULT?= 13 # Possible values: 10 GHOSTSCRIPT_DEFAULT?= 10 # Possible values: mesa-libs, mesa-devel GL_DEFAULT?= mesa-libs # Possible values: 1.19, 1.20, 1.21, 1.22, 1.23-devel GO_DEFAULT?= 1.20 # Possible values: 1.8, 2.2, 3.0 GUILE_DEFAULT?= 2.2 # Possible versions: 6, 7 # Possible flavors: x11, nox11 # (defaults to x11 when not specified) # Format: version[-flavor] # Examples: 6-nox11, 7 IMAGEMAGICK_DEFAULT?= 7 # Possible values: 8, 11, 17, 18, 19, 20, 21 JAVA_DEFAULT?= 8 -# Possible values: 3.0.0, 3.1.0 +# Possible values: 3.2.0, 3.1.0 . if !defined(WANT_LAZARUS_DEVEL) -LAZARUS_DEFAULT?= 3.0.0 +LAZARUS_DEFAULT?= 3.2.0 . else LAZARUS_DEFAULT?= 3.1.0 . endif # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) LIBRSVG2_DEFAULT?= rust . else LIBRSVG2_DEFAULT?= legacy . endif # Possible values: c7 LINUX_DEFAULT?= c7 # Possible values: 10, 11, 12, 13, 14, 15, 16, 17, -devel (to be used when non-base compiler is required) LLVM_DEFAULT?= 15 # Possible values: 5.1, 5.2, 5.3, 5.4 LUA_DEFAULT?= 5.4 # Possible values: luajit, luajit-devel, luajit-openresty . if ${ARCH:Mpowerpc64*} LUAJIT_DEFAULT?= luajit-openresty . else LUAJIT_DEFAULT?= luajit-devel . endif # Possible values: 5.10, 5.20, 6.8 MONO_DEFAULT?= 5.20 # Possible values: 8.0, 8.1, 10.5m, 10.6m, 10.11m MYSQL_DEFAULT?= 8.0 # Possible values: ninja, samurai NINJA_DEFAULT?= ninja # Possible value: 18, 20, 21, current, lts (Note: current = 21 and lts = 20) NODEJS_DEFAULT?= lts # Possible value: 25, 26 OPENLDAP_DEFAULT?= 26 # Possible values: 5.34, 5.36, 5.38, devel . if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ defined(PACKAGE_BUILDING)) PERL5_DEFAULT?= 5.36 . elif !defined(PERL5_DEFAULT) # There's no need to replace development versions, like "5.23" with "devel" # because 1) nobody is supposed to use it outside of poudriere, and 2) it must # be set manually in /etc/make.conf in the first place, and we're never getting # in here. . if !defined(_PERL5_FROM_BIN) _PERL5_FROM_BIN!= ${LOCALBASE}/bin/perl -e 'printf "%vd\n", $$^V;' . endif _EXPORTED_VARS+= _PERL5_FROM_BIN PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} . endif # Possible values: 12, 13, 14, 15, 16 PGSQL_DEFAULT?= 15 # Possible values: 8.1, 8.2, 8.3 PHP_DEFAULT?= 8.2 # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) PYCRYPTOGRAPHY_DEFAULT?= rust . else PYCRYPTOGRAPHY_DEFAULT?= legacy . endif # Possible values: 3.8, 3.9, 3.10, 3.11 PYTHON_DEFAULT?= 3.9 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7 # Possible values: 3.0, 3.1, 3.2, 3.3 RUBY_DEFAULT?= 3.2 # Possible values: rust, rust-nightly RUST_DEFAULT?= rust # Possible values: 4.13, 4.16, 4.19 SAMBA_DEFAULT?= 4.16 # Possible values: base, openssl, openssl111, openssl31, openssl32, libressl, libressl-devel . if !defined(SSL_DEFAULT) # If no preference was set, check for an installed base version # but give an installed port preference over it. . if !defined(SSL_DEFAULT) && \ !exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \ exists(${DESTDIR}/usr/include/openssl/opensslv.h) SSL_DEFAULT= base . else . if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) . if defined(PKG_BIN) # find installed port and use it for dependency . if !defined(OPENSSL_INSTALLED) . if defined(DESTDIR) PKGARGS= -c ${DESTDIR} . else PKGARGS= . endif OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || : . endif . if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED) SSL_DEFAULT:= ${OPENSSL_INSTALLED:T} WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf" . endif . else check-makevars:: @${ECHO_MSG} "You have a ${LOCALBASE}/lib/libcrypto.so file installed, but the framework is unable" @${ECHO_MSG} "to determine what port it comes from." @${ECHO_MSG} "Add DEFAULT_VERSIONS+=ssl= to your /etc/make.conf and try again." @${FALSE} . endif . endif . endif # Make sure we have a default in the end SSL_DEFAULT?= base . endif # Possible values: 8.5, 8.6, 8.7 TCLTK_DEFAULT?= 8.6 # Possible values: 6, 7 VARNISH_DEFAULT?= 6 .endif diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile index 0274c60d2927..477608855965 100644 --- a/archivers/peazip/Makefile +++ b/archivers/peazip/Makefile @@ -1,111 +1,112 @@ PORTNAME= peazip PORTVERSION= 9.7.1 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/ PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= acm@FreeBSD.org COMMENT= Free archiver and file compressor WWW= https://peazip.github.io LICENSE= LGPL3 USES= cpe desktop-file-utils dos2unix fpc lazarus:flavors zip xorg USE_XORG= x11 CPE_VENDOR= giorgio_tani SUB_FILES= pea peazip DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt) LAZARUS_PROJECT_FILES= dev/project_pea.lpi dev/project_peach.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 ARCHIVER_FILES= # OPTIONS_DEFINE= 7Z ARC ZPAQ UNACE 7Z_DESC= 7z file archiver support ARC_DESC= Arc file archiver support ZPAQ_DESC= Zpaq file archiver support UNACE_DESC= Unace file archiver support OPTIONS_DEFAULT= 7Z .if ${FLAVOR:Ugtk2:Mgtk2} USES+= gnome USE_GNOME+= cairo .endif .include .if ${PORT_OPTIONS:M7Z} RUN_DEPENDS+= 7zz:archivers/7-zip ARCHIVER_FILES+=7z PLIST_SUB+= 7Z="" .else PLIST_SUB+= 7Z="@comment " .endif .if ${PORT_OPTIONS:MARC} RUN_DEPENDS+= arc:archivers/arc ARCHIVER_FILES+=arc PLIST_SUB+= ARC="" .else PLIST_SUB+= ARC="@comment " .endif .if ${PORT_OPTIONS:MZPAQ} RUN_DEPENDS+= zpaq:archivers/paq ARCHIVER_FILES+=zpaq PLIST_SUB+= ZPAQ="" .else PLIST_SUB+= ZPAQ="@comment " .endif .if ${PORT_OPTIONS:MUNACE} RUN_DEPENDS+= unace:archivers/unace ARCHIVER_FILES+=unace PLIST_SUB+= UNACE="" .else PLIST_SUB+= UNACE="@comment " .endif .include post-patch: ${REINPLACE_CMD} -e 's|GetSelectedNodePath|Path|g' \ -e 's|IFDEF LCLQT5|IF DEFINED\(LCLQT5\) OR DEFINED\(LCLQT6\)|g ' ${WRKSRC}/dev/peach.pas pre-install: @${ECHO_CMD} "#" > ${WRKSRC}/altconf.txt @${ECHO_CMD} "appdata" >> ${WRKSRC}/altconf.txt do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/res/bin @${MKDIR} ${STAGEDIR}${DATADIR}/res/share .for ARCHIVER in ${ARCHIVER_FILES} @${MKDIR} ${STAGEDIR}${DATADIR}/res/bin/${ARCHIVER} .if ${ARCHIVER} == "7z" @${LN} -sf ${LOCALBASE}/bin/7zz ${STAGEDIR}${DATADIR}/res/bin/${ARCHIVER}/${ARCHIVER} .else @${LN} -sf ${LOCALBASE}/bin/${ARCHIVER} ${STAGEDIR}${DATADIR}/res/bin/${ARCHIVER}/${ARCHIVER} .endif .endfor @cd ${WRKSRC}/res/share && ${COPYTREE_SHARE} "icons lang themes" ${STAGEDIR}${DATADIR}/res/share @cd ${WRKSRC} && ${INSTALL_DATA} altconf.txt ${STAGEDIR}${DATADIR}/res && \ ${INSTALL_PROGRAM} dev/pea ${STAGEDIR}${DATADIR}/res && \ ${INSTALL_PROGRAM} dev/peazip ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps @cd ${WRKSRC}/res/share/batch/freedesktop_integration && \ ${INSTALL_DATA} peazip*.desktop ${STAGEDIR}${DESKTOPDIR} && \ ${INSTALL_DATA} peazip*.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ ${INSTALL_SCRIPT} ${WRKDIR}/pea ${WRKDIR}/peazip ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/cad/zcad/Makefile b/cad/zcad/Makefile index 8f32dc3a5173..38927f55ea20 100644 --- a/cad/zcad/Makefile +++ b/cad/zcad/Makefile @@ -1,117 +1,117 @@ PORTNAME= zcad PORTVERSION= 0.9.8.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= cad PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple CAD program BROKEN= Can't find unit TransferMacros used by uzmacros 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 7d3a212f5988..dc6ceaf85d69 100644 --- a/comms/cqrlog/Makefile +++ b/comms/cqrlog/Makefile @@ -1,67 +1,67 @@ PORTNAME= cqrlog PORTVERSION= 2.5.2 -PORTREVISION= 8 +PORTREVISION= 9 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 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 post-build: @${RM} ${WRKSRC}/help/cwd.html.* @${RM} ${WRKSRC}/help/h1.html.* .include diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile index 8a248dfaa448..47ae7233bf47 100644 --- a/editors/picpas/Makefile +++ b/editors/picpas/Makefile @@ -1,49 +1,49 @@ PORTNAME= picpas PORTVERSION= 0.9.0 -PORTREVISION= 12 +PORTREVISION= 13 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 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 13640f86a6f3..83a3acd498eb 100644 --- a/graphics/lazpaint/Makefile +++ b/graphics/lazpaint/Makefile @@ -1,53 +1,54 @@ PORTNAME= lazpaint PORTVERSION= 7.2.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Image editor written in Lazarus WWW= https://wiki.freepascal.org/LazPaint LICENSE= GPLv3 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= 501d44c GH_ACCOUNT= bgrabitmap GH_TUPLE= bgrabitmap:bgracontrols:a1220e6:bgracontrols/bgracontrols \ bgrabitmap:bgrabitmap:2814b06: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 caead337815b..5563d81f9d5c 100644 --- a/multimedia/winff/Makefile +++ b/multimedia/winff/Makefile @@ -1,66 +1,67 @@ PORTNAME= WinFF PORTVERSION= 1.6.3 +PORTREVISION= 1 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 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 65e601d07141..267550f3be92 100644 --- a/net-p2p/awgg/Makefile +++ b/net-p2p/awgg/Makefile @@ -1,50 +1,50 @@ PORTNAME= awgg DISTVERSION= 0.6.0.6034-beta -PORTREVISION= 7 +PORTREVISION= 8 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 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 f27f62a55dce..b65b2d0544db 100644 --- a/net-p2p/transmission-remote-gui/Makefile +++ b/net-p2p/transmission-remote-gui/Makefile @@ -1,53 +1,53 @@ PORTNAME= transmission-remote-gui PORTVERSION= 5.18.0 -PORTREVISION= 18 +PORTREVISION= 19 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 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 909c49b02fc8..9bbaf202b5a5 100644 --- a/russian/emkatic/Makefile +++ b/russian/emkatic/Makefile @@ -1,46 +1,47 @@ PORTNAME= emkatic PORTVERSION= 0.44 +PORTREVISION= 1 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 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/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile index 24734567f182..86b1372c1a1a 100644 --- a/x11-fm/doublecmd/Makefile +++ b/x11-fm/doublecmd/Makefile @@ -1,354 +1,354 @@ PORTNAME= doublecmd PORTVERSION= 1.1.8 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fm PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= fluffy@FreeBSD.org COMMENT= Total Commander like file manager for the X Window System WWW= https://doublecmd.sourceforge.io LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 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 DOS2UNIX_FILES= components/multithreadprocs/mtpcpu.pas src/dmhelpmanager.pas USE_GITHUB= yes GH_PROJECT= doublecmd.github.io:help GH_TAGNAME= 1.0.10:help USE_GNOME= cairo glib20 USE_XORG= x11 LAZARUS_PROJECT_FILES= components/chsdet/chsdet.lpk \ components/multithreadprocs/multithreadprocslaz.lpk \ components/kascrypt/kascrypt.lpk \ components/doublecmd/doublecmd_common.lpk \ components/Image32/Image32.lpk \ components/KASToolBar/kascomp.lpk \ components/viewer/viewerpackage.lpk \ components/gifanim/pkg_gifanim.lpk \ components/synunihighlighter/synuni.lpk \ components/virtualterminal/virtualterminal.lpk LAZBUILD_ARGS= --pcp=${WRKSRC}/tmppcp -d MAKE_ENV+= LDVER=ld.bfd # for DragonFly PLIST= ${WRKDIR}/pkg-plist PORTDOCS= * OPTIONS_DEFINE= DEBUG DOCS OPTIONS_DEFAULT= DSX_LOCATE WCX_BASE64 WCX_CPIO WCX_DEB WCX_RPM WCX_UNRAR \ WCX_ZIP WDX_AUDIOINFO WDX_DEB WDX_RPM WDX_SCRIPTS \ WDX_TEXTLINE WFX_FTP WFX_SAMBA OPTIONS_GROUP= DSX WCX WDX WFX WLX OPTIONS_GROUP_DSX= DSX_LOCATE OPTIONS_GROUP_WCX= WCX_BASE64 WCX_CPIO WCX_DEB WCX_RPM WCX_UNBZ2 WCX_UNRAR \ WCX_ZIP OPTIONS_GROUP_WDX= WDX_AUDIOINFO WDX_DEB WDX_RPM WDX_SCRIPTS WDX_TEXTLINE OPTIONS_GROUP_WFX= WFX_FTP WFX_SAMBA OPTIONS_GROUP_WLX= WLX_MPLAYER DSX_DESC= Search plugins DSX_LOCATE_DESC= Support locate command WCX_BASE64_DESC= BASE64 plugin support WCX_CPIO_DESC= CPIO format support WCX_DEB_DESC= Debian package archive support WCX_DESC= Packer plugins to work with archives 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_AUDIOINFO_DESC= Information about audio files WDX_DEB_DESC= Debian package file information WDX_DESC= Plugins to display and search extended file attributes WDX_RPM_DESC= Red Hat package file information WDX_SCRIPTS_DESC= Add support to use custom Lua scripts 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 WCX_UNRAR_LIB_DEPENDS= libunrar.so:archivers/libunrar 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} LAZARUS_PROJECT_FILES+= plugins/wfx/ftp/src/ftp.lpi .endif .if ${PORT_OPTIONS:MWCX_BASE64} LAZARUS_PROJECT_FILES+= plugins/wcx/base64/src/base64wcx.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_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_BASE64} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/base64/base64.wcx" >> ${PLIST} .endif .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_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%%/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} @cd ${WRKSRC}/sdk && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/sdk/|' >> ${PLIST} @${ECHO_CMD} "share/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_BASE64} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/base64 ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/base64/base64.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/base64/ .endif .if ${PORT_OPTIONS:MWCX_CPIO} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/cpio ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/cpio/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/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/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/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/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/deb_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/deb_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/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/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 default/pixmaps.txt default/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}${PREFIX}/share/man/man1/ post-install: .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC_help} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; .endif .include