Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 18:23:04 GMT
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139295: New port: devel/mk-configure -- lightweight, easy to use replacement for GNU autotools
Message-ID:  <200910011823.n91IN4LO045593@www.freebsd.org>
Resent-Message-ID: <200910011830.n91IU26u094707@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139295
>Category:       ports
>Synopsis:       New port: devel/mk-configure -- lightweight, easy to use replacement for GNU autotools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 01 18:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mikolaj Golub
>Release:        
>Organization:
>Environment:
>Description:
Actually, the shar contains two ports: mk-configure and netbsd-pkgsrc-mk-files (needed for mk-configure).

devel/netbsd-pkgsrc-mk-files -- collection of mk-files from pkgsrc project

The NetBSD Packages Collection (pkgsrc) is a framework for building third-party
software on NetBSD and other UNIX-like systems. mk-files is an important part
of pkgsrc but could also be useful for other projects.

WWW: http://www.netbsd.org/docs/software/packages.html

devel/mk-configure -- lightweight, easy to use replacement for GNU autotools

mk-configure is a lightweight replacement for GNU autotools, written in bmake
(portable version of NetBSD make) and POSIX shell. mk-configure also provides
standalone mkc_check_xxx scripts that can be used without bmake.

WWW: http://sourceforge.net/projects/mk-configure/

These ports can only be committed after adding bmake (NetBSD make) port. I have submitted bmake in a separate pr (ports/139284).

