2004-04-10 18:06:00 +00:00
|
|
|
# New ports collection makefile for: xbsql
|
|
|
|
# Date created: Nov 22, 2003
|
|
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xbsql
|
|
|
|
PORTVERSION= 0.11
|
2007-10-17 10:13:01 +00:00
|
|
|
PORTREVISION= 2
|
2004-04-10 18:06:00 +00:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.rekallrevealed.org/packages/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= An SQL wrapper for the XBase DBMS library
|
|
|
|
|
|
|
|
LIB_DEPENDS= xbase-2.0.0:${PORTSDIR}/databases/xbase
|
|
|
|
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-10-17 10:13:01 +00:00
|
|
|
USE_BISON= build
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-14 22:55:18 +00:00
|
|
|
USE_LDCONFIG= yes
|
2009-11-22 19:49:43 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2004-04-10 18:06:00 +00:00
|
|
|
|
|
|
|
LB2FIX= Makefile.in test/Makefile.in xbsql/Makefile.in
|
|
|
|
|
|
|
|
PORTDOCS= chap1.html chap2.html chap3.html chap4.html chap5.html \
|
|
|
|
chap6.html chap7.html index.html
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for mkin in ${LB2FIX}
|
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${mkin}
|
|
|
|
.endfor
|
2009-03-21 18:56:07 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|T_DIVIDE|&S|" ${WRKSRC}/xbsql/xbsql.y \
|
|
|
|
${WRKSRC}/xbsql/lex.yy.c
|
2004-04-10 18:06:00 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
|
|
test: install
|
|
|
|
@${ECHO_MSG} "Please be patient!"
|
|
|
|
(cd ${WRKSRC}/test; \
|
|
|
|
./runtests S001_basic.xql S002_big.pl S004_cross_fast.sh S004_cross_slow.sh; \
|
|
|
|
ls -l *.diff)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|