freebsd-ports/devel/pure-stllib/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= pure-stllib
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR= pure
MAINTAINER= lichray@gmail.com
COMMENT= Pure interface to C++ STL map and vectors
LICENSE= BSD
USES= pure pkgconfig
USE_GCC= yes
PORTDOCS= *
DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= README
DOCSRCDIR2= ${WRKSRC}/doc
DOCSDIR2= ${DOCSDIR}/doc
DOC_FILES2= *.pdf
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile ${WRKSRC}/pure-stlmap/Makefile ${WRKSRC}/pure-stlvec/Makefile
@${MKDIR} ${WRKSRC}/examples/
@${MV} ${WRKSRC}/pure-stlmap/examples/* \
${WRKSRC}/pure-stlvec/examples/* ${WRKSRC}/examples/
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>