I need mk-configure to upgrade devel/lmdbg to the latest upstream version. The author of lmdbg switched from autotools to mk-configure framework.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	netbsd-pkgsrc-mk-files
#	netbsd-pkgsrc-mk-files/pkg-descr
#	netbsd-pkgsrc-mk-files/Makefile
#	netbsd-pkgsrc-mk-files/pkg-plist
#	netbsd-pkgsrc-mk-files/distinfo
#	mk-configure
#	mk-configure/pkg-descr
#	mk-configure/Makefile
#	mk-configure/pkg-plist
#	mk-configure/distinfo
#
echo c - netbsd-pkgsrc-mk-files
mkdir -p netbsd-pkgsrc-mk-files > /dev/null 2>&1
echo x - netbsd-pkgsrc-mk-files/pkg-descr
sed 's/^X//' >netbsd-pkgsrc-mk-files/pkg-descr << 'c55f385490c4dfe63e77644c0b5e56e6'
XThe NetBSD Packages Collection (pkgsrc) is a framework for building third-party
Xsoftware on NetBSD and other UNIX-like systems. mk-files is an important part
Xof pkgsrc but could also be useful for other projects.
X
XWWW: http://www.netbsd.org/docs/software/packages.html
c55f385490c4dfe63e77644c0b5e56e6
echo x - netbsd-pkgsrc-mk-files/Makefile
sed 's/^X//' >netbsd-pkgsrc-mk-files/Makefile << 'b56735edd187b980eaacbff0b28e4fd0'
X# New ports collection makefile for:	netbsd-pkgsrc-mk-files
X# Date created:				16 September 2009
X# Whom:					Mikolaj Golub <to.my.trociny@gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	netbsd-pkgsrc-mk-files
XPORTVERSION=	20090329
XCATEGORIES=	devel
XMASTER_SITES=	\
X	http://www.mova.org/~cheusov/pub/netbsd-tools/pkgsrc-mk-files/ \
X	http://trociny.googlecode.com/files/
X
XMAINTAINER=	to.my.trociny@gmail.com
XCOMMENT=	Collection of mk-files from pkgsrc project
X
XRUN_DEPENDS=	bmake:${PORTSDIR}/devel/bmake
X
XUSE_BZIP2=	YES
XDATADIR=	${PREFIX}/share/mk
X
Xdo-build:
X
Xdo-install:
X	cd ${WRKSRC} && \
X	MK_DST=${DATADIR} OPSYS=FreeBSD SYSCONFDIR=${PREFIX}/etc \
X	ROOT_GROUP=wheel ROOT_USER=root \
X	CP=cp SED=sed \
X	${SH} bootstrap.sh
X
X.include <bsd.port.mk>
b56735edd187b980eaacbff0b28e4fd0
echo x - netbsd-pkgsrc-mk-files/pkg-plist
sed 's/^X//' >netbsd-pkgsrc-mk-files/pkg-plist << '8818666a30db580425185f0c4ce6a226'
X%%DATADIR%%/bsd.README
X%%DATADIR%%/bsd.dep.mk
X%%DATADIR%%/bsd.depall.mk
X%%DATADIR%%/bsd.doc.mk
X%%DATADIR%%/bsd.files.mk
X%%DATADIR%%/bsd.hostprog.mk
X%%DATADIR%%/bsd.inc.mk
X%%DATADIR%%/bsd.info.mk
X%%DATADIR%%/bsd.kernobj.mk
X%%DATADIR%%/bsd.kinc.mk
X%%DATADIR%%/bsd.kmod.mk
X%%DATADIR%%/bsd.lib.mk
X%%DATADIR%%/bsd.links.mk
X%%DATADIR%%/bsd.man.mk
X%%DATADIR%%/bsd.nls.mk
X%%DATADIR%%/bsd.obj.mk
X%%DATADIR%%/bsd.own.mk
X%%DATADIR%%/bsd.prog.mk
X%%DATADIR%%/bsd.subdir.mk
X%%DATADIR%%/bsd.sys.mk
X%%DATADIR%%/sys.mk
8818666a30db580425185f0c4ce6a226
echo x - netbsd-pkgsrc-mk-files/distinfo
sed 's/^X//' >netbsd-pkgsrc-mk-files/distinfo << '0052f0e9f78e26c6c5b2f60ae55dd9d7'
XMD5 (netbsd-pkgsrc-mk-files-20090329.tar.bz2) = 4b7677368ad9acfaa2995420c2e6c134
XSHA256 (netbsd-pkgsrc-mk-files-20090329.tar.bz2) = fcad3ff40bcc21483565aad80e560ea0591b3a727d74a8c7c3935fb49968fc43
XSIZE (netbsd-pkgsrc-mk-files-20090329.tar.bz2) = 28530
0052f0e9f78e26c6c5b2f60ae55dd9d7
echo c - mk-configure
mkdir -p mk-configure > /dev/null 2>&1
echo x - mk-configure/pkg-descr
sed 's/^X//' >mk-configure/pkg-descr << 'e3c852f3d123e89fb62627a15576f9bc'
Xmk-configure is a lightweight replacement for GNU autotools, written in bmake
X(portable version of NetBSD make) and POSIX shell. mk-configure also provides
Xstandalone mkc_check_xxx scripts that can be used without bmake.
X
XWWW: http://sourceforge.net/projects/mk-configure/
e3c852f3d123e89fb62627a15576f9bc
echo x - mk-configure/Makefile
sed 's/^X//' >mk-configure/Makefile << 'c8ad325a5274f265a4ad990905864b8d'
X# New ports collection makefile for:	mk-configure
X# Date created:				16 September 2009
X# Whom:					Mikolaj Golub <to.my.trociny@gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	mk-configure
XPORTVERSION=	0.11.1
XCATEGORIES=	devel
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	to.my.trociny@gmail.com
XCOMMENT=	Lightweight, easy to use replacement for GNU autotools
X
XRUN_DEPENDS=	${LOCALBASE}/share/mk/bsd.sys.mk:${PORTSDIR}/devel/netbsd-pkgsrc-mk-files
X
X.if !defined(NOPORTDOCS)
XDOCFILES=	README NEWS TODO COPYRIGHT FAQ
X.else
XDOCFILES=
X.endif
X
XMAN1=		mkc_check_funclib.1 mkc_check_header.1 mkc_check_sizeof.1 \
X		mkc_check_decl.1 mkc_check_prog.1
XMAN7=		mk-configure.7
X
Xdo-build:
X	bmake -C ${WRKSRC} all MKFILESDIR=${LOCALBASE}/share/mk
X
Xdo-install:
X	bmake -C ${WRKSRC} install-dirs install EXTRAFILES="${DOCFILES}"
X
X.include <bsd.port.mk>
c8ad325a5274f265a4ad990905864b8d
echo x - mk-configure/pkg-plist
sed 's/^X//' >mk-configure/pkg-plist << 'b4abd582a79fc6d97ed70e8df09a1f8d'
Xbin/mkc_check_funclib
Xbin/mkc_check_header
Xbin/mkc_check_sizeof
Xbin/mkc_check_decl
Xbin/mkc_check_prog
Xbin/mkc_check_custom
Xbin/mkc_which
Xbin/mkc_check_version
Xbin/mkc_test_helper
Xbin/mkc_check_common.sh
Xshare/mk/configure.mk
Xshare/mk/mkc.configure.mk
Xshare/mk/mkc.files.mk
Xshare/mk/mkc.lib.mk
Xshare/mk/mkc.prog.mk
Xshare/mk/mkc.subdir.mk
Xshare/mk/mkc.own.mk
Xshare/mk/mkc.intexts.mk
Xshare/mk/mkc.common.mk
Xshare/mk/mkc.minitest.mk
Xshare/mk/mkc.pkg-config.mk
Xshare/mk/_mkc.ver.mk
Xshare/mk/_mkc.missedfiles.mk
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
b4abd582a79fc6d97ed70e8df09a1f8d
echo x - mk-configure/distinfo
sed 's/^X//' >mk-configure/distinfo << 'cdf4cc4570fb08edbe7cabb099ac70ab'
XMD5 (mk-configure-0.11.1.tar.gz) = 09eb7ce6ab81f66987dfc9416f4259ce
XSHA256 (mk-configure-0.11.1.tar.gz) = c10030a4e69cb3d4351ffcc0d1f1d92396458fa2a6bdd7658a5e5abdc654a054
XSIZE (mk-configure-0.11.1.tar.gz) = 55822
cdf4cc4570fb08edbe7cabb099ac70ab
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910011823.n91IN4LO045593>