2001-05-19 11:05:42 +00:00
|
|
|
# New ports collection makefile for: cppadvio
|
|
|
|
# Date created: November 23, 2000
|
|
|
|
# Whom: Oleg Kiselyov <oleg@pobox.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cppadvio
|
|
|
|
PORTVERSION= 2.6
|
2004-03-17 09:36:54 +00:00
|
|
|
PORTREVISION= 2
|
2001-05-19 11:05:42 +00:00
|
|
|
CATEGORIES= devel net
|
2001-11-08 08:35:44 +00:00
|
|
|
MASTER_SITES= http://okmij.org/ftp/packages/ \
|
2001-05-19 11:05:42 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
2001-11-08 08:35:44 +00:00
|
|
|
MASTER_SITE_SUBDIR= ijliao
|
2001-05-19 11:05:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= oleg@pobox.com
|
2003-02-21 11:23:04 +00:00
|
|
|
COMMENT= Advanced i/o, networking, and arithmetic compression C++ classlib
|
2001-05-19 11:05:42 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/cppadvio
|
|
|
|
ALL_TARGET= lib
|
|
|
|
USE_GMAKE= yes
|
2002-11-24 20:37:25 +00:00
|
|
|
USE_GCC= 2.95
|
2001-05-19 11:05:42 +00:00
|
|
|
|
2004-03-13 09:53:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-04-19 12:53:55 +00:00
|
|
|
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
|
|
|
BROKEN= "Does not compile on alpha 4.x"
|
|
|
|
.endif
|
|
|
|
|
2001-05-19 11:05:42 +00:00
|
|
|
post-patch:
|
|
|
|
@( cd ${WRKSRC}; ${MV} c++ c++.orig; \
|
2002-10-10 12:59:36 +00:00
|
|
|
${SED} -e 's|^ *gcc|${CXX} ${CXXFLAGS}|' c++.orig > c++; ${CHMOD} +x c++ )
|
2001-05-19 11:05:42 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/libcppadvio.a ${PREFIX}/lib
|
|
|
|
${MKDIR} ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/Logger.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/TCPstream.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/arithm.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/arithm_modadapt.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/arithm_modadh.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/builtin.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/endian_io.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/histogram.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/minmax.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/myenv.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/std.h ${PREFIX}/include/cppadvio
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/voc.h ${PREFIX}/include/cppadvio
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/cppadvio
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cppadvio
|
|
|
|
.endif
|
|
|
|
|
2004-03-13 09:53:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|