blob: e0fd238885f5c6232a2be293d0e7fb80893e1856 (
plain)
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
|
# $NetBSD: Makefile.plain,v 1.2 2007/10/01 23:40:17 dmcmahill Exp $
.if ${EMUL_PLATFORM} == "freebsd-i386"
ONLY_FOR_PLATFORM+= FreeBSD-*-i386
EXTRACT_SUFX= .tar.bz2
OPERA_ARCH= .i386.freebsd
OPERA_DIR= unix/freebsd/${OPERA_PKG_VERSION_DIR}/final/${OPERA_LANG}/static
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}-660
OWN_DIRS= ${PREFIX}/share/opera/plugins
.elif ${EMUL_PLATFORM} == "solaris-sparc"
ONLY_FOR_PLATFORM+= SunOS-*-sparc*
EXTRACT_SUFX= .tar.bz2
SOLARIS_VERSION_REQD= 8
OPERA_ARCH= -sol8-sparc
OPERA_DIR= unix/solaris/${OPERA_PKG_VERSION_DIR}/final/${OPERA_LANG}/sparc/static
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}-660
BUILD_DEFS+= INSTALL_ETC_OPERARC
INSTALL_ETC_OPERARC?= no
OWN_DIRS= ${PREFIX}/lib/opera/plugins
. if !empty(INSTALL_ETC_OPERARC:M[yY][eE][sS])
CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc \
/etc/opera6rc
CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc.fixed \
/etc/opera6rc.fixed
. endif
.endif
SUBST_CLASSES+= opera
SUBST_STAGE.opera= post-build
SUBST_FILES.opera= man/opera.1
SUBST_SED.opera= -e 's,/usr/,${PREFIX}/,g'
FULLMANDIR= ${PREFIX}/${PKGMANDIR}
do-install:
(${ECHO} "n"; ${ECHO} "n") > ${WRKSRC}/inst.cmd
cd ${WRKSRC} && ${CAT} ${WRKSRC}/inst.cmd | \
./install.sh --prefix=${PREFIX:Q} --mandir=${FULLMANDIR:Q}
@${ECHO} "=> You can ignore any previous lines about opera6rc"
@${ECHO}
|