mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
caa36f0a98
- Provide WITH_CPPUNIT knob PR: ports/81959 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
45 lines
941 B
Makefile
45 lines
941 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: tvmet
|
|
# Date created: Jul 25, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tvmet
|
|
PORTVERSION= 1.7.1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tiny Vector and Matrix template library
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= tvmet-config.1
|
|
|
|
.if defined(WITH_CPPUNIT)
|
|
LIB_DEPENDS+= cppunit-1.10.2:${PORTSDIR}/devel/cppunit
|
|
CONFIGURE_ARGS+= --with-cppunit-prefix=${LOCALBASE}
|
|
.else
|
|
CONFIGURE_ENV+= ac_cv_path_CPPUNIT_CONFIG=no
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for ext in dox cc css h png
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for ext in cc
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.${ext} ${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|