Lines 6-24
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= firebird |
8 |
PORTNAME= firebird |
9 |
PORTVERSION= 0.9 |
9 |
PORTVERSION= 1.0 |
10 |
PORTREVISION= 4 |
|
|
11 |
CATEGORIES= databases |
10 |
CATEGORIES= databases |
12 |
MASTER_SITES= http://firebird.sourceforge.net/download/ \ |
11 |
MASTER_SITES= http://firebird.sourceforge.net/download/ \ |
|
|
12 |
http://www.aims.com.au/chris/ \ |
13 |
${MASTER_SITE_SOURCEFORGE} |
13 |
${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR=firebird |
14 |
MASTER_SITE_SUBDIR=firebird |
15 |
DISTFILES= firebird-boot-kit.tar.gz \ |
15 |
DISTFILES= bootkit-1.0.0.796.tar.gz \ |
|
|
16 |
bootkit-freebsd-1.0.0.796.tar.gz \ |
16 |
interbase0.9-4-v5examples.tar.gz \ |
17 |
interbase0.9-4-v5examples.tar.gz \ |
17 |
interbase0.9-4src.tar.gz |
18 |
Firebird-1.0.0.796.src.tar.gz |
18 |
|
19 |
|
19 |
MAINTAINER= chris@aims.com.au |
20 |
MAINTAINER= chris@aims.com.au |
20 |
|
21 |
|
21 |
WRKSRC= ${WRKDIR}/interbase |
22 |
WRKSRC= ${WRKDIR}/firebird-1.0.0.796 |
22 |
INSTALLS_SHLIB= yes |
23 |
INSTALLS_SHLIB= yes |
23 |
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib |
24 |
LDCONFIG_DIRS= %%PREFIX%%/firebird/lib |
24 |
MSG_FILE= ${PKGDIR}/pkg-message |
25 |
MSG_FILE= ${PKGDIR}/pkg-message |
Lines 31-39
Link Here
|
31 |
do-extract: |
32 |
do-extract: |
32 |
@${MKDIR} ${WRKDIR} |
33 |
@${MKDIR} ${WRKDIR} |
33 |
@( \ |
34 |
@( \ |
34 |
cd ${WRKDIR}; ${TAR} -xzf ${DISTDIR}/interbase0.9-4src.tar.gz; \ |
35 |
cd ${WRKDIR}; ${TAR} -zxf \ |
35 |
cd interbase; ${TAR} -xzf ${DISTDIR}/firebird-boot-kit.tar.gz; \ |
36 |
${DISTDIR}/Firebird-1.0.0.796.src.tar.gz; \ |
36 |
${CP} msgs/msg.gbak misc/msg.gbak \ |
37 |
cd firebird-1.0.0.796; \ |
|
|
38 |
${TAR} -zxf ${DISTDIR}/bootkit-1.0.0.796.tar.gz; \ |
39 |
${TAR} -zxf ${DISTDIR}/bootkit-freebsd-1.0.0.796.tar.gz; \ |
40 |
${CP} -f msgs/msg.gbak misc/msg.gbak \ |
37 |
) |
41 |
) |
38 |
|
42 |
|
39 |
post-patch: |
43 |
post-patch: |
Lines 47-57
Link Here
|
47 |
|
51 |
|
48 |
do-configure: |
52 |
do-configure: |
49 |
@( \ |
53 |
@( \ |
50 |
cd ${WRKDIR}/interbase; \ |
54 |
cd ${WRKDIR}/firebird-1.0.0.796; \ |
51 |
INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ |
55 |
INTERBASE=${WRKDIR}/firebird-1.0.0.796/interbase; export INTERBASE; \ |
52 |
REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ |
56 |
REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ |
53 |
${SH} buildBootDatabases; \ |
57 |
${SH} buildBootDatabases; \ |
54 |
${SH} setup_dirs.boot FREEBSD PROD ${WRKDIR}/refDatabases boot; \ |
58 |
NOPROMPT_SETUP=yes; export NOPROMPT_SETUP; \ |
|
|
59 |
FIREBIRD_64_BIT_IO=yes; export FIREBIRD_64_BIT_IO; \ |
60 |
${CAT} builds_win32/original/build_no.ksh | ${TR} -d '\r' \ |
61 |
> builds_win32/original/build_no.ksh.fix; \ |
62 |
${MV} -f builds_win32/original/build_no.ksh.fix \ |
63 |
builds_win32/original/build_no.ksh; \ |
64 |
${SH} Configure.sh PROD FREEBSD; \ |
55 |
) |
65 |
) |
56 |
|
66 |
|
57 |
do-build: |
67 |
do-build: |
Lines 60-74
Link Here
|
60 |
'[ -d ${LDCONFIG_RUNLIST} ] && ${LDCONFIG} -m ${LDCONFIG_RUNLIST}'; \ |
70 |
'[ -d ${LDCONFIG_RUNLIST} ] && ${LDCONFIG} -m ${LDCONFIG_RUNLIST}'; \ |
61 |
) > ${WRKDIR}/000.${PORTNAME}.sh |
71 |
) > ${WRKDIR}/000.${PORTNAME}.sh |
62 |
@( \ |
72 |
@( \ |
63 |
cd ${WRKDIR}/interbase; \ |
73 |
${LN} -sf ${WRKDIR}/refDatabases/jrd/isc.gdb \ |
64 |
INTERBASE=${WRKDIR}/interbase/interbase; export INTERBASE; \ |
74 |
${WRKDIR}/firebird-1.0.0.796/interbase/isc4.gdb; \ |
|
|
75 |
${LN} -sf ${WRKDIR}/refDatabases/msgs/msg.gdb \ |
76 |
${WRKDIR}/firebird-1.0.0.796/msg.gdb; \ |
77 |
cd ${WRKDIR}/firebird-1.0.0.796; \ |
78 |
INTERBASE=${WRKDIR}/firebird-1.0.0.796/interbase; export INTERBASE; \ |
65 |
REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ |
79 |
REFDBPATH=${WRKDIR}/refDatabases; export REFDBPATH; \ |
66 |
${SH} boot.freebsd; \ |
80 |
${SH} boot.freebsd; \ |
67 |
) |
81 |
) |
68 |
|
82 |
|
69 |
do-install: |
83 |
do-install: |
70 |
@( \ |
84 |
@( \ |
71 |
cd ${WRKDIR}/interbase; \ |
85 |
cd ${WRKDIR}/firebird-1.0.0.796; \ |
|
|
86 |
${RM} ${WRKDIR}/firebird-1.0.0.796/interbase/isc4_tmp.gdb; \ |
87 |
${CP} /dev/null interbase/interbase.log; \ |
72 |
${CP} -Rp interbase ${PREFIX}/firebird; \ |
88 |
${CP} -Rp interbase ${PREFIX}/firebird; \ |
73 |
${RM} ${PREFIX}/firebird/install; \ |
89 |
${RM} ${PREFIX}/firebird/install; \ |
74 |
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \ |
90 |
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \ |