9bb745580f
here Approved by: flz (mentor)
76 lines
1.9 KiB
Makefile
76 lines
1.9 KiB
Makefile
# New ports collection makefile for: Firebird-devel
|
|
# Date created: 03 December 2001
|
|
# Whom: Chris Knight <chris@e-easy.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= firebird
|
|
PORTVERSION= 2.0.a2
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.ramenzoni.com.br/~garga/firebird/ \
|
|
http://www.galle.com.br/~garga/firebird/ \
|
|
http://www.brainsoft.com.br/~garga/firebird/
|
|
MASTER_SITE_SUBDIR= firebird
|
|
PKGNAMESUFFIX= -devel
|
|
DISTNAME= firebird2-20050505
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= The open-source InterBase(tm) 6.0 spin-off (Classic version)
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
WANT_LIBTOOL_VER= 15
|
|
WANT_AUTOCONF_VER= 259
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= 3.4
|
|
USE_REINPLACE= yes
|
|
|
|
CONFLICTS= firebird-1.*
|
|
|
|
WRKSRC= ${WRKDIR}/firebird2
|
|
INSTALLS_SHLIB= yes
|
|
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib
|
|
SUB_FILES= pkg-message pkg-install
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not build on FreeBSD-4.x"
|
|
.endif
|
|
|
|
pre-everything::
|
|
@${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."
|
|
@${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."
|
|
.if !defined(BATCH)
|
|
@sleep 10
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,InstallPrefix/etc,${LOCALBASE}/etc,g' \
|
|
${WRKSRC}/builds/install/arch-specific/freebsd/install.sh.in
|
|
|
|
do-configure:
|
|
@(cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} MAKE=${GMAKE} \
|
|
${AUTOTOOLS_VARS} ./autogen.sh --prefix=${PREFIX}/firebird \
|
|
--with-lock-manager --with-editline)
|
|
|
|
do-build:
|
|
@( \
|
|
cd ${WRKSRC}; \
|
|
${SETENV} CC=${CC} CXX=${CXX} ${GMAKE} all; \
|
|
)
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|