import ports/devel/pystring, from Dimitri Karamazov, ok on earlier versions

daniel@ op@, spelling tweak by me

Pystring is a collection of C++ functions which match the interface and
behavior of python's string class methods using std::string.
This commit is contained in:
sthen 2022-03-02 16:20:01 +00:00
parent 4a400f7546
commit 46038c301e
4 changed files with 40 additions and 0 deletions

31
devel/pystring/Makefile Normal file
View File

@ -0,0 +1,31 @@
COMMENT = C++ functions analogous to Python string methods
GH_ACCOUNT = imageworks
GH_PROJECT = pystring
GH_TAGNAME = v1.1.3
SHARED_LIBS += pystring 0.0 # 0.0
CATEGORIES = devel
MAINTAINER = Dimitri Karamazov <deserter666@danwin1210.me>
# BSD
PERMIT_PACKAGE =Yes
WANTLIB += ${COMPILER_LIBCXX} m
COMPILER = base-clang ports-gcc
MAKE_FLAGS = CXX=${CXX} \
CXXFLAGS="${CXXFLAGS}"
FAKE_FLAGS = LIBDIR="${DESTDIR}${PREFIX}/lib"
USE_GMAKE = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/pystring
${INSTALL_DATA} ${WRKSRC}/pystring.h ${PREFIX}/include/pystring
.include <bsd.port.mk>

2
devel/pystring/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (pystring-1.1.3.tar.gz) = NYpW51bnAYNraaMcddPZ1Bw01EfPezd1u9ViDc0yA9k=
SIZE (pystring-1.1.3.tar.gz) = 18364

2
devel/pystring/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Pystring is a collection of C++ functions which match the interface and
behavior of python's string class methods using std::string.

5
devel/pystring/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
include/pystring/
include/pystring/pystring.h
@static-lib lib/libpystring.a
lib/libpystring.la
@lib lib/libpystring.so.${LIBpystring_VERSION}