Update sysutils/filelight to version 20.04.0
[dports.git] / sysutils / superiotool / Makefile
1 # Created by: Andriy Gapon <avg@icyb.net.ua>
2 # $FreeBSD$
3
4 PORTNAME=       superiotool
5 DISTVERSION=    20121019
6 PORTREVISION=   1
7 CATEGORIES=     sysutils
8 MASTER_SITES=   LOCAL/avg \
9                 http://www.icyb.net.ua/~avg/distfiles/
10
11 MAINTAINER=     avg@icyb.net.ua
12 COMMENT=        Helper tool for Super I/O chip detection and analysis
13
14 LIB_DEPENDS=    libpci.so:devel/libpci
15
16 ONLY_FOR_ARCHS= i386 amd64
17 ONLY_FOR_ARCHS_REASON=The tool is for x86-specific hardware
18
19 USES=           gmake tar:bzip2
20
21 PLIST_FILES=    sbin/superiotool \
22                 man/man8/superiotool.8.gz
23
24 WRKSRC=         ${WRKDIR}/${PORTNAME}
25 UPSTREAM_VERS=  4.0-2827-g1a00cf0
26 MAKE_ENV+=      VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"'
27
28 post-patch:
29         ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
30
31 .include <bsd.port.mk>