aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-06-28 05:43:47 +0800
committerjkim <jkim@FreeBSD.org>2013-06-28 05:43:47 +0800
commitb2bab150e0a9acaedb38b4af0e64bc622f7dc4a3 (patch)
tree6232b27e13be5a99d3797065654322634dc631e2
parent0eb891aa21b0f974e745ad3f974d2317035139dc (diff)
downloadfreebsd-ports-gnome-b2bab150e0a9acaedb38b4af0e64bc622f7dc4a3.tar.gz
freebsd-ports-gnome-b2bab150e0a9acaedb38b4af0e64bc622f7dc4a3.tar.zst
freebsd-ports-gnome-b2bab150e0a9acaedb38b4af0e64bc622f7dc4a3.zip
Simplify installation and plist generation.
-rw-r--r--sysutils/acpica-tools/Makefile13
-rw-r--r--sysutils/acpica-tools/pkg-plist8
2 files changed, 9 insertions, 12 deletions
diff --git a/sysutils/acpica-tools/Makefile b/sysutils/acpica-tools/Makefile
index e3957478b9cb..ca9cf973d109 100644
--- a/sysutils/acpica-tools/Makefile
+++ b/sysutils/acpica-tools/Makefile
@@ -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>
diff --git a/sysutils/acpica-tools/pkg-plist b/sysutils/acpica-tools/pkg-plist
new file mode 100644
index 000000000000..e3e7c043d37a
--- /dev/null
+++ b/sysutils/acpica-tools/pkg-plist
@@ -0,0 +1,8 @@
+bin/acpibin
+bin/acpidump
+bin/acpiexec
+bin/acpihelp
+bin/acpinames
+bin/acpisrc
+bin/acpixtract
+bin/iasl