aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-opera/Makefile
blob: f6eb68fea71f3fa93dbcfb4cb4afc8c82c218a86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# New ports collection makefile for:        linux-opera
# Date created:                 December 6th 2000
# Whom:                     des
#
# $FreeBSD$
#

PORTNAME=   opera
PORTVERSION=    7.23.20031119
CATEGORIES= www linux
MASTER_SITES=   ftp://ftp.sunet.se/pub/www/clients/Opera/linux/723/final/en/i386/static/ \
        ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/723/final/en/i386/static/ \
        ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/723/final/en/i386/static/ \
        ftp://ftp.ntua.gr/pub/www/Opera/linux/723/final/en/i386/static/ \
        http://mirrors.pmmf.hu/mirror/opera/linux/723/final/en/i386/static/ \
        ftp://ftp.task.gda.pl/pub/opera/linux/723/final/en/i386/static/ \
        ftp://ftp.planetmirror.com/pub/opera/linux/723/final/en/i386/static/ \
        http://gd.tuwien.ac.at/infosys/browsers/opera/linux/723/final/en/i386/static/ \
        ftp://ftp.opera.com/pub/opera/linux/723/final/en/i386/static/
PKGNAMEPREFIX=  linux-
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.2003/-2003/}.1-static-qt.i386-en

MAINTAINER= mezz7@cox.net
COMMENT=    A blazingly fast, full-featured, standards-compliant browser

CONFLICTS=  opera-*
RESTRICTED= "not redistributable; commercial software"

.if defined(WITH_XFT2)
RUN_DEPENDS+=   ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2:${PORTSDIR}/x11/linux-XFree86-libs \
        ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
        ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
.else
USE_LINUX=  yes
.endif

RUN_DEPENDS+=    ${LINUXBASE}/usr/X11R6/lib/libXm.so.2:${PORTSDIR}/x11-toolkits/linux-openmotif

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
ONLY_FOR_ARCHS= i386

NO_BUILD=   yes
NO_FILTER_SHLIBS=yes

.include <bsd.port.pre.mk>

.if exists(/etc/X11/applnk)
PLIST_SUB+= APPLNK:=""
.else
PLIST_SUB+= APPLNK:="@comment "
.endif

.if exists(${X11BASE}/share/gnome)
PLIST_SUB+= GNOME:=""
.else
PLIST_SUB+= GNOME:="@comment "
.endif

.if exists(${LOCALBASE}/share/applnk/Internet)
PLIST_SUB+= KDE:=""
.else
PLIST_SUB+= KDE:="@comment "
.endif

.if exists(${LOCALBASE}/share/applnk/Networking)
PLIST_SUB+= KDE2:=""
.else
PLIST_SUB+= KDE2:="@comment "
.endif

.if exists(${X11BASE}/share/gnome/apps)
PLIST_SUB+= GNOMELNK:=""
.else
PLIST_SUB+= GNOMELNK:="@comment "
.endif

pre-everything::
.if !defined(WITH_XFT2)
    @${ECHO_MSG} "You may specify the following on the command line:"
    @${ECHO_MSG} " "
    @${ECHO_MSG} "WITH_XFT2=yes for use Xft2 (requires linux_base-8) with nicer anti-aliased fonts."
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
        s|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \
            ${WRKSRC}/install.sh

