freebsd-ports/sysutils/cpu-x/Makefile
Alexey Dokuchaev 2b756c338b - Update `sysutils/libcpuid' to version 0.4.0
- Distribution file are now served off GitHub
- Chase shlib version bump in `sysutils/cpu-x'

Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1478998492 which corresponds to commit fa87a5e tagged
as this release.
2017-01-20 16:44:13 +00:00

39 lines
844 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpu-x
PORTVERSION= 3.1.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= danfe@FreeBSD.org
COMMENT= Gathers information about CPU, motherboard, and more
LICENSE= GPLv3
BUILD_DEPENDS= nasm:devel/nasm
LIB_DEPENDS= libcpuid.so:sysutils/libcpuid \
libpci.so:devel/libpci \
libstatgrab.so:devel/libstatgrab
USE_GITHUB= yes
GH_ACCOUNT= X0rg
GH_PROJECT= ${PORTNAME:tu}
USES= cmake execinfo gettext-tools ncurses pkgconfig
USE_GNOME= gtk30
INSTALLS_ICONS= yes
PORTDOCS= ChangeLog README.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's, -Wno-unused-result,,' ${WRKSRC}/CMakeLists.txt
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>