b3893e6f33
WWW: http://www.etallen.com/cpuid.html The package and the binary have been renamed to cpuid-etallen in order to avoid conflict with misc/cpuid. PR: 194826 Submitted by: Uffe Jakobsen
35 lines
865 B
Makefile
35 lines
865 B
Makefile
# Created by: uffe@uffe.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cpuid
|
|
PORTVERSION= 20140123
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.etallen.com/cpuid/
|
|
PKGNAMESUFFIX= ${CPUID_SUFFIX}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
|
|
|
MAINTAINER= uffe@uffe.org
|
|
COMMENT= Tool to dump x86 CPUID information about the CPU(s)
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake
|
|
ALL_TARGET= default
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
# Renamed to avoid conflict with misc/cpuid
|
|
CPUID_SUFFIX= -etallen
|
|
|
|
PLIST_FILES= bin/cpuid${CPUID_SUFFIX} \
|
|
man/man1/cpuid${CPUID_SUFFIX}.1.gz
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's,CFL=.*,& -pthread,' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${STAGEDIR}${PREFIX}/bin/cpuid${CPUID_SUFFIX}
|
|
${INSTALL_MAN} ${WRKSRC}/cpuid.man.gz ${STAGEDIR}${PREFIX}/man/man1/cpuid${CPUID_SUFFIX}.1.gz
|
|
|
|
.include <bsd.port.mk>
|