do-install:
    (cd ${WRKSRC} && ./install.sh --prefix=${PREFIX})

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
pan>/+4 * Add links to cvsdone and INDEX files. Add some whitespace.linimon2006-09-231-2/+17 * When checking dependencies also look for portname references in Mk/*.mkvd2006-09-141-5/+5 * * Back up duds to duds.old before, not after we create the new onekris2006-09-141-59/+81 * * When calculating the IP address to use for the jail, don't usekris2006-09-141-4/+5 * * Support bzipped logfileskris2006-09-141-122/+127 * * If .force exists, rebuild index unconditionallykris2006-09-141-5/+6 * Correct typo in previous commitkris2006-09-141-2/+2 * * Drop alpha supportkris2006-09-141-6/+7 * * Retire 4-exp builds and add support for 6-exp.kris2006-09-141-11/+12 * * Silence gconf spam from the mtree checks (for now)kris2006-09-141-4/+5 * * Use SRCBASE for source locationkris2006-09-141-6/+12 * Go back to force unmounting because not doing so was too unreliable.kris2006-09-141-2/+2 * Silence the clean-chroot invocationkris2006-09-141-1/+1 * Remove grep's -w switch from the dependency check since it misses somevd2006-09-121-1/+1 * Get rid of multiple false positives for "arch" due to compiler warning;linimon2006-08-211-3/+1 * Catch a few more new cases of linker error; reclassify most of the linkerlinimon2006-08-191-0/+4 * Add support for DESTDIR part I.erwin2006-08-041-10/+40 * Catch another case of 'disk full'.linimon2006-08-011-1/+1 * Change locking from per architecture to per architecture and branch.erwin2006-07-301-1/+2 * Add an option to the addport script: -b requests that any files inshaun2006-07-141-3/+22 * Add the cvs checkout date so people can see how long the runs take; addlinimon2006-07-131-3/+20 * Make it a little more robust.linimon2006-07-101-1/+1 * Convenience script to tersely display all currently running package builds.linimon2006-07-101-0/+11 * 'portcomment' appears to be obsolete.linimon2006-07-091-2/+0 * Fix the disk_full rule.linimon2006-07-091-1/+1 * Add the -exp builds down at the end. Probably only of interest to portmgr,linimon2006-07-081-11/+32 * White space adjustment after refactoring.linimon2006-07-081-21/+21 * Refactor. No code change (yet).linimon2006-07-081-11/+31 * Add some color to the display.linimon2006-07-061-17/+30 * Fix CVS tag.linimon2006-07-061-1/+1 * Refactor. No code changes yet.linimon2006-07-061-16/+16 * Add a column for last-date stamp and clean up the formatting a bit.linimon2006-07-061-7/+22 * Escape characters (like +) that may appear in ports' names andvd2006-07-051-2/+13 * When automatic commit log is generated, change @ to " at " on submitter emailgarga2006-07-051-0/+1 * Handle the case where the size of INDEX is zero (e.g. during new builds).linimon2006-06-291-1/+5 * Fix edit-o.linimon2006-06-281-1/+1 * Creates an HTML file with tables for each architecture which summarize thelinimon2006-06-271-0/+123 * - Remove false positives for 'makefile' (and possibly a few others).linimon2006-06-251-57/+23 * MFP4:erwin2006-06-231-1/+1 * MFP4:erwin2006-06-191-6/+24 * - Change addport script to do the job locally instead connect to freefall everygarga2006-05-162-18/+39 * Add support for specifying ports to be removed as directories on thevd2006-05-021-1/+27 * Improve dependency check:vd2006-05-021-2/+3 * Add support for removing multiple ports which depend on each othervd2006-04-171-36/+48 * Explicitly mount the NFS images ro, instead of relying on the server tokris2006-04-161-1/+1 * Don't bother archiving the ports tree, we don't use it for anything so itkris2006-04-161-1/+1 * Quote ${1} so we don't get ``[: =: unexpected operator'' if the scriptvd2006-04-121-1/+1 * Add the script I use to remove ports so everyonevd2006-04-101-0/+315 * Mount linprocfs on amd64 for the convenience of jdk builds.kris2006-04-031-1/+1 * The squid rc.d script no longer has the .sh suffixkris2006-04-032-4/+4 * Do not preserve the previous package sets in bak/. This is taking upkris2006-04-031-2/+2 * Clean up linprocfs on amd64 as well.kris2006-04-031-1/+1 * jdk is buildable on amd64, so we need to also mount linprocfs there.kris2006-04-031-2/+2 * This script preserves packages that will be removed by the restricted.shkris2006-04-031-0/+11 * Temporarily back out the pre.log change, it doesn't work properly.kris2006-03-131-6/+6 * Mount the md image async here tookris2006-03-131-1/+1 * Add some more directories temporarily until these ports can be made tokris2006-03-131-4/+8 * Add a mechanism for reporting client machine error conditions back to thekris2006-02-151-1/+14 * Trim some unused cruftkris2006-02-151-69/+12 * Save the output of portbuild run on the client to a temporary log file.kris2006-02-151-1/+11 * Add some sanity checking of the build environment:kris2006-02-151-1/+30 * * Don't try to pkg_delete packages that are not installed (the usualkris2006-02-151-6/+9 * Add support for 6-exp builds (FreeBSD 6.x is our new reference platform)kris2006-02-154-4/+14 * * Switch back to using pkg_delete -f; we are not yet ready to dealkris2006-02-141-25/+26 * * In kill_procs(), pass in the directory and mountpoint as separatekris2006-02-111-2/+8 * Support for building ports in a jail instead of a chroot. If use_jail=1kris2006-02-111-9/+14 * * Use ${mailto} portbuild.conf variable instead of hard-coded list [1]kris2006-02-111-4/+7 * Use ${mailto} portbuild.conf variable instead of hard-coded listkris2006-02-111-1/+1 * Checkpoint a major round of changes:kris2006-02-111-64/+201 * Flip from noclean to cleankris2006-02-041-3/+3 * Don't bother chowning the client /var/portbuild/, it just takes too longkris2006-02-041-3/+0 * Use clean-chroot with clean=2 to remove the chroot instead of duplicatingkris2006-02-041-5/+1 * Flip "noclean" to "clean"kris2006-02-041-3/+3 * Instead of passing in a "noclean" boolean, pass in a "clean" level:kris2006-02-041-4/+11 * Also look for chroots that are marked 'dirty' (previous build left chrootkris2006-02-041-1/+5 * Don't try to remove the lock file now that we use lockf to manage itkris2006-02-041-2/+0 * Fix bogus comments. No code change.linimon2006-02-021-5/+5 * Correctly set SRCBASE; the version inherited from buildenv is wrong forkris2006-01-281-0/+1 * Don't try to rsync docs, we no longer need to distribute themkris2006-01-281-1/+0 * Update the list of quickportskris2006-01-281-1/+1 * Warn if there are duplicate MD5/SHA256/SIZE statements for a single fileedwin2006-01-251-3/+33 * Small tool to check the necessary lines in the distinfo files, basededwin2006-01-241-0/+105 * Support 7.x INDEX buildskris2006-01-231-16/+37 * Don't bother mounting doc tree, it's not needed by any portskris2006-01-221-12/+8 * Remove -nodoccvs option, it turns out mounting the doc tree is notkris2006-01-221-14/+1 * Also clean up linprocfs mountskris2006-01-221-0/+1 * Pull in buildenv for LOCALBASE/X11BASE locationskris2006-01-221-2/+4 * Use LOCALBASE and X11BASE from buildenvkris2006-01-221-1/+4 * Allow for the possibility of overriding LOCALBASE and X11BASEkris2006-01-221-0/+2 * Exit with the correct error code when a make target failskris2006-01-151-3/+3 * Back out last commit, it was the wrong filekris2006-01-151-17/+15 * Exit with the correct error code when a make target failskris2006-01-151-15/+17 * Add portsvar.sh schell script into Tools/scripts.daichi2006-01-111-0/+133 * This script may be run on a client machine to force it to flush its squidkris2005-12-111-0/+15 * Bump the file size limit to 300MB now that openoffice distfiles exceedkris2005-12-111-5/+5 * Shuffle the order of a cdkris2005-12-111-2/+1 * Remove 0-sized entries to avoid misbehaviourkris2005-12-111-0/+4 * Don't use a lockfile, the script will be called with lockf -t0 instead tokris2005-12-112-16/+0 * Don't use a lockfile, the script will be called with lockf -t0 insteadkris2005-12-111-6/+0 * Update the list of quickportskris2005-12-111-1/+1 * Don't set -nocopy when -norsync is set, otherwise the setupnode scriptkris2005-12-111-1/+1 * Don't use a lock file, the script will be called with lockf -t 0 instead.kris2005-12-111-6/+0 * Mount the md image async since this gives much better performancekris2005-12-111-1/+1 * Utility: A tool to identify similar pkg-descr filesedwin2005-11-261-0/+24 * Remove, don't comment out, unused variableskris2005-10-111-2/+0 * Remove unused variables. Don't bother protecting against negativekris2005-10-111-4/+2 * Update lockf to lockf -k in example usagekris2005-10-111-1/+1 * Update the lockf command to add -k in example usagekris2005-10-111-1/+1 * When -norsync is set, don't bother to run md5 over the bindist.tarkris2005-10-111-3/+9 * Change lockf to lockf -k in a commented-out command, just in case it'skris2005-10-111-1/+1 * Add support for use_md_swapkris2005-10-111-0/+5 * Add support for use_md_swap. When this variable is set in akris2005-10-111-4/+18 * No need to hold the queue lock while polling client loadkris2005-10-111-1/+1 * * Use lockf -k instead of lockf. If there is ever contention from >1kris2005-10-111-5/+5 * * Add support for use_md_swapkris2005-10-111-12/+22 * * Unmount linprocfs around pkg_adding dependencies, to try and workkris2005-10-111-3/+41 * * Finish flipping the switch on -noplistcheck - this is activated bykris2005-10-111-11/+6 * * Remove support for the unused -nodummy functionkris2005-10-111-65/+66 * * Remove unused -nodummy argumentkris2005-10-111-34/+6 * Silence some possible errors from chflags -Rkris2005-10-111-1/+1 * Silence possible errors from some recursive commandskris2005-10-111-2/+2 * - Add a new option -L, it works like -l but uses pkg-descr to creategarga2005-10-051-17/+30 * Remove some hardcoded values to hopefully stop random users from shootingkris2005-09-091-12/+27 * - Handle different INDEX filename on 5.X and abovepav2005-09-051-2/+5 * Check for extra files on !i386 alsokris2005-07-251-6/+4 * Support FreeBSD 7.xkris2005-07-255-5/+15 * Drop the removed openoffice 1.0 ports from the quickports listkris2005-07-251-1/+1 * Correct typokris2005-07-251-1/+1