openbsd-ports/devel/boost/Makefile
deanna 7deee3920d Bring boost back into a single package. Splitting it was my mistake.
Discussed with several people, "go ahead" steven@
2007-12-18 20:46:03 +00:00

73 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2007/12/18 20:46:03 deanna Exp $
COMMENT= free peer-reviewed portable C++ source libraries
PKGNAME= boost-${VERSION}p1
VERSION= 1.33.1
DISTNAME= boost_${VERSION:S/./_/g}
SHARED_LIBS= boost_date_time 0.0 \
boost_date_time-mt 0.0 \
boost_filesystem 0.0 \
boost_filesystem-mt 0.0 \
boost_iostreams 0.0 \
boost_iostreams-mt 0.0 \
boost_prg_exec_monitor 0.0 \
boost_prg_exec_monitor-mt 0.0 \
boost_program_options 0.0 \
boost_program_options-mt 0.0 \
boost_regex 0.0 \
boost_regex-mt 0.0 \
boost_serialization 0.0 \
boost_serialization-mt 0.0 \
boost_signals 0.0 \
boost_signals-mt 0.0 \
boost_test_exec_monitor 0.0 \
boost_test_exec_monitor-mt 0.0 \
boost_thread-mt 0.0 \
boost_unit_test_framework 0.0 \
boost_unit_test_framework-mt 0.0
CATEGORIES= devel
HOMEPAGE= http://www.boost.org/
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
# MIT-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boost/}
MAKE_ENV= GCC="${CC}" GXX="${CXX}"
REGRESS_TARGET= check
WANTLIB= z c
do-configure:
@cd ${WRKSRC}/libs/config && \
${SETENV} ${CONFIGURE_ENV} /bin/sh ./configure && \
cp user.hpp ${WRKSRC}/boost/config
post-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} /bin/sh ./configure \
--without-libraries=python
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/build/jam_src/bin.*/bjam \
${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/stage/lib/lib!(*.so) ${PREFIX}/lib
@cd ${WRKSRC} && \
find boost -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/include/{} \;
@cd ${WRKSRC} && \
find boost -type f -exec ${INSTALL_DATA} {} ${PREFIX}/include/{} \;
.include <bsd.port.mk>