b2677a2cb0
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2003/08/30 22:51:15 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= compat13-${MACHINE_ARCH}${PKGMINOR}
|
|
PKGNAME= compat13-1.3.3${PKGMINOR}
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.3/index.html
|
|
COMMENT= Shared libraries for NetBSD 1.3 (and earlier) compatibility
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \
|
|
NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-mipsel \
|
|
NetBSD-*-ns32k NetBSD-*-sparc
|
|
NOT_FOR_PLATFORM= NetBSD-1.3*-*
|
|
|
|
NO_MTREE= # defined
|
|
NO_BUILD= # defined
|
|
SHLIB_HANDLING= NO
|
|
USE_PKGINSTALL= YES
|
|
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
|
|
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
|
|
|
|
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
|
|
FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH}
|
|
FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT}
|
|
FILES_SUBST+= LDCONFIG=${LDCONFIG}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances
|
|
.if ${OBJECT_FMT} == "ELF" && \
|
|
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")
|
|
EMULSUBDIR= emul/aout
|
|
COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
|
|
.else
|
|
LOCALBASE= /usr
|
|
COMPAT_LIBDIR= lib
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.alpha
|
|
PKGMINOR= nb1
|
|
.else
|
|
PKGMINOR=
|
|
.endif
|
|
|
|
PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|