2002-07-25 10:12:48 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: tvmet
|
|
|
|
# Date created: Jul 25, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tvmet
|
2005-06-06 20:11:49 +02:00
|
|
|
PORTVERSION= 1.7.1
|
2002-07-25 10:12:48 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Tiny Vector and Matrix template library
|
2002-07-25 10:12:48 +02:00
|
|
|
|
2003-05-02 00:32:09 +02:00
|
|
|
USE_BZIP2= yes
|
2005-06-06 20:11:49 +02:00
|
|
|
USE_GMAKE= yes
|
2002-10-18 23:27:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-10-18 23:27:36 +02:00
|
|
|
|
2005-06-06 20:11:49 +02:00
|
|
|
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
|
2002-10-16 23:28:17 +02:00
|
|
|
|
2002-10-18 23:27:36 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-05-02 00:32:09 +02:00
|
|
|
.for ext in dox cc css h png
|
2002-10-18 23:27:36 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for ext in cc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.${ext} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2002-07-25 10:12:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|