2001-08-13 00:32:06 -04:00
|
|
|
# New ports collection makefile for: compat22 libraries
|
|
|
|
# Date created: 01 Aug 2001
|
|
|
|
# Whom: Scot W. Hetzel
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= compat22
|
2001-10-12 03:44:10 -04:00
|
|
|
PORTVERSION= 4.4
|
2001-08-13 00:32:06 -04:00
|
|
|
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
|
|
|
|
DIST_SUBDIR= ${ARCH}/${PORTVERSION}
|
|
|
|
|
2001-10-12 03:44:10 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-08-13 00:32:06 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
PORTOBJFORMAT= aout
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/usr/lib/compat/aout
|
|
|
|
NO_MTREE= yes
|
|
|
|
|
|
|
|
TARGET_DIR= ${PREFIX}/lib/compat/aout
|
|
|
|
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG= /sbin/ldconfig -aout
|
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/compat/aout
|
|
|
|
|
2001-08-15 14:17:47 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
2001-08-15 03:40:36 -04:00
|
|
|
|
2001-08-13 00:32:06 -04:00
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR}
|
|
|
|
|
2001-08-15 14:17:47 -04:00
|
|
|
do-build:
|
|
|
|
@( ${ECHO} '#!/bin/sh'; ${ECHO} '${LDCONFIG} -m ${LDCONFIG_RUNLIST}'; \
|
|
|
|
) > ${WRKDIR}/000.${PORTNAME}.sh
|
|
|
|
|
2001-08-13 00:32:06 -04:00
|
|
|
do-install:
|
2001-08-24 10:55:36 -04:00
|
|
|
${MKDIR} ${TARGET_DIR} ${PREFIX}/libexec ${PREFIX}/etc/rc.d
|
2001-08-13 00:32:06 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/usr/libexec/ld.so ${PREFIX}/libexec/
|
2001-08-15 14:17:47 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/000.${PORTNAME}.sh ${PREFIX}/etc/rc.d/
|
2001-08-13 00:32:06 -04:00
|
|
|
|
2001-08-15 14:17:47 -04:00
|
|
|
.include <bsd.port.post.mk>
|