openbsd-ports/devel/metaauto/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-15 14:45:56 -05:00
# $OpenBSD: Makefile,v 1.16 2010/11/15 19:46:00 espie Exp $
2010-11-15 14:45:56 -05:00
COMMENT = wrapper for gnu auto*
2010-11-15 14:45:56 -05:00
VERSION = 1.0
DISTNAME = metaauto-${VERSION}
CATEGORIES = devel
DISTFILES = pkg-config-0.21.tar.gz
2010-11-15 14:45:56 -05:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2010-11-15 14:45:56 -05:00
MASTER_SITES = http://pkg-config.freedesktop.org/releases/
# BSD, except pkg.m4 which is GPL
2010-11-15 14:45:56 -05:00
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
2010-11-15 14:45:56 -05:00
AUTOCONF_SCRIPTS = autoconf autoupdate autoheader autoreconf autom4te
AUTOMAKE_SCRIPTS = automake aclocal
2010-11-15 14:45:56 -05:00
WRKDIST = ${WRKDIR}
2010-11-15 14:45:56 -05:00
NO_REGRESS = Yes
2007-01-04 14:10:43 -05:00
do-build:
.for i in ${AUTOCONF_SCRIPTS}
sed -e s,@PROG_VERSION,AUTOCONF_VERSION, -e s,@LOCALBASE@,${LOCALBASE}, -e s,@SCRIPT@,$i, <${FILESDIR}/meta.in >${WRKBUILD}/$i
.endfor
.for i in ${AUTOMAKE_SCRIPTS}
sed -e s,@PROG_VERSION,AUTOMAKE_VERSION, -e s,@LOCALBASE@,${LOCALBASE}, -e s,@SCRIPT@,$i, <${FILESDIR}/meta.in >${WRKBUILD}/$i
.endfor
do-install:
.for i in ${AUTOCONF_SCRIPTS} ${AUTOMAKE_SCRIPTS}
${INSTALL_SCRIPT} ${WRKBUILD}/$i ${PREFIX}/bin
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
${INSTALL_DATA} ${WRKDIR}/pkg-config-0.21/pkg.m4 ${PREFIX}/share/aclocal
.include <bsd.port.mk>