graphics/nvidia-texture-tools: remove COMPRESSUI option (Qt4 deprecation)
Approved by: portmgr (implicit)
This commit is contained in:
parent
a7a317de0e
commit
34f316d594
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496002
2 changed files with 2 additions and 22 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= nvidia-texture-tools
|
||||
PORTVERSION= 2.0.8.1 # needed to not bump PORTEPOCH; remove on next update
|
||||
PORTREVISION= 11
|
||||
PORTREVISION= 12
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
|
@ -31,28 +31,9 @@ CXXFLAGS+= -fPIC
|
|||
|
||||
PORTDOCS= NVIDIA_Texture_Tools_README.txt ChangeLog
|
||||
|
||||
OPTIONS_DEFINE= COMPRESSUI DOCS
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
COMPRESSUI_DESC=Build compressor UI (requires Qt4)
|
||||
COMPRESSUI_USES= qt:4
|
||||
COMPRESSUI_USE= QT=qmake_build,moc_build,uic_build,rcc_build,corelib,gui,opengl
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MCOMPRESSUI}
|
||||
DEPRECATED= Qt4 has been EOL since december 2015
|
||||
EXPIRATION_DATE= 2019-03-15
|
||||
.endif
|
||||
|
||||
post-patch-COMPRESSUI-on:
|
||||
@${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ s|)$$| REQUIRED&|' \
|
||||
${WRKSRC}/src/CMakeLists.txt
|
||||
|
||||
post-patch-COMPRESSUI-off:
|
||||
@${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ d' \
|
||||
${WRKSRC}/src/CMakeLists.txt
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
bin/nvassemble
|
||||
bin/nvcompress
|
||||
%%COMPRESSUI%%bin/nvcompressui
|
||||
bin/nvddsinfo
|
||||
bin/nvdecompress
|
||||
bin/nvimgdiff
|
||||
|
|
Loading…
Reference in a new issue