summaryrefslogtreecommitdiff
path: root/emulators/osf1_lib/Makefile
blob: 56a66101779e9f1a10a7531a2ade2c3266b2fe05 (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
49
50
# $NetBSD: Makefile,v 1.6 2004/01/20 12:14:41 agc Exp $

DISTNAME=	netscape-4.7-3.alpha
PKGNAME=	osf1_lib-1.1
CATEGORIES=	emulators
MASTER_SITES=	ftp://ftp.support.compaq.com/private/alpha-tools-software/netscape/
EXTRACT_SUFX=	.rpm

MAINTAINER=	eric@cirr.com
HOMEPAGE=	http://www.support.compaq.com/alpha-tools/software/index.html
COMMENT=	DEC/Compaq OSF-1/Tru64 compatibility package for netscape

RPM2PKG=	${LOCALBASE}/sbin/rpm2pkg
BUILD_DEPENDS+=	rpm2pkg>=1.2:../../pkgtools/rpm2pkg

ONLY_FOR_PLATFORM=	NetBSD-*-alpha

RESTRICTED=		"COMPAQ Licensed Software"
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_SRC_ON_FTP=		${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}

WRKSRC=			${WRKDIR}
EMULSUBDIR=		emul/osf1
EMULDIR=		${PREFIX}/${EMULSUBDIR}

EXTRACT_ONLY=	# empty
NO_CONFIGURE=	yes
NO_BUILD=	yes

RPMARGS=	-i usr/lib -i usr/bin ${DISTDIR}/${DISTFILES}

CHECK_SHLIBS=	no
SHLIB_HANDLING=	no

USE_X11=	yes

do-install:
	${RM} -f ${WRKDIR}/PLIST_DYNAMIC
	${INSTALL_DATA_DIR} ${EMULDIR}
	${RPM2PKG} -d ${PREFIX} -p ${EMULSUBDIR} ${RPMARGS}
	${TOUCH} ${EMULDIR}/etc/hosts
	(cd ${EMULDIR}; ${MKDIR} usr/lib/X11)
	(cd ${EMULDIR}/usr/lib/X11; ${LN} -fs ${X11BASE}/lib/X11/locale .)

post-install:
	PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL

.include "../../mk/bsd.pkg.mk"