9aaa900abd
PR: 292056
34 lines
784 B
Makefile
34 lines
784 B
Makefile
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>
|