blob: 3164fc4ce35f71aadcf1022ae1e7fadd65a71c8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= ptex
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.1
CATEGORIES= graphics
MAINTAINER= FreeBSD@Shaneware.biz
COMMENT= Per face texture library
WWW= https://ptex.us
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libdeflate.so:archivers/libdeflate
USES= cmake:insource compiler:c++11-lang cpe pkgconfig
CPE_VENDOR= disneyanimation
USE_GITHUB= yes
GH_ACCOUNT= wdas
USE_LDCONFIG= yes
# yes really, the release tarbal doesn't know what version it is
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \
-DCMAKE_INSTALL_INCLUDEDIR:STRING=${LOCALBASE}/include/ptex \
-DPTEX_VER:STRING=${DISTVERSION}
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
DOCS_CMAKE_BOOL= PTEX_BUILD_DOCS
pre-build-DOCS-on:
@(cd ${WRKSRC}/src/doc && doxygen -u Doxyfile)
.include <bsd.port.mk>
|