Add a compat12x port after the bump of ncurses lib in base

This commit is contained in:
Baptiste Daroussin 2020-02-20 09:27:49 +00:00
parent d989952956
commit 444eb46a50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526555
5 changed files with 65 additions and 0 deletions

41
misc/compat12x/Makefile Normal file
View file

@ -0,0 +1,41 @@
# $FreeBSD$
PORTNAME= compat12x
PORTVERSION= 12.1.1201000.20200220
CATEGORIES= misc
MASTER_SITES= LOCAL/bapt
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
MAINTAINER= bapt@FreeBSD.org
COMMENT= Convenience package to install the compat12x libraries
LICENSE= BSD2CLAUSE
USES= tar:xz
NO_BUILD= yes
ONLY_FOR_ARCHS= i386 amd64
PLIST= ${PKGDIR}/pkg-plist.${ARCH}
TARGET_DIR= ${PREFIX}/lib/compat
TARGET32_DIR= ${PREFIX}/lib32/compat
USE_LDCONFIG= ${TARGET_DIR}
.include <bsd.port.pre.mk>
.if ${OSREL:R} < 13
IGNORE= is for FreeBSD 13.x and newer
.endif
.if ${ARCH} == amd64
USE_LDCONFIG32= ${TARGET32_DIR}
.endif
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
(cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR})
.if ${ARCH} == amd64
@${MKDIR} ${STAGEDIR}${TARGET32_DIR}
(cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR})
.endif
.include <bsd.port.post.mk>

6
misc/compat12x/distinfo Normal file
View file

@ -0,0 +1,6 @@
TIMESTAMP = 1582190702
SHA256 (compat12x-i386-12.1.1201000.20200220.tar.xz) = 3b6b8e7bd69b27572b8a15797127a7f996366a9b552b64628c71633f48e432bb
SIZE (compat12x-i386-12.1.1201000.20200220.tar.xz) = 159692
TIMESTAMP = 1582190656
SHA256 (compat12x-amd64-12.1.1201000.20200220.tar.xz) = a30217e16793249a05cd2cfa84b2171d70803b1beb5be118ebad02fbf033de7e
SIZE (compat12x-amd64-12.1.1201000.20200220.tar.xz) = 313084

12
misc/compat12x/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
This package allows you to install the compat12x libraries on your
system, so you can use legacy binaries that depend on them.
Ports usage example:
--
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1300000
LIB_DEPENDS+= libncurses.so.8:misc/compat12x
.endif
--

View file

@ -0,0 +1,4 @@
lib/compat/libncurses.so.8
lib/compat/libncursesw.so.8
lib32/compat/libncurses.so.8
lib32/compat/libncursesw.so.8

View file

@ -0,0 +1,2 @@
lib/compat/libncurses.so.8
lib/compat/libncursesw.so.8