blob: b4e41b29e22d2ba30fe0d2bcdfcccbc30a4e3f64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# New ports collection makefile for: dbow
# Date created: 24 March 2004
# Whom: 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
MAN1= dbow.1
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>
|