Simplify installation and plist generation.

This commit is contained in:
Jung-uk Kim 2013-06-27 21:43:47 +00:00
parent 4550e88102
commit e0c8783d9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321906
2 changed files with 9 additions and 12 deletions

View file

@ -17,13 +17,6 @@ LICENSE= BSD
USE_GMAKE= yes
MAKE_ARGS= HOST=_FreeBSD
WRKSRC_SUBDIR= generate/unix
ACPICA_TOOLS= acpibin acpidump acpiexec acpihelp acpinames acpisrc \
acpixtract iasl
.for t in ${ACPICA_TOOLS}
PLIST_FILES+= bin/${t}
.endfor
LFLAGS= -i -s
YFLAGS= -v -d
.if !empty(YACC:M*bison*)
@ -32,15 +25,11 @@ YFLAGS+= -y
post-patch:
@${REINPLACE_CMD} -e 's|^CC[[:blank:]]*=.*|CC = ${CC}|' \
-e 's|INSTALLPROG = install -D|INSTALLPROG = ${INSTALL_PROGRAM}|' \
-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
do-install:
.for t in ${ACPICA_TOOLS}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${t} ${PREFIX}/bin
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1,8 @@
bin/acpibin
bin/acpidump
bin/acpiexec
bin/acpihelp
bin/acpinames
bin/acpisrc
bin/acpixtract
bin/iasl