1 # Created by: Andriy Gapon <avg@icyb.net.ua>
8 MASTER_SITES= LOCAL/avg \
9 http://www.icyb.net.ua/~avg/distfiles/
11 MAINTAINER= avg@icyb.net.ua
12 COMMENT= Helper tool for Super I/O chip detection and analysis
14 LIB_DEPENDS= libpci.so:devel/libpci
16 ONLY_FOR_ARCHS= i386 amd64
17 ONLY_FOR_ARCHS_REASON=The tool is for x86-specific hardware
21 PLIST_FILES= sbin/superiotool \
22 man/man8/superiotool.8.gz
24 WRKSRC= ${WRKDIR}/${PORTNAME}
25 UPSTREAM_VERS= 4.0-2827-g1a00cf0
26 MAKE_ENV+= VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"'
29 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
31 .include <bsd.port.mk>