blob: 42397f02a9afed6185cdaac5276d9688d100eae3 (
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
|
# ex:ts=8
# Ports collection makefile for: osf1_base
# Date created: Mon Feb 03, 1998
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= osf1_base
PORTVERSION= 4.0f
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.support.compaq.com/private/alpha-tools-software/netscape/
DISTNAME= netscape-4.7-3.alpha
EXTRACT_SUFX= .rpm
MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
ONLY_FOR_ARCHS= alpha
PREFIX= /compat/osf1
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |cpio -idum
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
NO_MTREE= yes
do-install:
@if [ -z "`kldstat -v | ${GREP} -E 'osf1_ecoff'`" ]; then \
${ECHO} 'OSF/1 (Digital Unix / Tru64) mode is not enabled.\
Loading OSF/1 kernel module...' | fmt; \
osf1 || { \
${ECHO} 'The OSF/1 kernel module could not be loaded.\
Please manually load the module and retry.\
See "man osf1" for details.' | fmt; \
${FALSE}; \
};\
fi
@${MKDIR} ${PREFIX}/usr/lib
@${LN} -sf ${X11BASE}/lib/X11 ${PREFIX}/usr/lib
@(cd ${WRKSRC} && ${TAR} -cf - etc sbin usr/shlib) | \
${TAR} -xpf - -C ${PREFIX}
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libc_r.so
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libpthread.so
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libpthreads.so
@cd ${PREFIX}/sbin ; ${LN} -sf /bin/sh sh
@touch ${PREFIX}/etc/sia/siainitgood
.include <bsd.port.mk>
|