aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/XFree86-aoutlibs/Makefile
blob: f4291c2248efa57ecf6cb5d32525ce18f18ab524 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    XFree86 3.3.6 aout libs
# Date created:     31 Oct 2000
# Whom:         Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD: /tmp/pcvs/ports/chinese/XFree86-aoutlibs/Attic/Makefile,v 1.5 2001-05-22 18:19:35 sobomax Exp $
#

# The file is identical to
# ftp://ftp.xfree86.org/pub/XFree86/3.3.6/binaries/FreeBSD-2.2.x/Xbin.tgz
# Renamed to avoid distfiles conflict with x11/XFree86-aoutlibs.

PORTNAME=   XFree86-aoutlibs
PORTVERSION=    3.3.6
CATEGORIES= chinese x11
MASTER_SITES=   ftp://freebsd.sinica.edu.tw/pub/keith/
DISTNAME=   Xbin336aout
EXTRACT_SUFX=   .tgz

MAINTAINER= keith@FreeBSD.org

RUN_DEPENDS=    ${X11BASE}/lib/aout/libX11.so.6.1:${PORTSDIR}/x11/XFree86-aoutlibs

ONLY_FOR_ARCHS= i386

WRKSRC=     ${WRKDIR}/lib
NO_BUILD=   yes
PORTOBJFORMAT=  aout

USE_X_PREFIX=   yes

pre-configure:
    @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} INSTALL

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

do-install:
    @${MKDIR} ${PREFIX}/lib/aout
    cd ${WRKSRC}; \
    for l in $$(ls lib*); do \
        ${SETENV} OBJFORMAT=${PORTOBJFORMAT} \
        ${INSTALL_PROGRAM} $$l ${PREFIX}/lib/aout; \
    done
    ${TOUCH} ${PREFIX}/lib/aout/zh-XFree86-aoutlibs-3.3.6
    ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/aout

.include <bsd.port.mk>