34 lines
926 B
Makefile
34 lines
926 B
Makefile
# $NetBSD: Makefile,v 1.3 2019/05/01 13:36:28 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= nbase-7.0.0.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/}
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= https://github.com/cheusov/nbase
|
|
COMMENT= NetBSD userlevel portable to other UNIX-like systems
|
|
LICENSE= modified-bsd
|
|
|
|
GITHUB_PROJECT= nbase
|
|
BUILD_DEPENDS+= mk-configure>=0.31.0:../../devel/mk-configure \
|
|
byacc-[0-9]*:../../devel/byacc
|
|
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= lex # native yacc on OpenBSD is not good
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include "../../devel/mk-configure/mk-c.mk"
|
|
|
|
MAKE_FLAGS+= PREFIX=${PREFIX}/nbase \
|
|
MANDIR=${PREFIX}/nbase/${PKGMANDIR} \
|
|
LINKSPREFIX=${PREFIX}
|
|
|
|
# -Wno-error=unused-result -Werror=strict-aliasing(libnbcompat,)
|
|
MAKE_FLAGS+= WARNERR=no
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|