2009-04-09 02:48:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.148 2009/04/09 00:48:07 joerg Exp $
|
2001-06-07 11:59:28 +02:00
|
|
|
|
2009-03-30 23:02:25 +02:00
|
|
|
DISTNAME= cpuflags-1.41
|
2008-11-22 01:07:21 +01:00
|
|
|
CATEGORIES= devel sysutils
|
2003-06-03 12:17:48 +02:00
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
2001-06-07 11:59:28 +02:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= abs@NetBSD.org
|
2003-06-03 12:17:48 +02:00
|
|
|
COMMENT= Determine compiler flags to best target current cpu
|
2001-06-07 11:59:28 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-08-27 12:08:29 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-* FreeBSD-*-*
|
2001-06-07 11:59:28 +02:00
|
|
|
|
2004-02-13 22:08:33 +01:00
|
|
|
USE_LANGUAGES= # empty
|
2001-06-07 11:59:28 +02:00
|
|
|
NO_CONFIGURE= yes
|
2004-03-17 01:26:55 +01:00
|
|
|
|
2009-01-29 00:30:50 +01:00
|
|
|
SUBST_CLASSES+= cpuflags
|
|
|
|
SUBST_STAGE.cpuflags= post-patch
|
|
|
|
SUBST_FILES.cpuflags= cpuflags.sh
|
|
|
|
SUBST_SED.cpuflags= -e s,@@SH@@,${SH:Q},
|
|
|
|
|
2005-04-29 14:56:05 +02:00
|
|
|
do-extract:
|
2004-03-17 01:26:55 +01:00
|
|
|
${MKDIR} ${WRKSRC}
|
2008-01-11 13:58:30 +01:00
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
${CP} ${FILESDIR}/c* ${WRKSRC}
|
|
|
|
${CP} ${FILESDIR}/o* ${WRKSRC}
|
|
|
|
${CP} ${FILESDIR}/s* ${WRKSRC}
|
2001-06-07 11:59:28 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|