2013-03-25 18:44:20 +00:00
|
|
|
# Created by: mnag
|
2007-06-20 03:00:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= compat6x
|
2008-10-17 02:34:50 +00:00
|
|
|
PORTVERSION= 6.4.604000.200810
|
2009-09-03 13:13:39 +00:00
|
|
|
PORTREVISION= 3
|
2007-06-20 03:00:26 +00:00
|
|
|
CATEGORIES= misc
|
2015-05-14 10:15:04 +00:00
|
|
|
MASTER_SITES= LOCAL/mnag/compat6x \
|
|
|
|
http://people.freebsd.org/~mnag/compat6x/
|
2007-06-20 03:00:26 +00:00
|
|
|
PKGNAMESUFFIX= -${ARCH}
|
|
|
|
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
|
|
|
|
|
2012-02-01 15:53:08 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-25 18:44:20 +00:00
|
|
|
COMMENT= Convenience package to install the compat6x libraries
|
2007-06-20 03:00:26 +00:00
|
|
|
|
2017-06-27 00:05:15 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 sparc64
|
|
|
|
|
|
|
|
USES= tar:bzip2
|
2007-06-20 03:00:26 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
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:
|
2014-02-05 14:12:35 +00:00
|
|
|
@${MKDIR} -m 755 ${STAGEDIR}${TARGET_DIR}
|
2016-10-21 12:51:40 +00:00
|
|
|
${RM} ${WRKSRC}/lib/libpthread.so.2
|
2014-02-05 14:12:35 +00:00
|
|
|
(cd ${STAGEDIR}${TARGET_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
|
|
|
|
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET_DIR})
|
2007-06-20 03:00:26 +00:00
|
|
|
.if ${ARCH} == amd64
|
2014-02-05 14:12:35 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${TARGET32_DIR}
|
2016-10-21 12:51:40 +00:00
|
|
|
${RM} ${WRKSRC}/lib32/libpthread.so.2
|
2014-02-05 14:12:35 +00:00
|
|
|
(cd ${STAGEDIR}${TARGET32_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
|
|
|
|
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET32_DIR})
|
2007-06-20 03:00:26 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|