# Created by: ijliao # $FreeBSD$ PORTNAME= ustl PORTVERSION= 1.0.0 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0 DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= Codespace-frugal STL implementation USE_BZIP2= yes USE_GMAKE= yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} HAS_CONFIGURE= yes MAKE_ARGS= CXX="${CXX}" \ INCDIR="${PREFIX}/include" \ LIBDIR="${PREFIX}/lib" ALL_TARGET= # empty PLIST_FILES= lib/libustl.so lib/libustl.so.1 lib/libustl.so.1.0.0 NO_STAGE= yes .include .if ${ARCH} != "i386" BROKEN= Does not compile on !i386 .endif MANUAL_PACKAGE_BUILD= yes post-patch: @${REINPLACE_CMD} -e "s,/bin/bash,/bin/sh," ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h post-install: @${FIND} ${PREFIX}/include/ustl* ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${PREFIX}/include/ustl* -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include