983d626454
PR: 166400 Submitted by: trociny (maintainer) Feature safe: yes
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: mk-configure
|
|
# Date created: 16 September 2009
|
|
# Whom: Mikolaj Golub <to.my.trociny@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mk-configure
|
|
PORTVERSION= 0.22.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= trociny@FreeBSD.org
|
|
COMMENT= Lightweight, easy to use replacement for GNU autotools
|
|
|
|
LICENSE= BSD
|
|
|
|
BUILD_DEPENDS= ${BMAKE}:${PORTSDIR}/devel/bmake
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS} \
|
|
bmkdep:${PORTSDIR}/devel/bmkdep
|
|
|
|
BMAKE?= ${LOCALBASE}/bin/bmake
|
|
INSTALL_TARGET= installdirs install
|
|
|
|
PORTDOCS= README NEWS TODO COPYRIGHT FAQ presentation.pdf
|
|
PORTEXAMPLES= *
|
|
|
|
MAN1= mkc_check_funclib.1 mkc_check_header.1 mkc_check_sizeof.1 \
|
|
mkc_check_decl.1 mkc_check_prog.1 mkc_check_custom.1 \
|
|
mkcmake.1
|
|
MAN7= mk-configure.7
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
MAKE_ENV+= EXTRAFILES="${PORTDOCS:C|.*\.pdf|doc/&|}"
|
|
.else
|
|
MAKE_ENV+= EXTRAFILES=""
|
|
.endif
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} "MKDEP ?= bmkdep" >> ${WRKSRC}/sys.mk
|
|
|
|
do-build:
|
|
@${SETENV} ${MAKE_ENV} ${BMAKE} -C ${BUILD_WRKSRC} ${MAKE_FLAGS} ${MAKEFILE} \
|
|
${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
|
|
|
|
do-install:
|
|
@${SETENV} ${MAKE_ENV} ${BMAKE} -C ${INSTALL_WRKSRC} ${MAKE_FLAGS} ${MAKEFILE} \
|
|
${_MAKE_JOBS} ${MAKE_ARGS} ${INSTALL_TARGET}
|
|
.if !defined(NOPORTEXAMPLES)
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|