aboutsummaryrefslogtreecommitdiff
path: root/www/opera/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
commit15b6544926b07a98710eeb765baf03e3fc9a195c (patch)
tree35103cf986d2ed2295c97768e62afcc47dfed877 /www/opera/Makefile
parent23fcf54562404bb41380488c8318ac0e3ce15efc (diff)
Notes
Diffstat (limited to 'www/opera/Makefile')
-rw-r--r--www/opera/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/opera/Makefile b/www/opera/Makefile
index 3f7c8dec21a8..d9e8caddeb9b 100644
--- a/www/opera/Makefile
+++ b/www/opera/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.opera.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
ftp://opera.inode.at/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/en/${OPERA_ARCH}/${OPERA_LIB}/ \
@@ -69,6 +70,10 @@ OPERA_TYPE= 6
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6/lib/browser_plugins|${LOCALBASE}/lib/browser_plugins/symlinks/opera|g' \
+ ${WRKSRC}/usr/local/share/opera/ini/pluginpath.ini
+
do-install:
@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
@${CP} ${DATADIR}/bin/operapluginwrapper ${DATADIR}/bin/operapluginwrapper.freebsd