Lines 2-31
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= apache-openoffice |
4 |
PORTNAME= apache-openoffice |
5 |
PORTVERSION= 4.0.1 |
5 |
PORTVERSION= 4.1.0 |
6 |
PORTREVISION= 4 |
|
|
7 |
CATEGORIES= editors java |
6 |
CATEGORIES= editors java |
8 |
MASTER_SITES= http://www.apache.org/dist/openoffice/${PORTVERSION}/source/ \ |
7 |
MASTER_SITES= ${MASTER_SITE_APACHE:S@%SUBDIR%@openoffice/${PORTVERSION}/source@} \ |
9 |
ftp://ftp.riken.jp/net/apache/openoffice/${PORTVERSION}/source/ \ |
8 |
${MASTER_SITE_LOCAL:S@%SUBDIR%@truckman/openoffice@}:extsrc |
10 |
${MASTER_SITE_LOCAL:S@%SUBDIR%@maho/openoffice@}:extsrc |
9 |
.if defined(LANG_PKGNAME) |
11 |
DISTFILES+= ${OOOSRC} unowinreg.dll ${EXTSRC}:extsrc |
10 |
PKGNAMEPREFIX= ${LANG_PKGNAME}- |
|
|
11 |
.endif |
12 |
.if defined(LANG_SUFFIX) |
13 |
PKGNAMESUFFIX= -${LANG_SUFFIX} |
14 |
.endif |
15 |
DISTFILES= ${OOOSRC} unowinreg.dll ${EXTSRC}:extsrc |
12 |
EXTRACT_ONLY= ${OOOSRC} ${EXTSRC} |
16 |
EXTRACT_ONLY= ${OOOSRC} ${EXTSRC} |
13 |
|
17 |
|
|
|
18 |
MAINTAINER= office@FreeBSD.org |
14 |
#de facto maintainer is maho@FreeBSD.org |
19 |
#de facto maintainer is maho@FreeBSD.org |
15 |
#Frequent Patch submitters should optionally sign Apache iCLA |
20 |
#Frequent Patch submitters should optionally sign Apache iCLA |
16 |
MAINTAINER= office@FreeBSD.org |
|
|
17 |
COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser |
21 |
COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser |
18 |
|
22 |
|
19 |
LICENSE= APACHE20 |
23 |
LICENSE= APACHE20 |
20 |
|
24 |
|
|
|
25 |
BUILD_DEPENDS= \ |
26 |
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ |
27 |
${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ |
28 |
zip:${PORTSDIR}/archivers/zip \ |
29 |
ant:${PORTSDIR}/devel/apache-ant \ |
30 |
dmake:${PORTSDIR}/devel/dmake \ |
31 |
epm:${PORTSDIR}/devel/epm \ |
32 |
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ |
33 |
imake:${PORTSDIR}/devel/imake \ |
34 |
gpatch:${PORTSDIR}/devel/patch \ |
35 |
${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \ |
36 |
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ |
37 |
${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \ |
38 |
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ |
39 |
${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ |
40 |
bash:${PORTSDIR}/shells/bash \ |
41 |
${JAVALIBDIR}/saxon9.jar:${PORTSDIR}/textproc/saxon-devel \ |
42 |
${JAVALIBDIR}/lucene-core-3.6.2.jar:${PORTSDIR}/textproc/lucene \ |
43 |
p5-libwww>=0:${PORTSDIR}/www/p5-libwww |
44 |
# mdds>=0.9.0:${PORTSDIR}/devel/mdds |
45 |
LIB_DEPENDS= \ |
46 |
libapr-1.so:${PORTSDIR}/devel/apr1 \ |
47 |
libcurl.so:${PORTSDIR}/ftp/curl \ |
48 |
libcairo.so:${PORTSDIR}/graphics/cairo \ |
49 |
libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ |
50 |
libgraphite.so:${PORTSDIR}/graphics/silgraphite \ |
51 |
libCoinMP.so:${PORTSDIR}/math/coinmp \ |
52 |
libfreetype.so:${PORTSDIR}/print/freetype2 \ |
53 |
libnss3.so:${PORTSDIR}/security/nss \ |
54 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
55 |
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \ |
56 |
libtextcat.so:${PORTSDIR}/textproc/libtextcat \ |
57 |
libhyphen.so:${PORTSDIR}/textproc/hyphen \ |
58 |
librdf.so:${PORTSDIR}/textproc/redland \ |
59 |
libserf-1.so:${PORTSDIR}/www/serf |
60 |
# libjpeg.so:${PORTSDIR}/graphics/jpeg |
61 |
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \ |
62 |
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ |
63 |
${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ |
64 |
${JAVALIBDIR}/saxon9.jar:${PORTSDIR}/textproc/saxon-devel \ |
65 |
${LOCALBASE}/lib/X11/fonts/ChromeOS/Arimo-Bold.ttf:${PORTSDIR}/x11-fonts/croscorefonts-fonts-ttf |
66 |
|
67 |
SVNREVISION= 1589052 |
68 |
OOOSRC= apache-openoffice-${PORTVERSION}-r${SVNREVISION}-src${EXTRACT_SUFX} |
69 |
EXTSRC= ApacheOpenOffice.ext_sources.${PORTVERSION}.r${SVNREVISION}_1${EXTRACT_SUFX} |
70 |
|
71 |
OOODIR= openoffice4 |
72 |
INSTALLATION_BASEDIR?= openoffice-${PORTVERSION} |
73 |
EXECBASE?= openoffice-${PORTVERSION} |
74 |
DIST_SUBDIR= openoffice |
75 |
SIMPLEOSVER= ${OSREL:C/\.//g} |
76 |
|
21 |
NO_LATEST_LINK= yes |
77 |
NO_LATEST_LINK= yes |
22 |
|
78 |
|
|
|
79 |
ONLY_FOR_ARCHS= i386 amd64 |
80 |
|
23 |
USE_GNOME= gtk20 libxslt libidl glib20 |
81 |
USE_GNOME= gtk20 libxslt libidl glib20 |
24 |
USE_XORG= x11 ice xaw xau xext xrender xrandr \ |
82 |
USE_XORG= x11 ice xaw xau xext xrender xrandr \ |
25 |
xi xt xcursor xdamage xcomposite xfixes |
83 |
xi xt xcursor xdamage xcomposite xfixes |
26 |
USE_GL= gl glu |
84 |
USE_GL= gl glu |
27 |
USE_GSTREAMER= yes |
85 |
USE_GSTREAMER= yes |
28 |
USE_GCC= any |
86 |
USE_GCC= yes |
29 |
USE_PYTHON= yes |
87 |
USE_PYTHON= yes |
30 |
USES+= bison perl5 gmake pkgconfig tar:bzip2 desktop-file-utils |
88 |
USES+= bison perl5 gmake pkgconfig tar:bzip2 desktop-file-utils |
31 |
USE_PERL5= build |
89 |
USE_PERL5= build |
Lines 37-49
Link Here
|
37 |
GNOMEVFS_DESC= Enable GNOME Virtual File System |
95 |
GNOMEVFS_DESC= Enable GNOME Virtual File System |
38 |
CCACHE_DESC= Mimimize compile time of C/C++ programs |
96 |
CCACHE_DESC= Mimimize compile time of C/C++ programs |
39 |
|
97 |
|
40 |
.include "${.CURDIR}/files/Makefile.localized" |
|
|
41 |
|
42 |
USE_JAVA= yes |
43 |
JAVA_BUILD= jdk |
44 |
JAVA_VENDOR= openjdk |
45 |
JAVA_VERSION= 1.6+ |
46 |
|
47 |
GCONF_USE= GNOME=gconf2 |
98 |
GCONF_USE= GNOME=gconf2 |
48 |
GCONF_CONFIGURE_OFF=--disable-gconf |
99 |
GCONF_CONFIGURE_OFF=--disable-gconf |
49 |
|
100 |
|
Lines 50-59
Link Here
|
50 |
GNOMEVFS_USE= GNOME=gnomevfs2 |
101 |
GNOMEVFS_USE= GNOME=gnomevfs2 |
51 |
GNOMEVFS_CONFIGURE_OFF=--disable-gnome-vfs |
102 |
GNOMEVFS_CONFIGURE_OFF=--disable-gnome-vfs |
52 |
|
103 |
|
|
|
104 |
.include <bsd.port.options.mk> |
105 |
|
53 |
.include <bsd.port.pre.mk> |
106 |
.include <bsd.port.pre.mk> |
54 |
|
107 |
|
55 |
ONLY_FOR_ARCHS= i386 amd64 |
108 |
.include <${FILESDIR}/Makefile.localized> |
56 |
|
109 |
|
|
|
110 |
USE_JAVA= yes |
111 |
JAVA_BUILD= jdk |
112 |
JAVA_VENDOR= openjdk |
113 |
JAVA_VERSION= 1.6+ |
114 |
|
57 |
.if ${ARCH} == amd64 |
115 |
.if ${ARCH} == amd64 |
58 |
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh |
116 |
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh |
59 |
.else |
117 |
.else |
Lines 60-75
Link Here
|
60 |
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh |
118 |
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh |
61 |
.endif |
119 |
.endif |
62 |
|
120 |
|
63 |
OOOSRC= apache-openoffice-${PORTVERSION}-r${SVNREVISION}-src${EXTRACT_SUFX} |
121 |
LOCALIZED_LANG?= en-US |
64 |
EXTSRC= ApacheOpenOffice.ext_sources.${PORTVERSION}.r${SVNREVISION}${EXTRACT_SUFX} |
|
|
65 |
OOODIR= openoffice4 |
66 |
SVNREVISION= 1524958 |
67 |
INSTALLATION_BASEDIR?= openoffice-${PORTVERSION} |
68 |
EXECBASE?= openoffice-${PORTVERSION} |
69 |
DIST_SUBDIR= openoffice |
70 |
SIMPLEOSVER= ${OSREL:C/\.//g} |
71 |
|
122 |
|
72 |
PACKAGE_PREFIX= Apache_OpenOffice |
123 |
PACKAGE_PREFIX= Apache_OpenOffice |
|
|
124 |
|
73 |
.if ${ARCH} == amd64 |
125 |
.if ${ARCH} == amd64 |
74 |
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 |
126 |
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 |
75 |
.else |
127 |
.else |
Lines 76-95
Link Here
|
76 |
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 |
128 |
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 |
77 |
.endif |
129 |
.endif |
78 |
|
130 |
|
79 |
LOCALIZED_LANG?= en-US |
|
|
80 |
.if defined(LANG_PKGNAME) |
81 |
PKGNAMEPREFIX= ${LANG_PKGNAME}- |
82 |
.endif |
83 |
.if defined(LANG_SUFFIX) |
84 |
PKGNAMESUFFIX= -${LANG_SUFFIX} |
85 |
.endif |
86 |
|
87 |
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \ |
88 |
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ |
89 |
${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ |
90 |
${JAVALIBDIR}/saxon9.jar:${PORTSDIR}/textproc/saxon-devel \ |
91 |
${LOCALBASE}/lib/X11/fonts/ChromeOS/Arimo-Bold.ttf:${PORTSDIR}/x11-fonts/croscorefonts-fonts-ttf |
92 |
|
93 |
.if ${PORT_OPTIONS:MCCACHE} || defined(WITH_CCACHE) |
131 |
.if ${PORT_OPTIONS:MCCACHE} || defined(WITH_CCACHE) |
94 |
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache |
132 |
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache |
95 |
CCACHE_PREFIX= ccache |
133 |
CCACHE_PREFIX= ccache |
Lines 100-143
Link Here
|
100 |
OOOCXX= ${CXX} |
138 |
OOOCXX= ${CXX} |
101 |
.endif |
139 |
.endif |
102 |
CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" \ |
140 |
CONFIGURE_ENV+= CC="${OOOCC}" CXX="${OOOCXX}" \ |
103 |
PATH=${WRKSRC}/solenv/bin:$$PATH \ |
141 |
PATH=${WRKSRC}/solenv/bin:$$PATH |
104 |
CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
|
|
105 |
|
142 |
|
106 |
LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo \ |
|
|
107 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
108 |
libjpeg.so:${PORTSDIR}/graphics/jpeg \ |
109 |
libcurl.so:${PORTSDIR}/ftp/curl \ |
110 |
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \ |
111 |
libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ |
112 |
librdf.so:${PORTSDIR}/textproc/redland \ |
113 |
libtextcat.so:${PORTSDIR}/textproc/libtextcat \ |
114 |
libfreetype.so:${PORTSDIR}/print/freetype2 \ |
115 |
libapr-1.so:${PORTSDIR}/devel/apr1 \ |
116 |
libCoinMP.so:${PORTSDIR}/math/coinmp \ |
117 |
libserf-1.so:${PORTSDIR}/www/serf \ |
118 |
libfreetype.so:${PORTSDIR}/print/freetype2 \ |
119 |
libtextcat.so:${PORTSDIR}/textproc/libtextcat |
120 |
|
121 |
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ |
122 |
${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ |
123 |
gpatch:${PORTSDIR}/devel/patch \ |
124 |
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ |
125 |
bash:${PORTSDIR}/shells/bash \ |
126 |
imake:${PORTSDIR}/devel/imake \ |
127 |
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ |
128 |
ant:${PORTSDIR}/devel/apache-ant \ |
129 |
${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs \ |
130 |
${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \ |
131 |
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ |
132 |
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \ |
133 |
${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \ |
134 |
${JAVALIBDIR}/lucene-core-3.6.2.jar:${PORTSDIR}/textproc/lucene \ |
135 |
${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \ |
136 |
${JAVALIBDIR}/saxon9.jar:${PORTSDIR}/textproc/saxon-devel \ |
137 |
epm:${PORTSDIR}/devel/epm \ |
138 |
dmake:${PORTSDIR}/devel/dmake \ |
139 |
p5-libwww>=0:${PORTSDIR}/www/p5-libwww |
140 |
|
141 |
USE_AUTOTOOLS= autoconf |
143 |
USE_AUTOTOOLS= autoconf |
142 |
GNU_CONFIGURE= yes |
144 |
GNU_CONFIGURE= yes |
143 |
WRKSRC?= ${WRKDIR}/aoo-${PORTVERSION}/main |
145 |
WRKSRC?= ${WRKDIR}/aoo-${PORTVERSION}/main |
Lines 149-207
Link Here
|
149 |
MAKE_JOBS_NUMBER= 4 |
151 |
MAKE_JOBS_NUMBER= 4 |
150 |
.endif |
152 |
.endif |
151 |
|
153 |
|
152 |
CONFIGURE_ARGS+= --enable-verbose \ |
154 |
CONFIGURE_ARGS+= --with-system-apache-commons=yes \ |
153 |
--enable-symbols=small \ |
|
|
154 |
--enable-crashdump \ |
155 |
--with-vendor="FreeBSD ports system" \ |
156 |
--with-epm=${LOCALBASE}/bin/epm \ |
157 |
--with-gnu-patch=${LOCALBASE}/bin/gpatch \ |
158 |
--with-gperf=${LOCALBASE}/bin/gperf \ |
159 |
--x-includes=${LOCALBASE}/include \ |
160 |
--x-libraries=${LOCALBASE}lib \ |
161 |
--with-system-libxml \ |
162 |
--with-system-libxslt \ |
163 |
--with-system-cairo --enable-cairo \ |
164 |
--with-system-boost \ |
165 |
--with-system-zlib \ |
166 |
--with-system-python \ |
167 |
--with-system-expat \ |
168 |
--with-system-openssl \ |
169 |
--with-system-curl \ |
170 |
--with-system-poppler \ |
171 |
--with-system-redland \ |
172 |
--with-system-libtextcat \ |
173 |
--with-system-vigra \ |
174 |
--with-system-stdlibs \ |
175 |
--with-system-apr \ |
176 |
--with-system-apr-util \ |
177 |
--with-system-coinmp \ |
178 |
--with-system-apache-commons=yes \ |
179 |
--with-commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ |
155 |
--with-commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ |
180 |
--with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ |
156 |
--with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ |
181 |
--with-commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ |
157 |
--with-commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ |
182 |
--with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar \ |
158 |
--with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar \ |
183 |
--with-system-lucene \ |
159 |
--with-system-apr \ |
184 |
--with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ |
160 |
--with-system-apr-util \ |
185 |
--with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ |
161 |
--with-system-beanshell \ |
|
|
162 |
--with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ |
163 |
--enable-category-b \ |
164 |
--with-system-cairo --enable-cairo \ |
165 |
--with-system-coinmp \ |
166 |
--with-system-curl \ |
167 |
--enable-crashdump \ |
168 |
--enable-dbus \ |
169 |
--with-epm=${LOCALBASE}/bin/epm \ |
170 |
--with-system-expat \ |
171 |
--disable-fetch-external \ |
172 |
--without-fonts \ |
173 |
--with-gnu-patch=${LOCALBASE}/bin/gpatch \ |
174 |
--with-gperf=${LOCALBASE}/bin/gperf \ |
175 |
--enable-gstreamer \ |
176 |
--with-system-graphite \ |
177 |
--with-system-hunspell \ |
178 |
--with-system-hyphen \ |
186 |
--with-junit=${LOCALBASE}/share/java/classes/junit.jar \ |
179 |
--with-junit=${LOCALBASE}/share/java/classes/junit.jar \ |
187 |
--with-package-format="archive" \ |
180 |
--with-system-libtextcat \ |
188 |
--enable-gstreamer \ |
181 |
--with-system-libxml \ |
189 |
--enable-wiki-publisher \ |
182 |
--with-system-libxslt \ |
190 |
--enable-dbus \ |
183 |
--enable-lockdown \ |
191 |
--enable-opengl \ |
184 |
--with-system-lucene \ |
192 |
--enable-category-b \ |
185 |
--with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ |
193 |
--enable-lockdown \ |
186 |
--with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ |
194 |
--with-system-hunspell \ |
187 |
--with-system-nss \ |
195 |
--with-system-saxon \ |
188 |
--enable-opengl \ |
196 |
--with-saxon-jar=${JAVALIBDIR}/saxon9.jar \ |
189 |
--with-system-openssl \ |
197 |
--with-system-beanshell \ |
190 |
--with-package-format="archive" \ |
198 |
--with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ |
191 |
--with-system-poppler \ |
199 |
--without-fonts \ |
192 |
--with-system-python \ |
200 |
--with-system-serf |
193 |
--with-system-redland \ |
201 |
# --with-system-jpeg |
194 |
--with-system-saxon \ |
202 |
# --enable-pdfimport |
195 |
--with-saxon-jar=${JAVALIBDIR}/saxon9.jar \ |
203 |
# --without-stlport --disable-mozilla \ |
196 |
--with-system-serf \ |
204 |
# --with-system-graphite \ |
197 |
--with-system-stdlibs \ |
|
|
198 |
--enable-symbols=small \ |
199 |
--without-stlport \ |
200 |
--with-vendor="FreeBSD ports system" \ |
201 |
--enable-verbose \ |
202 |
--with-system-vigra \ |
203 |
--enable-wiki-publisher \ |
204 |
--x-includes={LOCALBASE}/include \ |
205 |
--x-libraries=${LOCALBASE}lib \ |
206 |
--with-system-zlib |
205 |
|
207 |
|
206 |
#OOOEXTENSIONS+= minimizer/presentation-minimizer.oxt |
208 |
#OOOEXTENSIONS+= minimizer/presentation-minimizer.oxt |
207 |
#OOOEXTENSIONS+= presenter/presenter-screen.oxt |
209 |
#OOOEXTENSIONS+= presenter/presenter-screen.oxt |
Lines 232-241
Link Here
|
232 |
|
234 |
|
233 |
post-extract: |
235 |
post-extract: |
234 |
@${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ |
236 |
@${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ |
235 |
# @${MKDIR} ${WRKSRC}/../ext_sources |
|
|
236 |
# @${MV} ${WRKDIR}/aoo/ext_sources/* ${WRKSRC}/../ext_sources/ |
237 |
# @${RM} -rf ${WRKSRC}/l10n |
238 |
@${MKDIR} ${WRKSRC}/../ext_sources |
239 |
@${RM} -rf ${WRKSRC}/l10n |
237 |
@${RM} -rf ${WRKSRC}/l10n |
240 |
|
238 |
|
241 |
post-patch: |
239 |
post-patch: |
Lines 270-278
Link Here
|
270 |
@${REINPLACE_CMD} -e 's/^UserInstallation.*$$/USERINSTALLATION/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc |
268 |
@${REINPLACE_CMD} -e 's/^UserInstallation.*$$/USERINSTALLATION/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/program/bootstraprc |
271 |
@${REINPLACE_CMD} -e 's/USERINSTALLATION/UserInstallation=$$SYSUSERCONFIG\/\.openoffice\.org-devel\/4/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/openoffice4/program/bootstraprc |
269 |
@${REINPLACE_CMD} -e 's/USERINSTALLATION/UserInstallation=$$SYSUSERCONFIG\/\.openoffice\.org-devel\/4/' ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/openoffice4/program/bootstraprc |
272 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ |
270 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ |
273 |
@cd ${WRKSRC}/solver/4??/unxfbsd?.pro/bin/ ; ${INSTALL_DATA} ${OOOEXTENSIONS} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ |
271 |
@cd ${WRKSRC}/solver/4?0/unxfbsd?.pro/bin/ ; ${INSTALL_DATA} ${OOOEXTENSIONS} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/extensions/ |
274 |
|
272 |
|
275 |
post-install: |
273 |
post-install: |
|
|
274 |
@${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/openoffice4/program -type f \( -name '*.so*' -or -name '*.bin' \) -print0 | ${XARGS} -0 -n1 ${STRIP_CMD} |
275 |
@for prog in crashrep pagein uri-encode javaldx regmerge regview; do \ |
276 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR}/openoffice4/program/$${prog}; \ |
277 |
done |
276 |
@${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; |
278 |
@${FIND} ${STAGEDIR}${PREFIX}/${INSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; |
277 |
@${ECHO_MSG} "===> Add wrapper scripts"; |
279 |
@${ECHO_MSG} "===> Add wrapper scripts"; |
278 |
@${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ |
280 |
@${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ |
Lines 295-302
Link Here
|
295 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/catalog.mk" >> ${TMPPLIST} |
297 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/catalog.mk" >> ${TMPPLIST} |
296 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/LICENSE" >> ${TMPPLIST} |
298 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/LICENSE" >> ${TMPPLIST} |
297 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/APACHE20" >> ${TMPPLIST} |
299 |
@${ECHO_CMD} "share/licenses/${PKGNAME}/APACHE20" >> ${TMPPLIST} |
298 |
@${ECHO_CMD} "@dirrm share/licenses/${PKGNAME}" >> ${TMPPLIST} |
|
|
299 |
@${ECHO_CMD} "@dirrm share/licenses" >> ${TMPPLIST} |
300 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} |
300 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} -s bin \( -type f -or -type l \) -name "${EXECBASE}*" >> ${TMPPLIST} |
301 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} |
301 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} -s ${INSTALLATION_BASEDIR} \( -type f -or -type l \) >> ${TMPPLIST} |
302 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ |
302 |
@cd ${STAGEDIR}${PREFIX} ; ${FIND} ${INSTALLATION_BASEDIR} -type d | ${SORT} -r | \ |
Lines 338-341
Link Here
|
338 |
@${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
338 |
@${ECHO_CMD} "@unexec ${PREFIX}/bin/gtk-update-icon-cache -q -f %D/share/icons/hicolor 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
339 |
|
339 |
|
340 |
.include <${FILESDIR}/Makefile.others> |
340 |
.include <${FILESDIR}/Makefile.others> |
|
|
341 |
|
341 |
.include <bsd.port.post.mk> |
342 |
.include <bsd.port.post.mk> |