2003-11-09 15:11:29 +01:00
|
|
|
# New ports collection makefile for: OpenOffice.org
|
2004-04-10 01:16:42 +02:00
|
|
|
# Date created: 28 February 2002
|
2000-08-24 21:29:31 +02:00
|
|
|
# Whom: Martin Blapp
|
1999-12-09 18:08:31 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-10-16 21:23:34 +02:00
|
|
|
PORTNAME= openoffice
|
2004-11-23 02:47:05 +01:00
|
|
|
PORTVERSION= 2.0.${SNAPDATE}
|
2002-10-19 00:41:42 +02:00
|
|
|
CATEGORIES+= editors
|
2004-04-10 23:16:09 +02:00
|
|
|
MASTER_SITES+= ${MASTER_SITE_LOCAL} \
|
2002-10-19 00:41:42 +02:00
|
|
|
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
|
2004-11-23 02:44:10 +01:00
|
|
|
${MASTER_SITE_MOZILLA:S,%SUBDIR%,mozilla/releases/mozilla1.7b/src/&,}:mozsrc \
|
2004-08-12 07:46:05 +02:00
|
|
|
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/:help
|
2004-04-10 23:16:09 +02:00
|
|
|
MASTER_SITE_SUBDIR= maho/openoffice.org
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
DISTFILES+= OOo_${RELEASE_NR}m${MILESTONE}_source.tar.bz2 gpc231.tar.Z:gpc
|
|
|
|
EXTRACT_ONLY= OOo_${RELEASE_NR}m${MILESTONE}_source.tar.bz2
|
1999-12-09 18:08:31 +01:00
|
|
|
|
2004-04-10 01:16:42 +02:00
|
|
|
MAINTAINER= openoffice@FreeBSD.org
|
2004-11-23 02:44:10 +01:00
|
|
|
COMMENT?= Integrated wordprocessor/dbase/spreadheet/drawing/chart/browser(developer version)
|
2002-10-19 00:41:42 +02:00
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
SNAPDATE= 20050110
|
2004-08-12 07:46:05 +02:00
|
|
|
NO_LATEST_LINK= yes
|
2004-10-25 14:39:25 +02:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
MOZILLA_PROJECT= cws_srx645_mozooo.20041016.tar.gz
|
|
|
|
MOZILLA_SOURCE= mozilla-source-1.7b-source.tar.gz
|
|
|
|
.if !defined(WITHOUT_MOZILLA)
|
2004-11-23 04:31:03 +01:00
|
|
|
DISTFILES+= ${MOZILLA_PROJECT} ${MOZILLA_SOURCE}:mozsrc
|
2004-10-25 14:39:25 +02:00
|
|
|
USE_GNOME+= orbit gtk12
|
|
|
|
.endif
|
|
|
|
|
2004-08-12 07:46:05 +02:00
|
|
|
USE_PERL5= yes
|
2004-11-23 02:44:10 +01:00
|
|
|
#USE_BISON= yes #this bison should be later than bison1.875a
|
2004-08-12 07:46:05 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_BZIP2= yes
|
2004-10-25 14:39:25 +02:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_JAVA)
|
2004-11-06 13:12:01 +01:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
|
|
|
JAVA_BUILD= jdk
|
2004-10-25 14:39:25 +02:00
|
|
|
.endif
|
2004-06-14 01:57:01 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include <${FILESDIR}/Makefile.localized>
|
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
|
|
|
|
BROKEN= "rtld depends on _end symbol. type make -DBROKEN to see how to upgrade your rtld"
|
|
|
|
.endif
|
2004-08-12 07:46:05 +02:00
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
CODELINE= 680
|
|
|
|
RELEASE_NR= 1.9
|
|
|
|
MILESTONE= 71
|
|
|
|
INSTALLATION_BASEDIR= openoffice.org${RELEASE_NR}m${MILESTONE}
|
|
|
|
EXECBASE= openoffice.org-${RELEASE_NR}m${MILESTONE}
|
|
|
|
DIST_SUBDIR= openoffice2.0
|
|
|
|
SIMPLEOSVER!= ${UNAME} -r | ${SED} -e 's/\.//g' | ${SED} -e 's/-.*//'
|
|
|
|
PACKAGE_BASENAME= OOo_${RELEASE_NR}m${MILESTONE}_${OPSYS}${SIMPLEOSVER}Intel
|
|
|
|
|
|
|
|
LOCALIZED_LANG?= en-US
|
|
|
|
# FIXME (Somehow INDEX build fails)
|
|
|
|
.if defined(LANG_PKGNAME)
|
|
|
|
PKGNAMEPREFIX= ${LANG_PKGNAME}-
|
2004-10-25 14:39:25 +02:00
|
|
|
.endif
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.if defined(LANG_SUFFIX)
|
|
|
|
PKGNAMESUFFIX?= -${LANG_SUFFIX}
|
2004-06-14 01:57:01 +02:00
|
|
|
.endif
|
2004-04-10 01:16:42 +02:00
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
|
|
|
|
# FIXME (correctly add ccache before gcc and g++)
|
2004-08-12 07:46:05 +02:00
|
|
|
.if defined(WITH_CCACHE)
|
|
|
|
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
CC= ccache gcc-ooo
|
|
|
|
CXX= ccache g++-ooo
|
2004-06-14 01:57:01 +02:00
|
|
|
.else
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
CC= gcc-ooo
|
|
|
|
CXX= g++-ooo
|
2004-06-14 01:57:01 +02:00
|
|
|
.endif
|
2004-10-25 14:39:25 +02:00
|
|
|
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
2004-08-12 07:46:05 +02:00
|
|
|
unzip:${PORTSDIR}/archivers/unzip \
|
|
|
|
gcp:${PORTSDIR}/sysutils/coreutils \
|
2004-11-23 02:44:10 +01:00
|
|
|
epm:${PORTSDIR}/devel/epm \
|
2004-10-25 14:39:25 +02:00
|
|
|
gpatch:${PORTSDIR}/devel/patch \
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
xmkmf:${X_IMAKE_PORT} \
|
2004-08-12 07:46:05 +02:00
|
|
|
${X11BASE}/lib/libXft.so:${PORTSDIR}/x11-fonts/libXft \
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
|
|
|
|
bison-devel:${PORTSDIR}/devel/bison-devel
|
2004-04-10 01:16:42 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
mng.1:${PORTSDIR}/graphics/libmng \
|
2005-01-13 02:01:44 +01:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
IDL-2.0:${PORTSDIR}/devel/libIDL
|
2004-10-25 14:39:25 +02:00
|
|
|
.if defined(WITHOUT_JAVA)
|
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt
|
|
|
|
.else
|
|
|
|
BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
|
|
|
|
.endif
|
2002-03-01 00:36:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-08-12 07:46:05 +02:00
|
|
|
USE_AUTOCONF_VER= 259
|
|
|
|
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
|
2004-08-12 07:46:05 +02:00
|
|
|
ANT?= ${LOCALBASE}/bin/ant
|
|
|
|
TCSH?= /bin/tcsh
|
|
|
|
ZIP?= ${PREFIX}/bin/zip
|
|
|
|
UNZIP?= ${PREFIX}/bin/unzip
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
NUMOFPROCESSES?= 8
|
2003-09-09 14:39:05 +02:00
|
|
|
|
2004-10-25 14:39:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch
|
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.include <${FILESDIR}/Makefile.knobs>
|
2002-10-19 00:41:42 +02:00
|
|
|
|
2004-08-12 07:46:05 +02:00
|
|
|
pre-everything::
|
2004-10-25 14:39:25 +02:00
|
|
|
# really tweak, extremely useful when you build all localized language versions
|
2004-08-12 07:46:05 +02:00
|
|
|
# needed after when you build with ALL_LOCALIZED_LANGS.
|
|
|
|
.if defined(TWEAK_L10N)
|
|
|
|
@${RM} -f ${WRKDIR}/.PLIST*
|
|
|
|
@${RM} -f ${WRKDIR}/.install_done.*
|
|
|
|
@${RM} -f ${WRKDIR}/.package_done.*
|
|
|
|
@${RM} -f ${WRKDIR}/.extract_done.*
|
|
|
|
@${RM} -f ${WRKDIR}/.patch_done.*
|
|
|
|
@${RM} -f ${WRKDIR}/.configure_done.*
|
|
|
|
@${RM} -f ${WRKDIR}/.build_done.*
|
|
|
|
@${TOUCH} ${EXTRACT_COOKIE}
|
|
|
|
@${TOUCH} ${PATCH_COOKIE}
|
|
|
|
@${TOUCH} ${CONFIGURE_COOKIE}
|
|
|
|
@${TOUCH} ${BUILD_COOKIE}
|
|
|
|
.endif
|
1999-12-09 18:08:31 +01:00
|
|
|
|
2002-03-01 00:36:03 +01:00
|
|
|
post-extract:
|
2005-01-16 10:03:45 +01:00
|
|
|
.if defined(WITH_TTF_BYTECODE_ENABLED)
|
|
|
|
@cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/optpatch-freetype
|
|
|
|
.endif
|
2004-08-12 07:46:05 +02:00
|
|
|
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
|
2004-10-25 14:39:25 +02:00
|
|
|
@${CP} ${WRKDIR}/gpc231/gpc.c ${WRKSRC}/external/gpc/
|
|
|
|
@${CP} ${WRKDIR}/gpc231/gpc.h ${WRKSRC}/external/gpc/
|
|
|
|
.if !defined(WITHOUT_MOZILLA)
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@cd ${WRKSRC} ; ${MV} moz moz.old ; ${TAR} xfz ${DISTDIR}/${DIST_SUBDIR}/${MOZILLA_PROJECT} ; ${PATCH} < ${FILESDIR}/moz-patch
|
|
|
|
@${MKDIR} ${WRKSRC}/moz/download
|
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${MOZILLA_SOURCE} ${WRKSRC}/moz/download
|
|
|
|
@cd ${WRKSRC} ; ${MV} moz moz.runtime ; ${MV} moz.old moz
|
2002-10-19 00:41:42 +02:00
|
|
|
.endif
|
|
|
|
|
2004-10-25 14:39:25 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' ${WRKSRC}/odk/settings/settings.mk
|
|
|
|
@${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+g' ${WRKSRC}/odk/settings/settings.mk
|
2004-08-12 07:46:05 +02:00
|
|
|
|
2002-03-01 00:36:03 +01:00
|
|
|
do-build:
|
2004-10-25 14:39:25 +02:00
|
|
|
@cd ${WRKSRC} ; ./bootstrap
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
#DEFAULT_TO_ENGLISH_FOR_PACKING=yes, see #iz 35659, 34269 and 36708
|
2004-10-25 14:39:25 +02:00
|
|
|
.if !defined(WITHOUT_MOZILLA)
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@cd ${WRKSRC}/moz.runtime ; ${SETENV} "BUILD_MOZAB=TRUE" ${TCSH} -c 'source ../FreeBSDEnv.Set ; build.pl ; dmake zip' ; ${CP} unxfbsd.pro/zipped/FREEBSD*.zip ../moz/zipped
|
2002-10-19 00:41:42 +02:00
|
|
|
.endif
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@cd ${WRKSRC} ; ${SETENV} "DEFAULT_TO_ENGLISH_FOR_PACKING=yes" ${TCSH} -c 'source FreeBSDEnv.Set ; dmake -P${NUMOFPROCESSES}'
|
2002-10-19 00:41:42 +02:00
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
OOOFILES1= openofficeorg-calc.sw openofficeorg-core.sw openofficeorg-draw.sw openofficeorg-graphicfilter.sw
|
|
|
|
OOOFILES2= openofficeorg-impress.sw openofficeorg-javafilter.sw openofficeorg-mailcap.sw
|
|
|
|
OOOFILES3= openofficeorg-math.sw openofficeorg-spellcheck.sw openofficeorg-testtool.sw
|
|
|
|
OOOFILES4= openofficeorg-writer.sw openofficeorg-xsltfilter.sw
|
1999-12-09 18:08:31 +01:00
|
|
|
|
2002-03-01 00:36:03 +01:00
|
|
|
do-install:
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@${RM} -Rf ${WRKDIR}/tmp
|
|
|
|
@${MKDIR} ${WRKDIR}/tmp
|
|
|
|
.for i in ${OOOFILES1} ${OOOFILES2} ${OOOFILES3} ${OOOFILES4}
|
|
|
|
@${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/${i} ${WRKDIR}/tmp
|
|
|
|
.endfor
|
|
|
|
.for i in ${OOOFILES1} ${OOOFILES2} ${OOOFILES3} ${OOOFILES4}
|
|
|
|
@cd ${WRKDIR}/tmp ; ${TAR} xf ${WRKDIR}/tmp/${i}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
|
|
|
|
@cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
|
2002-10-19 00:41:42 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO_MSG} "===> Add wrapper scripts";
|
2003-09-17 06:06:28 +02:00
|
|
|
@${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/
|
2004-06-14 01:57:01 +02:00
|
|
|
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
|
2003-09-17 06:06:28 +02:00
|
|
|
-e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' \
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
-e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \
|
2004-06-14 01:57:01 +02:00
|
|
|
${WRKDIR}/openoffice-wrapper
|
2003-09-21 09:04:53 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
${PREFIX}/bin/${EXECBASE}
|
2005-01-16 09:51:17 +01:00
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/openoffice.org
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-sagenda
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-scalc
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-sdraw
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-setup
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-sfax
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-smath
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-simpress
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-sweb
|
|
|
|
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter
|
|
|
|
@cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} > ${TMPPLIST}
|
|
|
|
@cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST}
|
2004-08-12 07:46:05 +02:00
|
|
|
@cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} -type f >> ${TMPPLIST}
|
|
|
|
@cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} -type l >> ${TMPPLIST}
|
|
|
|
@cd ${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} -type d > ${WRKDIR}/dir.tmp
|
2002-10-19 00:41:42 +02:00
|
|
|
@${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST}
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
|
|
|
|
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
|
|
|
|
-e 's#%%INSTALLATION_BASEDIR%%#${INSTALLATION_BASEDIR}#g' \
|
|
|
|
-e 's#%%EXECBASE%%#${EXECBASE}#g' \
|
|
|
|
-e 's#%%MILESTONE%%#${MILESTONE}#g' \
|
|
|
|
-e 's#%%RELEASE_NR%%#${RELEASE_NR}#g' \
|
|
|
|
${PKGMESSAGE}
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO_CMD}
|
2002-10-19 00:41:42 +02:00
|
|
|
|
|
|
|
package-rename:
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@${ECHO_MSG} "===> Rename package for OpenOffice.org mirror upload";
|
2004-04-10 01:16:42 +02:00
|
|
|
@${MV} ${PKGFILE} \
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
${WRKDIR}/../${PACKAGE_BASENAME}_install_${LOCALIZED_LANG}${PKG_SUFX}
|
1999-12-09 18:08:31 +01:00
|
|
|
|
2004-04-10 01:16:42 +02:00
|
|
|
sdk:
|
|
|
|
@${ECHO_MSG} "===> Make SDK of OpenOffice.org"
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@cd ${WRKSRC} ; ${TCSH} -c 'source FreeBSDEnv.Set ; cd sdk_oo ; build.pl ; deliver.pl'
|
|
|
|
@${MV} ${WRKSRC}/solver/${CODELINE}/unxfbsd.pro/bin/OpenOffice.org${RELEASE_NR}._SDK.tar.gz ${WRKDIR}/../${PACKAGE_BASENAME}_sdk.tar.gz
|
2004-04-10 01:16:42 +02:00
|
|
|
|
|
|
|
solver:
|
|
|
|
@${ECHO_MSG} "===> Make Solver of OpenOffice.org"
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@cd ${WRKSRC} ; ${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_solver.tar.bz2 solver
|
|
|
|
|
|
|
|
languagepack:
|
|
|
|
@${ECHO_MSG} "===> Make languagepack of OpenOffice.org"
|
|
|
|
.if defined (ALL_LOCALIZED_LANGS)
|
|
|
|
@cd ${WRKSRC} ; ${SETENV} "DEFAULT_TO_ENGLISH_FOR_PACKING=yes" ${TCSH} -c 'source FreeBSDEnv.Set ; cd instsetoo_native/util ; dmake ooolanguagepack'
|
|
|
|
.else
|
|
|
|
@cd ${WRKSRC} ; ${SETENV} "DEFAULT_TO_ENGLISH_FOR_PACKING=yes" ${TCSH} -c 'source FreeBSDEnv.Set ; cd instsetoo_native/util ; dmake ooolanguagepack_${LOCALIZED_LANG}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined (ALL_LOCALIZED_LANGS)
|
|
|
|
@${RM} -fr ${WRKDIR}/langpack_tmp
|
|
|
|
@${MKDIR} ${WRKDIR}/langpack_tmp
|
|
|
|
.if defined (LOCALIZED_LANG)
|
|
|
|
@cd ${WRKDIR}/langpack_tmp ; \
|
|
|
|
${TAR} xf ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice_languagepack/install/${LOCALIZED_LANG}/freebsd-*/openofficeorg-*.sw
|
|
|
|
@cd ${WRKDIR}/langpack_tmp/opt/openoffice* ; \
|
|
|
|
${MKDIR} ../${INSTALLATION_BASEDIR} ; \
|
|
|
|
${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \
|
|
|
|
${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_langpack_${LOCALIZED_LANG}.tar.bz2 ${INSTALLATION_BASEDIR}
|
|
|
|
.endif
|
|
|
|
.endif
|
2003-03-12 02:04:08 +01:00
|
|
|
|
1999-12-15 00:14:36 +01:00
|
|
|
.include <bsd.port.post.mk>
|