2006-12-01 11:30:42 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2006/12/01 16:30:42 espie Exp $
|
2003-02-15 09:01:18 -05:00
|
|
|
|
|
|
|
COMMENT= "wrapper for gnu auto*"
|
|
|
|
|
2006-12-01 11:30:42 -05:00
|
|
|
VERSION= 0.6
|
2003-02-15 09:01:18 -05:00
|
|
|
DISTNAME= metaauto-${VERSION}
|
|
|
|
CATEGORIES= devel
|
2006-12-01 11:30:42 -05:00
|
|
|
DISTFILES= pkg-config-0.19.tar.gz
|
2003-02-15 09:01:18 -05:00
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2006-12-01 11:30:42 -05:00
|
|
|
MASTER_SITES= http://www.freedesktop.org/software/pkgconfig/releases/ \
|
|
|
|
${MASTER_SITE_GNOME:=sources/pkg-config/0.19/}
|
|
|
|
|
|
|
|
# BSD, except pkg.m4 which is GPL
|
2003-02-15 09:01:18 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2005-04-13 06:00:41 -04:00
|
|
|
AUTOCONF_SCRIPTS=autoconf autoupdate autoheader autoreconf autom4te
|
2004-11-08 17:00:09 -05:00
|
|
|
AUTOMAKE_SCRIPTS=automake aclocal
|
|
|
|
|
2003-02-15 09:01:18 -05:00
|
|
|
WRKDIST=${WRKDIR}
|
|
|
|
|
|
|
|
do-build:
|
2004-11-08 17:00:09 -05:00
|
|
|
.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
|
2003-02-15 09:01:18 -05:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2004-11-08 17:00:09 -05:00
|
|
|
.for i in ${AUTOCONF_SCRIPTS} ${AUTOMAKE_SCRIPTS}
|
2003-05-22 18:54:05 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/$i ${PREFIX}/bin
|
2003-02-15 09:01:18 -05:00
|
|
|
.endfor
|
2006-12-01 11:30:42 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/pkg-config-0.19/pkg.m4 ${PREFIX}/share/aclocal
|
2003-02-15 09:01:18 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|