diff options
author | knu <knu@FreeBSD.org> | 2001-08-13 12:32:06 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-13 12:32:06 +0800 |
commit | 47db13251b4fcc80b43c1029cd82e5976c1446fb (patch) | |
tree | 22e10367f68cf4077c45ec48e2eaa92de433706d /misc/compat3x/Makefile | |
parent | 716a0b77318ea05ae9670c170d11f9b12220c931 (diff) | |
download | freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.tar.gz freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.tar.zst freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.zip |
Add compat22, compat3x and compat4x. These packages allow you to
install the compat libraries on your system, so you can use legacy
binaries that depend on them.
PR: ports/29371
Submitted by: Scot W. Hetzel <hetzels@westbend.net>
Altered by: knu
Diffstat (limited to 'misc/compat3x/Makefile')
-rw-r--r-- | misc/compat3x/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile new file mode 100644 index 000000000000..3aae1f19c0fb --- /dev/null +++ b/misc/compat3x/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: compat3x libraries +# Date created: 01 Aug 2001 +# Whom: Scot W. Hetzel +# +# $FreeBSD$ +# + +PORTNAME= compat3x +PORTVERSION= 4.3 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG} +MASTER_SITE_SUBDIR= releases/${ARCH}/${PORTVERSION}-RELEASE/${PORTNAME} +PKGNAMESUFFIX= -${ARCH} +DISTFILES= ${PORTNAME}.aa \ + ${PORTNAME}.ab \ + ${PORTNAME}.ac \ + ${PORTNAME}.ad \ + ${PORTNAME}.ae \ + ${PORTNAME}.af +DIST_SUBDIR= ${ARCH}/${PORTVERSION} + +MAINTAINER= hetzels@westbend.net + +ONLY_FOR_ARCHS= i386 + +PREFIX?= /usr + +WRKSRC= ${WRKDIR}/usr/lib/compat +NO_MTREE= yes +NO_BUILD= yes + +TARGET_DIR= ${PREFIX}/lib/compat + +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib/compat + +do-extract: + ${MKDIR} ${WRKDIR} + cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR} + ${MV} ${WRKSRC}/libc_r.so.4 ${WRKSRC}/libc_r.so.4.compat3x + +do-install: + ${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/ + if [ ! -e ${TARGET_DIR}/libc_r.so.4.compat4x ]; then \ + ${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat3x ${TARGET_DIR}/libc_r.so.4; \ + fi + +.include <bsd.port.mk> |