2020-11-24 18:59:28 +00:00

34 lines
644 B
Makefile

# $OpenBSD: Makefile,v 1.2 2020/11/24 18:59:28 fcambus Exp $
COMMENT = ncurses based sudoku game
GH_ACCOUNT = jubalh
GH_PROJECT = nudoku
GH_TAGNAME = 2.1.0
CATEGORIES = games
HOMEPAGE = https://jubalh.github.io/nudoku/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c curses iconv intl
BUILD_DEPENDS = devel/gettext,-tools
LIB_DEPENDS = converters/libiconv \
devel/gettext,-runtime
CONFIGURE_STYLE = autoreconf
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
post-configure:
@sed -i 's|"gettext.h"|<libintl.h>|' ${WRKSRC}/src/main.c \
${WRKSRC}/src/sudoku.c
.include <bsd.port.mk>