47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2012/10/31 11:17:29 asau Exp $
|
|
#
|
|
|
|
DISTNAME= mk-configure-0.23.0
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/} \
|
|
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= # no languages
|
|
|
|
DOC_FILES= doc/presentation.pdf
|
|
|
|
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} \
|
|
SYSCONFDIR=${PKG_SYSCONFDIR} \
|
|
BMAKE=${PREFIX}/bin/bmake
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
PKGDOCDIR= share/doc/mk-configure
|
|
EGDIR= share/examples/mk-configure
|
|
|
|
#TEST_TARGET= test
|
|
|
|
post-install:
|
|
.for i in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/"${i}" ${DESTDIR}${PREFIX}/${PKGDOCDIR}
|
|
.endfor
|
|
cp -Rp ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|