2009-08-24 11:03:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= compat7x
|
2013-10-16 10:47:01 +00:00
|
|
|
PORTVERSION= 7.4.704000.201310.1
|
2009-08-24 11:03:03 +00:00
|
|
|
CATEGORIES= misc
|
2015-05-14 10:15:04 +00:00
|
|
|
MASTER_SITES= LOCAL/garga/compat
|
2009-08-24 11:03:03 +00:00
|
|
|
PKGNAMESUFFIX= -${ARCH}
|
|
|
|
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2014-07-07 15:31:01 +00:00
|
|
|
COMMENT= Convenience package to install the compat7x libraries
|
2009-08-24 11:03:03 +00:00
|
|
|
|
2014-03-25 11:05:33 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2013-10-31 23:38:29 +00:00
|
|
|
|
2014-03-25 11:05:33 +00:00
|
|
|
USES= tar:xz
|
2009-08-24 11:03:03 +00:00
|
|
|
NO_BUILD= yes
|
2013-10-15 11:37:43 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2009-08-24 11:03:03 +00:00
|
|
|
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 ${ARCH} == amd64
|
|
|
|
USE_LDCONFIG32= ${TARGET32_DIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2013-10-15 11:37:43 +00:00
|
|
|
@${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
|
|
|
|
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET_DIR})
|
|
|
|
(cd ${STAGEDIR}${TARGET_DIR} && ${LN} -sf /lib/libthr.so.3 libkse.so.3)
|
2009-08-24 11:03:03 +00:00
|
|
|
.if ${ARCH} == amd64
|
2013-10-15 11:37:43 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${TARGET32_DIR}
|
|
|
|
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET32_DIR})
|
|
|
|
(cd ${STAGEDIR}${TARGET32_DIR} && ${LN} -sf /usr/lib32/libthr.so.3 libkse.so.3)
|
2009-08-24 11:03:03 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|