diff options
author | will <will@FreeBSD.org> | 2001-03-11 04:32:33 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-03-11 04:32:33 +0800 |
commit | 90cf324e21b261a54b09cbe7bf637016209d59f8 (patch) | |
tree | 875f3b3152c45a09eb0a812021efd6483d0f3a16 /databases/firebird-server/Makefile | |
parent | 3cc5e550ea26894688b989728c6e306ad0ebbb76 (diff) | |
download | freebsd-ports-gnome-90cf324e21b261a54b09cbe7bf637016209d59f8.tar.gz freebsd-ports-gnome-90cf324e21b261a54b09cbe7bf637016209d59f8.tar.zst freebsd-ports-gnome-90cf324e21b261a54b09cbe7bf637016209d59f8.zip |
Add firebird 0.9, the open-source InterBase(tm) 6.0 spin-off
(Classic version).
PR: 24313
Submitted by: Geoffrey C. Speicher <geoff@sea-incorporated.com>
Diffstat (limited to 'databases/firebird-server/Makefile')
-rw-r--r-- | databases/firebird-server/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile new file mode 100644 index 000000000000..02cbff7bc2e9 --- /dev/null +++ b/databases/firebird-server/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: Firebird +# Date created: 20 December 2000 +# Whom: Geoffrey C. Speicher <geoff@sea-incorporated.com> +# +# $FreeBSD$ +# + +PORTNAME= firebird +PORTVERSION= 0.9 +PORTREVISION= 4 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=firebird +DISTFILES= firebird-boot-kit.tar.gz \ + interbase0.9-4-v5examples.tar.gz \ + interbase0.9-4src.tar.gz + +MAINTAINER= geoff@sea-incorporated.com + +WRKSRC= ${WRKDIR}/interbase +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/firebird/lib + +ONLY_FOR_ARCHS= i386 + +do-extract: + @${MKDIR} ${WRKDIR} + @( \ + cd ${WRKDIR}; tar zxf ${DISTDIR}/interbase0.9-4src.tar.gz; \ + cd interbase; tar zxf ${DISTDIR}/firebird-boot-kit.tar.gz; \ + ${CP} msgs/msg.gbak misc/msg.gbak \ + ) + +do-configure: + @( \ + cd ${WRKDIR}/interbase; \ + INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ + REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ + ${SH} buildBootDatabases; \ + ${SH} setup_dirs.boot FREEBSD PROD ${WRKDIR}/refDatabases boot; \ + ) + +do-build: + @( \ + cd ${WRKDIR}/interbase; \ + INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ + REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ + ${SH} boot.freebsd; \ + ) + +do-install: + @( \ + cd ${WRKDIR}/interbase; \ + ${CP} -Rp interbase ${PREFIX}/firebird; \ + ${RM} ${PREFIX}/firebird/install; \ + ${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \ + ${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \ + cd ${PREFIX}/firebird/examples; \ + tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \ + ${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \ + ) + +.include <bsd.port.mk> |