__ __ _ |__) |_ | \ |__) __| |_ / | | | +---+---+------> Build This is BSDBuild, a self-contained, portable build system in the spirit of the traditional 4.4BSD make library files. It allows standard BSD-style makefiles to be used, but without the BSD make extensions (Bourne script fragments are used instead), so it is portable to most operating systems and make flavors. In addition, BSDBuild includes a configure script compiler and a number of software test modules. BSDBuild is freely available from: http://hypertriton.com/bsdbuild/.
47 lines
1 KiB
Makefile
47 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/10/26 20:27:57 bsadewitz Exp $
|
|
#
|
|
|
|
DISTNAME= bsdbuild-102608
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/bjs/distfiles/
|
|
|
|
MAINTAINER= bjs@NetBSD.org
|
|
HOMEPAGE= http://www.hypertriton.com/bsdbuild/
|
|
COMMENT= BSD-licensed portable build system
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_LANGUAGES= # none
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= perl:run
|
|
|
|
REPLACE_PERL= *.pl
|
|
REPLACE_SH= mkdep configure
|
|
###
|
|
### XXX until we have proper glue, take care to set these when
|
|
### using this in a package.
|
|
###
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --with-libtool=${LIBTOOL:Q}
|
|
###
|
|
### XXXX Manual page installation really needs fixing!
|
|
###
|
|
CONFIGURE_ARGS+= --with-manpages=no
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
###
|
|
### XXX fixup manual page installation
|
|
###
|
|
post-install:
|
|
for n in 1 5; do \
|
|
for fn in ${WRKSRC}/${PKGMANDIR}/*.$${n}; do \
|
|
${INSTALL_MAN} $${fn} \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$${n}/ ; \
|
|
done; \
|
|
done
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|