# Created by: Zhihao Yuan # $FreeBSD: head/devel/pure-stldict/Makefile 407452 2016-01-29 06:09:32Z vanilla $ PORTNAME= pure-stldict PORTVERSION= 0.8 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/ DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Pure interface to C++ STL map/unordered_map LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual USES= pkgconfig pure CXXFLAGS+= -std=c++0x -DHAVE_STD_IS_PERMUTATION PORTDOCS= README PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${OSVERSION} <= 1000000 USE_GCC= 4.9 .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include