PORTNAME= compat15x PORTVERSION= 15.0.1500068.20251213 CATEGORIES= misc MASTER_SITES= LOCAL/arrowd PKGNAMESUFFIX= -${ARCH} DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION} MAINTAINER= arrowd@FreeBSD.org COMMENT= Convenience package to install the compat15x libraries LICENSE= BSD2CLAUSE USES= tar:xz NO_BUILD= yes ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le PLIST= ${PKGDIR}/pkg-plist.${ARCH} TARGET_DIR= ${PREFIX}/lib/compat TARGET32_DIR= ${PREFIX}/lib32/compat USE_LDCONFIG= ${TARGET_DIR} COMPAT_LIBS= libtpool.so.2 \ libuutil.so.2 OPTIONS_DEFINE= COMPAT32 OPTIONS_DEFAULT=COMPAT32 OPTIONS_EXCLUDE_aarch64=COMPAT32 OPTIONS_EXCLUDE_i386=COMPAT32 OPTIONS_EXCLUDE_powerpc=COMPAT32 OPTIONS_EXCLUDE_powerpc64le=COMPAT32 COMPAT32_DESC= Install 32-bit compat libraries OPTIONS_SUB= yes .include "${.CURDIR}/../compat4x/Makefile.makedist" .include .if ${OSREL:R} < 15 IGNORE= is for FreeBSD 15.x and newer .endif .include .if ${PORT_OPTIONS:MCOMPAT32} USE_LDCONFIG32= ${TARGET32_DIR} .endif do-install: @${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR} (cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR}) do-install-COMPAT32-on: @${MKDIR} ${STAGEDIR}${TARGET32_DIR} (cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR}) .include