Update to bacon 5.0.1 + many fixes for OpenBSD.

This commit is contained in:
juanfra
2024-11-22 22:53:17 +00:00
parent 25cff38c7c
commit 78ff97f312
3 changed files with 16 additions and 14 deletions
+13 -12
View File
@@ -1,6 +1,9 @@
BROKEN-mips64 = SIGBUS bacon binary
BROKEN-sparc64 = SIGBUS bacon binary
COMMENT = BASIC converter to C translator for Unix system
DISTNAME = bacon-4.8
DISTNAME = bacon-5.0.2pre20241122
CATEGORIES = lang
@@ -17,9 +20,10 @@ WANTLIB += Xft Xinerama c fltk fltk_images fontconfig m
COMPILER = base-clang ports-gcc base-gcc
SITES = https://www.basic-converter.org/stable/ \
https://www.basic-converter.org/museum/
https://www.basic-converter.org/museum/ \
https://download.tuxfamily.org/jod/lang/bacon/
BUILD_DEPENDS = shells/zsh
BUILD_DEPENDS = shells/ksh93
RUN_DEPENDS = devel/desktop-file-utils \
shells/bash \
x11/gtk+4,-guic
@@ -28,14 +32,11 @@ LIB_DEPENDS = x11/fltk
PORTHOME = ${WRKDIR}
CONFIGURE_STYLE = gnu
# Disable the gtk bacongui. It doesn't works on OpenBSD.
CONFIGURE_ARGS = --with-zsh \
--enable-gui-fltk \
--disable-gui-gtk
CONFIGURE_ENV = CPPFLAGS="`fltk-config --cxxflags`" \
CFLAGS="`fltk-config --cflags` ${CFLAGS}" \
CXXFLAGS="`fltk-config --cxxflags` -Wno-deprecated -Wno-non-c-typedef-for-linkage ${CXXFLAGS}" \
LDFLAGS="-L. `fltk-config --ldflags`" \
# Gtk doesn't works on OpenBSD.
CONFIGURE_ARGS = --with-ksh93 \
--enable-gui-fltk
CONFIGURE_ENV = CFLAGS="`fltk-config --cflags` ${CFLAGS}" \
CXXFLAGS="`fltk-config --cxxflags` ${CXXFLAGS}" \
CC=${CC} CXX=${CXX}
# Avoid interactive questions during build
@@ -43,7 +44,7 @@ MAKE_ENV = BACON_IN_DOCKER=true
NO_TEST = Yes
# The man page is broken.
# The man page is broken. The package includes the same doc as plain .txt.
post-install:
rm "${PREFIX}/man/man1/bacon.1"
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (bacon-4.8.tar.gz) = BAGv779dk8E8wsINn+dgAeFKGoFOSoKQ37AEW4A1d8A=
SIZE (bacon-4.8.tar.gz) = 820248
SHA256 (bacon-5.0.2pre20241122.tar.gz) = JqNrSQWWf4j1EPAMPKWTippO9aq4ThIbx2tvty2GT6k=
SIZE (bacon-5.0.2pre20241122.tar.gz) = 870701
+1
View File
@@ -18,6 +18,7 @@ share/pixmaps/
share/pixmaps/BaCon.png
share/pixmaps/BaCon.xbm
share/pixmaps/BaCon24.png
share/pixmaps/BaCon4.png
share/pixmaps/BaConEyes.png
share/pixmaps/BaConLegacy.png
share/pixmaps/BaConStrip.png