blob: cb09ee92e188232c2f4778fa2fd49a2cff902894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.151 2012/10/31 11:16:48 asau Exp $
DISTNAME= cpuflags-1.42
CATEGORIES= devel sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= abs@NetBSD.org
COMMENT= Determine compiler flags to best target current cpu
ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-* FreeBSD-*-* Darwin-*-*
USE_LANGUAGES= # empty
NO_CONFIGURE= yes
MAKE_FLAGS+= INSTALL_DATA=${INSTALL_DATA:Q}
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
MAKE_FLAGS+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
MAKE_FLAGS+= INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
MAKE_FLAGS+= INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
MAKE_FLAGS+= INSTALL_DATA_DIR=${INSTALL_DATA_DIR:Q}
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
SUBST_CLASSES+= cpuflags
SUBST_STAGE.cpuflags= post-patch
SUBST_FILES.cpuflags= cpuflags.sh
SUBST_SED.cpuflags= -e s,@@SH@@,${SH:Q},
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/c* ${WRKSRC}
${CP} ${FILESDIR}/o* ${WRKSRC}
${CP} ${FILESDIR}/s* ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
|