1998-12-26 08:54:56 +00:00
|
|
|
# New ports collection makefile for: Interbase 4
|
|
|
|
# Date created: 1998-nov-01
|
|
|
|
# Whom: Berend de Boer <berend@pobox.com>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-12-26 08:54:56 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= interbase
|
|
|
|
PORTVERSION= 4.0
|
1998-12-26 08:54:56 +00:00
|
|
|
CATEGORIES= databases
|
1999-11-23 02:47:43 +00:00
|
|
|
MASTER_SITES= # manual fetch
|
2000-04-08 22:49:07 +00:00
|
|
|
DISTNAME= IB_4.0_FreeBSD
|
1998-12-26 08:54:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= berend@pobox.com
|
|
|
|
|
1999-06-22 16:42:42 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-12-26 08:54:56 +00:00
|
|
|
NO_WRKSUBDIR=
|
|
|
|
NO_BUILD=
|
|
|
|
NO_FILTER_SHLIBS=
|
|
|
|
RESTRICTED= "Please get distfile manually."
|
1998-12-26 19:42:05 +00:00
|
|
|
IS_INTERACTIVE= "manual fetch"
|
1998-12-26 08:54:56 +00:00
|
|
|
|
|
|
|
IB_PATH= ${PREFIX}/interbase
|
|
|
|
ARCHIVE= ${WRKSRC}/interbase.tar
|
|
|
|
|
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTNAME}.tar.gz ]; then \
|
|
|
|
${ECHO_MSG} "Sorry, this package cannot be fetched automagically."; \
|
1999-09-30 03:52:22 +00:00
|
|
|
${ECHO_MSG} "Point your browser to http://iblinux.rios.co.jp/intl/dloadfb/."; \
|
1998-12-26 08:54:56 +00:00
|
|
|
${ECHO_MSG} "And put the package in ${DISTDIR}."; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${IB_PATH}
|
|
|
|
@[ -d ${PREFIX}/lib/aout ] || ${MKDIR} ${PREFIX}/lib/aout
|
2000-03-19 01:42:56 +00:00
|
|
|
@${CHMOD} 755 ${IB_PATH}
|
1998-12-26 08:54:56 +00:00
|
|
|
@(cd ${IB_PATH}; tar xfv ${ARCHIVE})
|
1999-08-28 01:58:05 +00:00
|
|
|
@${LN} -sf ${IB_PATH}/include/gds.h ${PREFIX}/include/gds.h
|
|
|
|
@${LN} -sf ${IB_PATH}/include/ibase.h ${PREFIX}/include/ibase.h
|
1998-12-26 08:54:56 +00:00
|
|
|
.for file in gds.a gds_pyxis.a gdslib.so.0.1 gdslib.so.1.0 gdsflib.so.0.0
|
1999-08-28 01:58:05 +00:00
|
|
|
@${LN} -sf ${IB_PATH}/lib/${file} ${PREFIX}/lib/aout/lib${file}
|
1998-12-26 08:54:56 +00:00
|
|
|
.endfor
|
1999-08-28 01:58:05 +00:00
|
|
|
@${LN} -sf ${IB_PATH}/lib/gdsintl ${PREFIX}/lib/aout/libgdsintl.so
|
|
|
|
@${LN} -sf libgdslib.so.1.0 ${PREFIX}/lib/aout/libgdslib.so
|
1998-12-26 08:54:56 +00:00
|
|
|
@${TOUCH} ${IB_PATH}/isc_event.gbl.localhost
|
2000-03-19 01:42:56 +00:00
|
|
|
@${CHMOD} 644 ${IB_PATH}/isc_event.gbl.localhost
|
1998-12-26 08:54:56 +00:00
|
|
|
@${ECHO} "Building Interbase sample databases."
|
|
|
|
@${LDCONFIG} -aout -m ${PREFIX}/lib/aout
|
|
|
|
.for file in isc4.gdb help/help.gdb examples/v3/atlas.gdb examples/v3/emp.gdb examples/v4/employee.gdb examples/v4/intlemp.gdb
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} uog=rw ${IB_PATH}/${file}
|
1998-12-26 08:54:56 +00:00
|
|
|
.endfor
|
1999-08-28 01:58:05 +00:00
|
|
|
@${LN} -sf ${IB_PATH} /usr/interbase
|
1998-12-26 08:54:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|