aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/superiotool/Makefile
blob: 15018da149c8121f2cf633edc13f181057b3651e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Andriy Gapon <avg@icyb.net.ua>
# $FreeBSD$

PORTNAME=   superiotool
DISTVERSION=    20121019
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   LOCAL/avg \
        http://www.icyb.net.ua/~avg/distfiles/

MAINTAINER= avg@icyb.net.ua
COMMENT=    Helper tool for Super I/O chip detection and analysis

LIB_DEPENDS=    libpci.so:devel/libpci

ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON=The tool is for x86-specific hardware

USES=       gmake tar:bzip2

PLIST_FILES=    sbin/superiotool \
        man/man8/superiotool.8.gz

WRKSRC=     ${WRKDIR}/${PORTNAME}
UPSTREAM_VERS=  4.0-2827-g1a00cf0
MAKE_ENV+=  VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"'

post-patch:
    ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile

.include <bsd.port.mk>