2001-03-10 21:32:33 +01:00
|
|
|
# New ports collection makefile for: Firebird
|
|
|
|
# Date created: 20 December 2000
|
|
|
|
# Whom: Geoffrey C. Speicher <geoff@sea-incorporated.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= firebird
|
2005-01-10 10:46:20 +01:00
|
|
|
PORTVERSION= 1.5.2
|
2001-03-10 21:32:33 +01:00
|
|
|
CATEGORIES= databases
|
2004-02-28 23:13:42 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-03-10 21:32:33 +01:00
|
|
|
MASTER_SITE_SUBDIR=firebird
|
2005-01-10 10:46:20 +01:00
|
|
|
DISTNAME= firebird-1.5.2.4731
|
2001-03-10 21:32:33 +01:00
|
|
|
|
2005-04-11 15:03:55 +02:00
|
|
|
MAINTAINER= freebsd@galle.com.br
|
2003-02-21 12:15:57 +01:00
|
|
|
COMMENT= The open-source InterBase(tm) 6.0 spin-off (Classic version)
|
2001-03-10 21:32:33 +01:00
|
|
|
|
2004-02-12 11:11:25 +01:00
|
|
|
USE_BISON= yes
|
2003-12-04 18:26:13 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-07-22 09:57:37 +02:00
|
|
|
USE_LIBTOOL_VER= 15
|
|
|
|
USE_AUTOCONF_VER= 259
|
2005-01-10 10:46:20 +01:00
|
|
|
USE_GCC= 3.4
|
2003-06-10 11:59:45 +02:00
|
|
|
|
2004-07-22 09:57:37 +02:00
|
|
|
PLIST_SUB= FIREBIRD_VERSION=${PORTVERSION}
|
|
|
|
|
2003-12-04 18:26:13 +01:00
|
|
|
# Don't use ld for linking, use gcc
|
|
|
|
LD= gcc
|
|
|
|
|
2005-02-14 18:26:19 +01:00
|
|
|
CONFLICTS= firebird-devel-[0-9]*
|
2003-12-04 18:26:13 +01:00
|
|
|
|
2005-01-10 10:46:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2001-03-10 21:32:33 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
2001-12-02 18:53:14 +01:00
|
|
|
MSG_FILE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2002-11-04 02:56:21 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-03-10 21:32:33 +01:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2001-06-18 10:14:16 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2003-01-17 05:43:17 +01:00
|
|
|
@${ECHO_MSG} "NOTE: If the work directory is on an NFS mount, you will"
|
|
|
|
@${ECHO_MSG} "require NFS client locking support for the build to"
|
|
|
|
@${ECHO_MSG} "succeed. Currently this is only available on FreeBSD 5.0"
|
|
|
|
@${ECHO_MSG} "or greater."
|
2003-12-04 18:26:13 +01:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "WARNING: The on-disk structure of the databases has"
|
|
|
|
@${ECHO_MSG} "changed since version 1.0.x."
|
|
|
|
@${ECHO_MSG} "Cancel this installation now and backup your databases"
|
|
|
|
@${ECHO_MSG} "if you have not already done so."
|
2003-01-17 05:43:17 +01:00
|
|
|
.if !defined(BATCH)
|
2003-12-04 18:26:13 +01:00
|
|
|
@sleep 10
|
2003-01-16 12:52:00 +01:00
|
|
|
.endif
|
|
|
|
|
2004-04-19 03:37:12 +02:00
|
|
|
patch-autotools:
|
2004-03-24 16:11:57 +01:00
|
|
|
@${DO_NADA}
|
|
|
|
|
|
|
|
run-autotools:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
2001-03-10 21:32:33 +01:00
|
|
|
do-configure:
|
2004-01-13 17:11:11 +01:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} MAKE=${GMAKE} \
|
2004-06-04 19:29:38 +02:00
|
|
|
${AUTOTOOLS_VARS} ./autogen.sh --prefix=${PREFIX}/firebird \
|
|
|
|
--with-lock-manager --with-editline)
|
2001-03-10 21:32:33 +01:00
|
|
|
|
|
|
|
do-build:
|
2001-12-02 18:53:14 +01:00
|
|
|
@( \
|
2003-12-04 18:26:13 +01:00
|
|
|
${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}; \
|
|
|
|
cd ${WRKSRC}; \
|
2004-01-13 17:11:11 +01:00
|
|
|
${SETENV} CC=${CC} CXX=${CXX} ${GMAKE} all; \
|
|
|
|
)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@( \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/RELNOTES ${PREFIX}/firebird; \
|
|
|
|
${CAT} ${PKGMESSAGE}; \
|
2001-03-10 21:32:33 +01:00
|
|
|
)
|
|
|
|
|
2001-06-18 10:14:16 +02:00
|
|
|
.include <bsd.port.post.mk>
|