diff --git a/ports-mgmt/synth/Makefile b/ports-mgmt/synth/Makefile index 141ba1ce17b0..d29aafb84c27 100644 --- a/ports-mgmt/synth/Makefile +++ b/ports-mgmt/synth/Makefile @@ -1,65 +1,67 @@ PORTNAME= synth DISTVERSIONPREFIX= v -DISTVERSION= 2.13 -PORTREVISION= 2 +DISTVERSION= 3.01 CATEGORIES= ports-mgmt MAINTAINER= fluffy@FreeBSD.org COMMENT= Custom package repository builder for FreeBSD and DragonFly WWW= https://github.com/jrmarino/synth LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/License.txt -BUILD_DEPENDS= ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \ +BUILD_DEPENDS= gprbuild>0:devel/gprbuild \ + ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \ ${GPR}/adacurses.gpr:devel/adacurses -USES= ada:6 ncurses:base +USES= ada elfctl ncurses:base USE_GITHUB= yes GH_ACCOUNT= jrmarino +ELF_FEATURES= +wxneeded:build/${PORTNAME} + GPR= ${LOCALBASE}/lib/gnat MAKE_ENV= NCURSES_LINK=static OPTIONS_DEFINE= WATCHDOG OPTIONS_DEFAULT=WATCHDOG WATCHDOG_DESC= Build with watchdog monitor WATCHDOG_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-nowatchdog-portscan-buildcycle.adb .include post-extract: .if ${OPSYS} == DragonFly && ${OSVERSION} < 400600 @${REINPLACE_CMD} -e 's|"re"|"r"|' ${WRKSRC}/src/unix.adb .endif @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \ ${WRKSRC}/src/definitions.ads do-build: (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \ gcc -c unix_core.c -o ../build/unix_core.o) (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ gcc synthexec.c -o ../build/synthexec) - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -P default \ + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gprbuild -P default \ -largs build/unix_core.o) do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions \ ${STAGEDIR}${PREFIX}/share/synth \ ${STAGEDIR}/var/log/synth \ ${STAGEDIR}/var/synth/live_packages ${INSTALL_PROGRAM} ${WRKSRC}/build/synth \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/build/synthexec \ ${STAGEDIR}${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/synth.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/shell-completers/_synth.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/shell-completers/_synth \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/www/* ${STAGEDIR}${PREFIX}/share/synth .include diff --git a/ports-mgmt/synth/distinfo b/ports-mgmt/synth/distinfo index b344fafc2a3d..f229e3497012 100644 --- a/ports-mgmt/synth/distinfo +++ b/ports-mgmt/synth/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1675279152 -SHA256 (jrmarino-synth-v2.13_GH0.tar.gz) = 96ccab38d6a0bd10f4b408a4eb3e3aa3fc34a0c426957b14257e8dd59957592b -SIZE (jrmarino-synth-v2.13_GH0.tar.gz) = 172031 +TIMESTAMP = 1718742039 +SHA256 (jrmarino-synth-v3.01_GH0.tar.gz) = 4a286367a5e03c6e654567ca86822cd7b0315d15f6f178013455d35a8a947a1f +SIZE (jrmarino-synth-v3.01_GH0.tar.gz) = 172307