freebsd-ports/databases/tora/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

69 lines
2 KiB
Makefile

# New ports collection makefile for: tora
# Date created: 03 January 2002
# Whom: anders
#
# $FreeBSD$
#
PORTNAME= tora
DISTVERSION= 2.0.0
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= SF
MAINTAINER= cm@therek.net
COMMENT= Toolkit for Oracle
BUILD_DEPENDS= ${ORACLE_HOME}/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client \
cppunit-config:${PORTSDIR}/devel/cppunit
LIB_DEPENDS= qscintilla2:${PORTSDIR}/devel/qscintilla2 \
pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= ${ORACLE_HOME}/network/admin/tnsnames.ora:${PORTSDIR}/databases/oracle8-client
ORACLE_HOME?= ${LOCALBASE}/oracle8-client
ORACLE_VER= 8i # Client version
ONLY_FOR_ARCHS= i386
USE_AUTOTOOLS= aclocal:110 automake:110 autoconf:262 autoheader:262 libtool:22
USE_QT_VER= 4
QT_COMPONENTS= gui corelib sql xml network linguist moc_build uic_build rcc_build
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:U}
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
PREFIX2FIX= doc/help/preferences.texi doc/help/preferences.html
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
INFO= tora
.endif
.if !defined(WITHOUT_MYSQL)
BUILD_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt4-mysql-plugin
RUN_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt4-mysql-plugin
.endif
.if !defined(WITHOUT_PGSQL)
BUILD_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlpsql.so:${PORTSDIR}/databases/qt4-pgsql-plugin
RUN_DEPENDS+= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlpsql.so:${PORTSDIR}/databases/qt4-pgsql-plugin
.endif
run-autotools:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh)
post-patch:
.if ${OSVERSION} < 700000
${REINPLACE_CMD} -e 's|LIBS="|LIBS="-lpthread |' ${WRKSRC}/config/m4/qtkde.m4
.endif
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
.else
@${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' \
${PREFIX2FIX:S|^|${WRKSRC}/|}
.endif
.include <bsd.port.post.mk>