mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
BROKEN-mips64 = SIGBUS bacon binary
|
|
BROKEN-sparc64 = SIGBUS bacon binary
|
|
|
|
COMMENT = BASIC converter to C translator for Unix system
|
|
|
|
DISTNAME = bacon-5.0.2
|
|
|
|
CATEGORIES = lang
|
|
|
|
HOMEPAGE = https://www.basic-converter.org/
|
|
|
|
MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xau Xcursor Xdmcp Xext Xfixes
|
|
WANTLIB += Xft Xinerama Xrender 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://download.tuxfamily.org/jod/lang/bacon/
|
|
|
|
# using zsh until we solve the conflicts with ksh93/eterm
|
|
BUILD_DEPENDS = shells/zsh
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
shells/bash \
|
|
x11/gtk+4,-guic
|
|
LIB_DEPENDS = x11/fltk
|
|
|
|
PORTHOME = ${WRKDIR}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
# Gtk doesn't works on OpenBSD.
|
|
CONFIGURE_ARGS = --with-zsh \
|
|
--enable-gui-fltk
|
|
CONFIGURE_ENV = CFLAGS="`fltk-config --cflags` ${CFLAGS}" \
|
|
CXXFLAGS="`fltk-config --cxxflags` ${CXXFLAGS}" \
|
|
CC=${CC} CXX=${CXX}
|
|
|
|
# Avoid interactive questions during build
|
|
MAKE_ENV = BACON_IN_DOCKER=true
|
|
|
|
NO_TEST = Yes
|
|
|
|
# The man page is broken. The package includes the same doc as plain .txt.
|
|
post-install:
|
|
rm "${PREFIX}/man/man1/bacon.1"
|
|
|
|
.include <bsd.port.mk>
|