summaryrefslogtreecommitdiff
path: root/www/opera
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-07-28 00:38:58 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-07-28 00:38:58 +0000
commit076811570bce3bd150317314c930bc8dd2771174 (patch)
tree359ff3838b0a68189056d2af69f79930694e0c87 /www/opera
parentAdd a note about the removal of the extension_dir in php.ini. (diff)
-Add aspell dependency with a new knob, WITHOUT_ASPELL.
-Bump the PORTREVISION for add a dependency. It's kind of shame that Opera needs libXm.so.2, but we have libXm.so.3 in the ports tree since 2002. The Linux version supports 1 to 3 but on FreeBSD version only support 1 to 2 that aren't exist in the ports tree. Speak of open-motif; not lesstif. Three ways to do: Create a new downgrade port of open-motif, add a symlink of libXm.so.2 in current open-motif or tell the users to use the libmap.conf for libXm.so.2 -> libXm.so.3? Any suggest? BTW: libXm.so.x is need for the plugins function.
Notes
Notes: svn path=/head/; revision=114901
Diffstat (limited to 'www/opera')
-rw-r--r--www/opera/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/opera/Makefile b/www/opera/Makefile
index 37d37fd9cf5c..6ad180137869 100644
--- a/www/opera/Makefile
+++ b/www/opera/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://ftp.scarlet.be/pub/opera/unix/freebsd/${OPERA_VER:S/.//}/${OPERA_REL}/en/static/ \
ftp://ftp.planetmirror.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}/${OPERA_REL}/en/static/ \
@@ -44,6 +45,10 @@ ONLY_FOR_ARCHS= i386
NO_BUILD= yes
NO_FILTER_SHLIBS=yes
+.ifndef(WITHOUT_ASPELL)
+LIB_DEPENDS+= aspell.15:${PORTSDIR}/textproc/aspell
+.endif
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
@@ -62,6 +67,13 @@ PLIST_SUB+= KDE=""
PLIST_SUB+= KDE="@comment "
.endif
+pre-everything::
+.if !defined(WITHOUT_ASPELL)
+ @${ECHO_CMD} '===> The following options are available for this port:'
+ @${ECHO_CMD} '===>'
+ @${ECHO_CMD} '===> Define WITHOUT_ASPELL to not install aspell.'
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \