pkgsrc/devel/mk-configure/Makefile
agc 30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00

53 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2017/01/19 18:52:07 agc Exp $
#
DISTNAME= mk-configure-0.29.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/}
MASTER_SITES+= http://mova.org/~cheusov/pub/mk-configure/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/mk-configure
COMMENT= Lightweight but powerful replacement for GNU autotools
LICENSE= modified-bsd
DEPENDS+= bmake-[0-9]*:../../devel/bmake
USE_LANGUAGES= c
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
MAKE_PROGRAM= ${PREFIX}/bin/bmake
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} \
SYSCONFDIR=${PKG_SYSCONFDIR} \
BMAKE=${PREFIX}/bin/bmake
MAKE_FLAGS= PROG.awk=${AWK:Q}
AUTO_MKDIRS= yes
EGDIR= share/examples/mk-configure
TEST_TARGET= test
post-install:
cp -Rp ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}
cp ${WRKSRC}/presentation/*.pdf ${DESTDIR}${PREFIX}/share/doc/mk-configure
.include "../../mk/bsd.prefs.mk"
CHECK_PERMS_SKIP= */foobar.in */hello_world3.in */prog1.awk.in
.if ${OPSYS} == SunOS && exists(/usr/xpg4/bin/awk)
REPLACE_INTERPRETER+= awk
REPLACE.awk.old= /usr/bin/awk
REPLACE.awk.new= /usr/xpg4/bin/awk
REPLACE_FILES.awk= mkc_check_version
.endif
.if ${OPSYS} != NetBSD && ${OPSYS} != FreeBSD && ${OPSYS} != OpenBSD && ${OPSYS} != DragonFly && ${OPSYS} != MirBSD
DEPENDS+= bmkdep-[0-9]*:../../devel/bmkdep
.endif
.include "../../mk/bsd.pkg.mk"