summaryrefslogtreecommitdiff
path: root/devel/pystring/Makefile
blob: 091b8b9234f634e3c99a6d96b2b9e7f482bfe149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>