mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
36 lines
819 B
Makefile
36 lines
819 B
Makefile
COMMENT = terminal based calculator and bit manipulator
|
|
CATEGORIES = math
|
|
|
|
DIST_TUPLE = github mellowcandle bitwise v0.50 .
|
|
|
|
MAINTAINER = Paco Esteban <paco@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
WANTLIB += c curses form ereadline m
|
|
|
|
LIB_DEPENDS += devel/readline
|
|
|
|
CONFIGURE_STYLE = autoreconf
|
|
CONFIGURE_ARGS = CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
AUTORECONF= ${WRKSRC}/bootstrap.sh
|
|
AUTOCONF_VERSION = 2.69
|
|
AUTOMAKE_VERSION = 1.16
|
|
|
|
CONFIGURE_ENV = ax_cv_lib_readline="-lereadline"
|
|
|
|
CFLAGS += -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/ereadline
|
|
LDFLAGS += -L${LOCALBASE}/lib \
|
|
-lncurses
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bitwise
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/bitwise
|
|
|
|
.include <bsd.port.mk>
|