aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-08-16 13:58:52 +0800
committermaho <maho@FreeBSD.org>2003-08-16 13:58:52 +0800
commit2cd70b3c851ff0940170005f8d7b5b716817deeb (patch)
tree85996c270c3341f4243e3afcfd0e16d41daed640 /editors/openoffice.org-2-devel
parent6a612750a2d420d02bca84456476613842f8b141 (diff)
downloadfreebsd-ports-graphics-2cd70b3c851ff0940170005f8d7b5b716817deeb.tar.gz
freebsd-ports-graphics-2cd70b3c851ff0940170005f8d7b5b716817deeb.tar.zst
freebsd-ports-graphics-2cd70b3c851ff0940170005f8d7b5b716817deeb.zip
a) sysui/oounix/office/gnome/gnomeint seems to be desappeared.
b) *everywhere* we do not need virtual framebuffer!
Diffstat (limited to 'editors/openoffice.org-2-devel')
-rw-r--r--editors/openoffice.org-2-devel/Makefile48
1 files changed, 5 insertions, 43 deletions
diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile
index 76f4ecf74f2..d2dfd2460a6 100644
--- a/editors/openoffice.org-2-devel/Makefile
+++ b/editors/openoffice.org-2-devel/Makefile
@@ -38,7 +38,7 @@ PASTE?= /usr/bin/paste
.include <bsd.port.pre.mk>
-BROKEN= "Does not work yet, installation problems"
+#BROKEN= "Does not work yet, installation problems"
BUILD_NR= ${PORTVERSION}
RELEASE_NR= 1.1
INSTALLATION_BASEDIR= OpenOffice.org-${BUILD_NR}
@@ -111,9 +111,6 @@ BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
BUILD_DEPENDS+= ${X11BASE}/lib/libgdk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20
BUILD_DEPENDS+= ${X11BASE}/lib/libX11.so:${PORTSDIR}/x11/XFree86-4-libraries
BUILD_DEPENDS+= ${X11BASE}/lib/libXft.so:${PORTSDIR}/x11-fonts/Xft
-.if !defined(DISPLAY)
-BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer
-.endif
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
@@ -152,10 +149,6 @@ BUILD= dmake
BUILD= dmake strip="true"
.endif
-.if !defined(DISPLAY)
-DISPLAYHACK=localhost:1001
-.endif
-
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
CONFIGURE_ARGS+= --with-jdk-home=${JDKDIR}
@@ -392,8 +385,8 @@ fix-kdewrappers:
# ${WRKSRC}/../sysui/oounix/office/kde2/kdeint
fix-gnomewrappers:
- @${PERL} -pi -e 's|"Exec", "<progpath>/program/|"Exec", "${PREFIX}/bin/openoffice_${RELEASE_NR}-|' \
- ${WRKSRC}/../sysui/oounix/office/gnome/gnomeint
+# @${PERL} -pi -e 's|"Exec", "<progpath>/program/|"Exec", "${PREFIX}/bin/openoffice_${RELEASE_NR}-|' \
+# ${WRKSRC}/../sysui/oounix/office/gnome/gnomeint
extract-mozilla:
.if ! exists(${WRKDIR}/mozilla/Makefile)
@@ -464,31 +457,13 @@ do-build:
.endif
.endif
.endif
-.if exists(${WRKDIR}/.Xvfb.pid)
- @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill
- @${RM} -f ${WRKDIR}/.Xvfb.pid
-.endif
-.if !defined(DISPLAY)
- #
- # This is a UGLY hack to not have to specify a X-Display.
- #
- ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
- @sleep 5
-.endif
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
.if defined(L10NHELP)
@${MKDIR} ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/pck
@${CP} ${WRKDIR}/L10NHELP/*.zip ${WRKSRC}/../solver/${BUILD_NR}/unxfbsd.pro/pck
.endif
-.if !defined(DISPLAY)
- @cd ${WRKSRC}/.. && DISPLAY=${DISPLAYHACK} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
- ${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
- @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill
- @${RM} -f ${WRKDIR}/.Xvfb.pid
-.else
- @cd ${WRKSRC}/.. && DISPLAY=${DISPLAY} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
+ @cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && ${BUILD}'
-.endif
.if defined(LANG_PKGNAME)
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
${TCSH} -c 'source FreeBSDEnv.Set && unsetenv TOP && cd instsetoo/util && ${BUILD} LANGEXT=${LANG_EXT}'
@@ -503,22 +478,9 @@ pre-install:
@${MKDIR} -p ${WRKSRC}/../solver/${PORTVERSION}/unxfbsd.pro/bin/${LANG_EXT}/osl/
do-install:
-.if !defined(DISPLAY)
- #
- # UGLY hack to not have to specify a X-Display.
- #
- ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
- @sleep 5
- @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
- TEMP=${WRKDIR} DISPLAY=${DISPLAYHACK} \
- ${WRKSRC}/../instsetoo/*.pro/${LANG_EXT}/normal/setup -r:oo_setup.resp
- @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill
- @${RM} -f ${WRKDIR}/.Xvfb.pid
-.else
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" LD_LIBRARY_PATH=${LD_PATH} \
- TEMP=${WRKDIR} DISPLAY=${DISPLAY} \
+ TEMP=${WRKDIR} \
${WRKSRC}/../instsetoo/*.pro/${LANG_EXT}/normal/setup -r:oo_setup.resp
-.endif
install-user:
@-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" \