40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2020/04/28 11:46:29 nikita Exp $
|
|
|
|
DISTNAME= remake-4.2.1+dbg-1.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bashdb/}
|
|
|
|
MAINTAINER= nikita@NetBSD.org
|
|
HOMEPAGE= http://bashdb.sourceforge.net/remake/
|
|
COMMENT= GNU make with debugger
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_FEATURES= snprintf
|
|
|
|
GNU_CONFIGURE= yes
|
|
TEXINFO_REQD+= 4.0
|
|
INFO_FILES= yes
|
|
|
|
TEST_TARGET= check
|
|
|
|
# workaround for broken strndup
|
|
CONFIGURE_ARGS.MirBSD+= ac_cv_func_strndup=no
|
|
CONFIGURE_ARGS= --without-guile
|
|
# XXX: Do not install gmake setgid and do not override the owner group
|
|
# XXX: based on possible /dev/kmem permissions.
|
|
CONFIGURE_ARGS+= ac_cv_func_getloadavg_setgid=no
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
# \todo: patch upstream.
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/info/make.info ${DESTDIR}${PREFIX}/info/remake.info
|
|
${MV} ${DESTDIR}${PREFIX}/info/make.info-1 ${DESTDIR}${PREFIX}/info/remake.info-1
|
|
${MV} ${DESTDIR}${PREFIX}/info/make.info-2 ${DESTDIR}${PREFIX}/info/remake.info-2
|
|
|
|
# \todo: most of this package could probably be shorter if
|
|
# gmake had a Makefile file to re-use.
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|