46aa077015
These days, Nvidia graphics is more platforms than just cards, more renderers than just OpenGL, and more display protocols than just X. It's also written in uppercase. This increases consistency, clarity, and eliminates jarring line wrapping at reference column width 80. PR: 293473 (graphics/nvidia-texture-tools) PR: 293474 (sysutils/nvclock) PR: 293475 (sysutils/py-nvitop) Reviewed by: amdmi3, ashafer, danfe, kbowling Reviewed by: Tomoaki Aoki <junchoon_dec.sakura.ne.jp> Differential Revision: https://reviews.freebsd.org/D55452
38 lines
846 B
Makefile
38 lines
846 B
Makefile
PORTNAME= nvidia-texture-tools
|
|
PORTVERSION= 2.1.2
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Texture Tools with support for DirectX 10 formats
|
|
WWW= https://github.com/castano/nvidia-texture-tools
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64 powerpc powerpc64 armv6 aarch64 powerpc64le # see src/nvcore/nvcore.h
|
|
BROKEN_aarch64= error: use of undeclared identifier '__builtin_ia32_emms'
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
CMAKE_ON= NVTT_SHARED \
|
|
NVCORE_SHARED \
|
|
NVTHREAD_SHARED \
|
|
NVIMAGE_SHARED
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= castano
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS_i386= -msse -msse2
|
|
|
|
PORTDOCS= ChangeLog README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|