* Fix compatibility with the new OpenOffice 1.1 wrapper scripts

* Make X11BASE-safe

PR:		63206
Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2004-02-22 07:57:36 +00:00
parent 14f34f5b49
commit daaeabeaad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101699

View File

@ -7,7 +7,7 @@
PORTNAME= plugger
PORTVERSION= 5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www audio graphics multimedia
MASTER_SITES= http://fredrik.hubbe.net/plugger/
@ -30,6 +30,15 @@ post-patch:
-e 's|LD=gcc|LD=${CC}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}|g' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|oowriter|openoffice-1.1-swriter|g' \
-e 's|oocalc|openoffice-1.1-scalc|g' \
-e 's|ooimpress|openoffice-1.1-simpress|g' \
-e 's|oodraw|openoffice-1.1-sdraw|g' \
-e 's|oomath|openoffice-1.1-smath|g' \
${WRKSRC}/pluggerrc
@${REINPLACE_CMD} -e \
's|/usr/X11R6/lib/xscreensaver|${X11BASE}/bin/xscreensaver-hacks|g' \
${WRKSRC}/pluggerrc
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \