freebsd-ports/databases/mysqlcppapi/Makefile
Jimmy Olgeni 76c7f8fbe6 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-10 07:39:01 +00:00

31 lines
812 B
Makefile

# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
# $FreeBSD$
PORTNAME= mysqlcppapi
PORTVERSION= 1.9.3
PORTREVISION= 3
CATEGORIES= databases devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%202/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fork of mysql++ C++ API for MySQL
USE_AUTOTOOLS= libtool
USE_MYSQL= yes
USES= pathfix pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
USE_LDCONFIG= yes
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
-exec ${REINPLACE_CMD} -e \
'/^library_includedir =/s,\$$(GENERIC_LIBRARY_NAME)-2.0/,,g' '{}' \;
.include <bsd.port.mk>