forked from Lainports/freebsd-ports
Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string. Implemented in C++, it does not require or make use of a python interpreter. It provides convenience and familiarity for common string operations not included in the standard C++ library. It's also useful in environments where both C++ and python are used. WWW: https://github.com/imageworks/pystring
24 lines
601 B
Makefile
24 lines
601 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pystring
|
|
PORTVERSION= 1.1.3
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Collection of C++ functions which match python's string class
|
|
|
|
USES= libtool:build
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= imageworks
|
|
MAKE_ARGS= CXX="${CXX}" \
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
LIBDIR="${STAGEDIR}${PREFIX}/lib"
|
|
USE_LDCONFIG= yes
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/pystring
|
|
${INSTALL_DATA} ${WRKSRC}/pystring.h ${STAGEDIR}${PREFIX}/include/pystring
|
|
${INSTALL_DATA} ${WRKSRC}/unittest.h ${STAGEDIR}${PREFIX}/include/pystring
|
|
|
|
.include <bsd.port.mk>
|