41 lines
858 B
Makefile
41 lines
858 B
Makefile
# $OpenBSD: Makefile,v 1.9 2017/06/23 16:59:22 juanfra Exp $
|
|
|
|
COMMENT = BASIC converter to C translator for Unix system
|
|
|
|
DISTNAME = bacon-3.5.4
|
|
|
|
CATEGORIES = lang
|
|
|
|
HOMEPAGE = http://www.basic-converter.org/
|
|
|
|
MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c m
|
|
|
|
MASTER_SITES = http://www.basic-converter.org/stable/ \
|
|
http://www.basic-converter.org/museum/
|
|
|
|
BUILD_DEPENDS = shells/bash
|
|
RUN_DEPENDS = shells/bash
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
# Disable the bacongui. It doesn't works on OpenBSD.
|
|
CONFIGURE_ARGS = --with-bash \
|
|
--disable-gui
|
|
|
|
NO_TEST = Yes
|
|
|
|
# Use this step as a test for the compiler.
|
|
post-build:
|
|
cd ${WRKBUILD} && \
|
|
./build/bacon -y -a -c cc -r ranlib -d build bacon.bac
|
|
|
|
# The man page is broken.
|
|
post-install:
|
|
rm "${PREFIX}/man/man1/bacon.1"
|
|
|
|
.include <bsd.port.mk>
|