1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/databases/dbow/Makefile
Vanilla I. Shu 6a97933ecb Support staging.
Approved by:	portmgr@
2014-05-19 07:49:32 +00:00

26 lines
590 B
Makefile

# Created by: Dermot Tynan <dtynan@kalopa.com>
# $FreeBSD$
PORTNAME= dbow
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= databases devel
MASTER_SITES= SF
MAINTAINER= dtynan@kalopa.com
COMMENT= DBOW is a database object generator for C, Perl, PHP, etc
MAKE_ENV+= MYSQL_INC=${LOCALBASE}/include/mysql \
MYSQL_LIB=${LOCALBASE}/lib/mysql
USE_MYSQL= yes
post-patch:
@${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g" \
-e "s|^MYSQL_INC=|MYSQL_INC?=|" \
-e "s|^MYSQL_LIB=|MYSQL_LIB?=|" \
${WRKSRC}/example/Makefile ${WRKSRC}/lib/Makefile \
${WRKSRC}/src/Makefile
.include <bsd.port.mk>