Simplify the port and clean up.
This commit is contained in:
parent
b6dba1bbe2
commit
867aecef4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333947
@ -14,25 +14,23 @@ COMMENT= Tools from the ACPI Component Architecture (ACPICA) project
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
MAKE_ARGS= HOST=_FreeBSD INSTALLFLAGS="${INSTALL_PROGRAM:S/^${INSTALL}//}"
|
||||
MAKE_ARGS+= NOOPT=TRUE
|
||||
|
||||
USES= gmake
|
||||
WRKSRC_SUBDIR= generate/unix
|
||||
LFLAGS= -i -s
|
||||
|
||||
# XXX 20130927 broke support for yacc.
|
||||
USES+= bison
|
||||
YACC= bison
|
||||
YFLAGS= -y
|
||||
YACC= ${LOCALBASE}/bin/bison
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^CC[[:blank:]]*=.*|CC = ${CC}|' \
|
||||
-e 's|^INSTALL[[:blank:]]*=.*|INSTALL = ${INSTALL}|g' \
|
||||
-e 's|^LEX[[:blank:]]*=.*|LEX = ${FLEX}|' \
|
||||
-e 's|^LFLAGS[[:blank:]]*\+=.*|LFLAGS = ${LFLAGS}|' \
|
||||
-e 's|^YACC[[:blank:]]*=.*|YACC = ${YACC}|' \
|
||||
-e 's|^YFLAGS[[:blank:]]*\+=.*|YFLAGS = ${YFLAGS}|' \
|
||||
${WRKSRC}/Makefile.config
|
||||
ACPICA_TOOLS= acpibin acpidump acpiexec acpihelp acpinames acpisrc
|
||||
ACPICA_TOOLS+= acpixtract iasl
|
||||
|
||||
PLIST_FILES= ${ACPICA_TOOLS:S,^,bin/,}
|
||||
WRKSRC_SUBDIR= generate/unix
|
||||
|
||||
MAKE_ARGS= HOST=_FreeBSD NOOPT=TRUE
|
||||
MAKE_ARGS+= CC="${CC}" LEX="${FLEX}" YACC="${YACC}"
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${WRKSRC}/bin/,} \
|
||||
${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,8 +0,0 @@
|
||||
bin/acpibin
|
||||
bin/acpidump
|
||||
bin/acpiexec
|
||||
bin/acpihelp
|
||||
bin/acpinames
|
||||
bin/acpisrc
|
||||
bin/acpixtract
|
||||
bin/iasl
|
Loading…
Reference in New Issue
Block a user