summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-06-05 12:30:24 +0000
committermbr <mbr@FreeBSD.org>2002-06-05 12:30:24 +0000
commitf6868c0ba4dcacade288a6ef42a9d122e83fc497 (patch)
tree671125c56b6c3094e34c0465537d0fafe07eb284 /editors
parentc54ff5f29bfedc1af71a840c0954d38e506170a5 (diff)
downloadFreeBSD-ports-f6868c0ba4dcacade288a6ef42a9d122e83fc497.zip
FreeBSD-ports-f6868c0ba4dcacade288a6ef42a9d122e83fc497.tar.gz
Use USE_GCC as in bsd.ports.mk proposed.
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/Makefile56
-rw-r--r--editors/openoffice-1.0/distinfo6
-rw-r--r--editors/openoffice.org-1.0/Makefile56
-rw-r--r--editors/openoffice.org-1.0/distinfo6
-rw-r--r--editors/openoffice/Makefile56
-rw-r--r--editors/openoffice/distinfo6
6 files changed, 90 insertions, 96 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile
index e8cd7fc..7a0a03a 100644
--- a/editors/openoffice-1.0/Makefile
+++ b/editors/openoffice-1.0/Makefile
@@ -19,14 +19,22 @@ DISTFILES= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
-DISTFILES+= oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-DISTFILES+= oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2
MAINTAINER= mbr@FreeBSD.org
-.if ${OSVERSION} < 500000 && !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if ${OSVERSION} < 500000 && !defined(USE_GCC)
BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
@@ -43,12 +51,19 @@ EXTRACT_BEFORE_ARGS_R= -dc
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
.if ${OSVERSION} > 500000
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
-GCC_VERSION!= ${CC} --version
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
JAVAVM= ${JDK13DIR}/bin/java
@@ -64,41 +79,22 @@ CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
CONFIGURE_ARGS+= --with-jdk-home=${JDK13DIR} \
--with-os-version=${OSVERSION}
-.if ${OSVERSION} < 500000
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX}
.endif
-.else
-CONFIGURE_ARGS+= --enable-gcc3
-MAKE_ENV= CC=${CC} CXX=${CXX} CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${CC} CXX=${CXX}
-.endif
-
-.if defined(USEPORTGCC295)
-MAKE_ENV= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295 CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295
-.endif
-
-.if defined(USEPORTGCC31)
-MAKE_ENV= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31 CFLAGS=${CFLAGS}
-CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31
-.endif
-.if defined(USEPORTGCC32)
-MAKE_ENV= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32 CFLAGS=${CFLAGS}
+.if defined(USE_GCC) && (${USE_GCC} == 3.1 || ${USE_GCC} == 3.2)
CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32
.endif
pre-fetch:
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
@${ECHO}
@${ECHO} You can compile openoffice with different
@${ECHO} gcc compiler versions:
@${ECHO}
- @${ECHO} Use: USEPORTGCC295=YES, USEPORTGCC31=YES and
- @${ECHO} USEPORTGCC32=YES to compile openoffice with your
+ @${ECHO} Use: USE_GCC=2.95 or USE_GCC=3.1
+ @${ECHO} to compile openoffice with your
@${ECHO} prefered compiler.
@${ECHO}
.endif
diff --git a/editors/openoffice-1.0/distinfo b/editors/openoffice-1.0/distinfo
index d090a04..a9358fa 100644
--- a/editors/openoffice-1.0/distinfo
+++ b/editors/openoffice-1.0/distinfo
@@ -1,4 +1,6 @@
MD5 (OOo_1.0.0_source.tar.bz2) = f5dbcf74a3b025280a2afd3e5913da16
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
-MD5 (oo_moz1.0RC2_i386_FreeBSD-4.tar.gz) = e3299d7a18d60a259cb971034595043f
-MD5 (oo_moz1.0RC3_i386_FreeBSD-5.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc2.95-system.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc3.1-ports.tar.gz) = 4993406846423df6c6b75e377f84d25e
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc2.95-ports.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc3.1-system.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index e8cd7fc..7a0a03a 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/Makefile
@@ -19,14 +19,22 @@ DISTFILES= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
-DISTFILES+= oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-DISTFILES+= oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2
MAINTAINER= mbr@FreeBSD.org
-.if ${OSVERSION} < 500000 && !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if ${OSVERSION} < 500000 && !defined(USE_GCC)
BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
@@ -43,12 +51,19 @@ EXTRACT_BEFORE_ARGS_R= -dc
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
.if ${OSVERSION} > 500000
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
-GCC_VERSION!= ${CC} --version
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
JAVAVM= ${JDK13DIR}/bin/java
@@ -64,41 +79,22 @@ CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
CONFIGURE_ARGS+= --with-jdk-home=${JDK13DIR} \
--with-os-version=${OSVERSION}
-.if ${OSVERSION} < 500000
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX}
.endif
-.else
-CONFIGURE_ARGS+= --enable-gcc3
-MAKE_ENV= CC=${CC} CXX=${CXX} CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${CC} CXX=${CXX}
-.endif
-
-.if defined(USEPORTGCC295)
-MAKE_ENV= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295 CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295
-.endif
-
-.if defined(USEPORTGCC31)
-MAKE_ENV= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31 CFLAGS=${CFLAGS}
-CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31
-.endif
-.if defined(USEPORTGCC32)
-MAKE_ENV= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32 CFLAGS=${CFLAGS}
+.if defined(USE_GCC) && (${USE_GCC} == 3.1 || ${USE_GCC} == 3.2)
CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32
.endif
pre-fetch:
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
@${ECHO}
@${ECHO} You can compile openoffice with different
@${ECHO} gcc compiler versions:
@${ECHO}
- @${ECHO} Use: USEPORTGCC295=YES, USEPORTGCC31=YES and
- @${ECHO} USEPORTGCC32=YES to compile openoffice with your
+ @${ECHO} Use: USE_GCC=2.95 or USE_GCC=3.1
+ @${ECHO} to compile openoffice with your
@${ECHO} prefered compiler.
@${ECHO}
.endif
diff --git a/editors/openoffice.org-1.0/distinfo b/editors/openoffice.org-1.0/distinfo
index d090a04..a9358fa 100644
--- a/editors/openoffice.org-1.0/distinfo
+++ b/editors/openoffice.org-1.0/distinfo
@@ -1,4 +1,6 @@
MD5 (OOo_1.0.0_source.tar.bz2) = f5dbcf74a3b025280a2afd3e5913da16
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
-MD5 (oo_moz1.0RC2_i386_FreeBSD-4.tar.gz) = e3299d7a18d60a259cb971034595043f
-MD5 (oo_moz1.0RC3_i386_FreeBSD-5.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc2.95-system.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc3.1-ports.tar.gz) = 4993406846423df6c6b75e377f84d25e
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc2.95-ports.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc3.1-system.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile
index e8cd7fc..7a0a03a 100644
--- a/editors/openoffice/Makefile
+++ b/editors/openoffice/Makefile
@@ -19,14 +19,22 @@ DISTFILES= OOo_${PORTVERSION}_source.tar.bz2 gpc231.tar.Z
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
-DISTFILES+= oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-DISTFILES+= oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+DISTFILES+= oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
EXTRACT_ONLY= OOo_${PORTVERSION}_source.tar.bz2
MAINTAINER= mbr@FreeBSD.org
-.if ${OSVERSION} < 500000 && !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if ${OSVERSION} < 500000 && !defined(USE_GCC)
BUILD_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
.endif
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
@@ -43,12 +51,19 @@ EXTRACT_BEFORE_ARGS_R= -dc
EXTRACT_AFTER_ARGS_R= | ${TAR} -xf -
EXTRACT_CMD_R= ${GZIP_CMD}
.if ${OSVERSION} > 500000
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_i386_FreeBSD-5.tar.gz
+.if defined(USE_GCC) && ${USE_GCC} == 2.95
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc2.95-ports.tar.gz
.else
-EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC2_i386_FreeBSD-4.tar.gz
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-5-gcc3.1-system.gz
+.endif
+.else
+.if defined(USE_GCC) && ${USE_GCC} == 3.1
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc3.1-ports.tar.gz
+.else
+EXTRACT_REST= gpc231.tar.Z oo_moz1.0RC3_${ARCH}_FreeBSD-4-gcc2.95-system.tar.gz
+.endif
.endif
-GCC_VERSION!= ${CC} --version
JDK13DIR?= ${LOCALBASE}/jdk1.3.1
JAVAVM= ${JDK13DIR}/bin/java
@@ -64,41 +79,22 @@ CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
CONFIGURE_ARGS+= --with-jdk-home=${JDK13DIR} \
--with-os-version=${OSVERSION}
-.if ${OSVERSION} < 500000
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
CONFIGURE_ARGS+= --with-stlport4-home=${PREFIX}
.endif
-.else
-CONFIGURE_ARGS+= --enable-gcc3
-MAKE_ENV= CC=${CC} CXX=${CXX} CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${CC} CXX=${CXX}
-.endif
-
-.if defined(USEPORTGCC295)
-MAKE_ENV= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295 CFLAGS=${CFLAGS}
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc295 CXX=${PREFIX}/bin/g++295
-.endif
-
-.if defined(USEPORTGCC31)
-MAKE_ENV= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31 CFLAGS=${CFLAGS}
-CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc31 CXX=${PREFIX}/bin/g++31
-.endif
-.if defined(USEPORTGCC32)
-MAKE_ENV= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32 CFLAGS=${CFLAGS}
+.if defined(USE_GCC) && (${USE_GCC} == 3.1 || ${USE_GCC} == 3.2)
CONFIGURE_ARGS+= --enable-gcc3
-CONFIGURE_ENV+= CC=${PREFIX}/bin/gcc32 CXX=${PREFIX}/bin/g++32
.endif
pre-fetch:
-.if !defined(USEPORTGCC295) && !defined(USEPORTGCC31) && !defined(USEPORTGCC32)
+.if !defined(USE_GCC)
@${ECHO}
@${ECHO} You can compile openoffice with different
@${ECHO} gcc compiler versions:
@${ECHO}
- @${ECHO} Use: USEPORTGCC295=YES, USEPORTGCC31=YES and
- @${ECHO} USEPORTGCC32=YES to compile openoffice with your
+ @${ECHO} Use: USE_GCC=2.95 or USE_GCC=3.1
+ @${ECHO} to compile openoffice with your
@${ECHO} prefered compiler.
@${ECHO}
.endif
diff --git a/editors/openoffice/distinfo b/editors/openoffice/distinfo
index d090a04..a9358fa 100644
--- a/editors/openoffice/distinfo
+++ b/editors/openoffice/distinfo
@@ -1,4 +1,6 @@
MD5 (OOo_1.0.0_source.tar.bz2) = f5dbcf74a3b025280a2afd3e5913da16
MD5 (gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
-MD5 (oo_moz1.0RC2_i386_FreeBSD-4.tar.gz) = e3299d7a18d60a259cb971034595043f
-MD5 (oo_moz1.0RC3_i386_FreeBSD-5.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc2.95-system.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-4-gcc3.1-ports.tar.gz) = 4993406846423df6c6b75e377f84d25e
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc2.95-ports.tar.gz) = e3299d7a18d60a259cb971034595043f
+MD5 (oo_moz1.0RC3_i386_FreeBSD-5-gcc3.1-system.tar.gz) = fcaca48d9e88bfd41431b52477f2b3b1
OpenPOWER on IntegriCloud