summaryrefslogtreecommitdiff
path: root/emulators/osf1_lib/Makefile
blob: c3925237d28fa1546d0bc41f5b72ba292fd8300b (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.7 2005/05/25 12:11:23 wiz Exp $

DISTNAME=	netscape-4.7-3.alpha
PKGNAME=	osf1_lib-1.1
CATEGORIES=	emulators
MASTER_SITES=	ftp://ftp.digital.com/pub/DEC/Linux-Alpha-Tools/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"