forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
30 lines
739 B
Makefile
30 lines
739 B
Makefile
# Created by: Andriy Gapon <avg@icyb.net.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= superiotool
|
|
DISTVERSION= 20121019
|
|
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:${PORTSDIR}/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>
|