2019-05-02 21:46:02 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2019/05/02 21:46:02 juanfra Exp $
|
2016-08-03 19:13:17 +00:00
|
|
|
|
|
|
|
COMMENT = BASIC converter to C translator for Unix system
|
|
|
|
|
2019-05-02 21:46:02 +00:00
|
|
|
DISTNAME = bacon-3.9
|
2016-08-03 19:13:17 +00:00
|
|
|
|
|
|
|
CATEGORIES = lang
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.basic-converter.org/
|
|
|
|
|
|
|
|
MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2018-02-05 11:19:05 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xau Xcursor Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xft Xinerama c fltk fltk_images fontconfig m
|
2016-08-03 19:13:17 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2016-08-03 19:13:17 +00:00
|
|
|
MASTER_SITES = http://www.basic-converter.org/stable/ \
|
|
|
|
http://www.basic-converter.org/museum/
|
|
|
|
|
|
|
|
BUILD_DEPENDS = shells/bash
|
2018-02-05 11:19:05 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
shells/bash
|
|
|
|
LIB_DEPENDS = x11/fltk
|
|
|
|
|
|
|
|
PORTHOME = ${WRKDIR}
|
2016-08-03 19:13:17 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
2018-02-05 11:19:05 +00:00
|
|
|
# Disable the gtk bacongui. It doesn't works on OpenBSD.
|
2016-08-03 19:13:17 +00:00
|
|
|
CONFIGURE_ARGS = --with-bash \
|
2019-01-20 23:24:28 +00:00
|
|
|
--enable-gui-fltk \
|
2018-02-05 11:19:05 +00:00
|
|
|
--disable-gui-gtk
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="`fltk-config --cxxflags`" \
|
|
|
|
CFLAGS="`fltk-config --cflags` ${CFLAGS}" \
|
|
|
|
CXXFLAGS="`fltk-config --cxxflags` ${CXXFLAGS}" \
|
|
|
|
LDFLAGS="-L. `fltk-config --ldflags`" \
|
|
|
|
CC=${CC} CXX=${CXX}
|
2016-08-03 19:13:17 +00:00
|
|
|
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
2016-08-05 23:22:00 +00:00
|
|
|
# The man page is broken.
|
|
|
|
post-install:
|
|
|
|
rm "${PREFIX}/man/man1/bacon.1"
|
|
|
|
|
2016-08-03 19:13:17 +00:00
|
|
|
.include <bsd.port.mk>
|