pkgsrc/emulators/osf1_lib/Makefile

50 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2003/03/29 12:40:50 jmmv Exp $
DISTNAME= netscape-4.7-3.alpha
PKGNAME= osf1_lib-1.1
WRKSRC= ${WRKDIR}
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}
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"