freebsd-ports/graphics/ptex/Makefile
Dmitry Marakasov 8a2244cd0f - Pet portlint
- Use proper command for static lib installation

Approved by:	portmgr blanket
2017-11-14 09:00:09 +00:00

42 lines
939 B
Makefile

# $FreeBSD$
PORTNAME= ptex
PORTVERSION= 2.1.28
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES?= graphics
MAINTAINER= FreeBSD@Shaneware.biz
COMMENT= Per face texture library
LICENSE= BSD3CLAUSE
USES= cmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= wdas
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
post-build-DOCS-on:
@(cd ${WRKSRC}/src/doc && doxygen Doxyfile)
do-install:
${INSTALL_LIB} ${BUILD_WRKSRC}/src/ptex/libPtex.so \
${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${BUILD_WRKSRC}/src/ptex/libPtex.a \
${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/src/utils/ptxinfo \
${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}/${PREFIX}/include/ptex
${INSTALL_DATA} ${BUILD_WRKSRC}/src/ptex/*.h ${STAGEDIR}/${PREFIX}/include/ptex
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${BUILD_WRKSRC}/src/doc/ptex/ && \
${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>