diff --git a/sysutils/superiotool/Makefile b/sysutils/superiotool/Makefile index 29407d310c58..bf2925afa009 100644 --- a/sysutils/superiotool/Makefile +++ b/sysutils/superiotool/Makefile @@ -1,32 +1,33 @@ PORTNAME= superiotool DISTVERSION= 4.18 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= https://coreboot.org/releases/ DISTFILES= coreboot-4.18.tar.xz MAINTAINER= avg@FreeBSD.org COMMENT= Helper tool for Super I/O chip detection and analysis WWW= http://www.coreboot.org/Superiotool LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= this tool is for x86-specific hardware LIB_DEPENDS= libpci.so:devel/libpci USES= gmake tar:bzip2 PLIST_FILES= sbin/superiotool \ - man/man8/superiotool.8.gz + share/man/man8/superiotool.8.gz WRKSRC= ${WRKDIR}/coreboot-${DISTVERSION} WRKSRC_SUBDIR= util/superiotool #UPSTREAM_VERS= 4.17-8da4bfe5b MAKE_ENV+= VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"' post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile .include diff --git a/sysutils/superiotool/files/patch-Makefile b/sysutils/superiotool/files/patch-Makefile index 32ebe2658a8f..a17b198c05b8 100644 --- a/sysutils/superiotool/files/patch-Makefile +++ b/sysutils/superiotool/files/patch-Makefile @@ -1,22 +1,11 @@ --- Makefile.orig 2022-10-16 20:14:31 UTC +++ Makefile @@ -8,7 +8,7 @@ PREFIX ?= /usr/local # Set the superiotool version string to the output of 'git describe'. -VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' +#VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \ -Werror-implicit-function-declaration -ansi -pedantic $(VERSION) -@@ -56,8 +56,8 @@ install: $(PROGRAM) - install: $(PROGRAM) - mkdir -p $(DESTDIR)$(PREFIX)/sbin - $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin -- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8 -- $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8 -+ mkdir -p $(DESTDIR)$(PREFIX)/man/man8 -+ $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8 - - clean: - rm -f $(PROGRAM) *.o junit.xml