freebsd-ports/sysutils/cpu-x/Makefile
Alexey Dokuchaev d34780a648 Update `sysutils/cpu-x' to version 3.2.0.
Reported by:	portscout
2018-02-01 17:11:32 +00:00

45 lines
987 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpu-x
PORTVERSION= 3.2.0
DISTVERSIONPREFIX= v
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 \
libcurl.so:ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= X0rg
GH_PROJECT= ${PORTNAME:tu}
USES= cmake gettext ncurses pkgconfig
PORTDOCS= ChangeLog README.md
OPTIONS_DEFINE= DOCS X11
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
X11_DESC= Build GTK+3 frontend in addition to ncurses one
X11_USE= GNOME=gtk30
X11_CMAKE_OFF= -DWITH_GTK:BOOL=OFF
X11_VARS= INSTALLS_ICONS=yes
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>