aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-aoutlibs/Makefile
blob: 853bc6e3b932753016f8e2888514c02eb6bc6c93 (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
# New ports collection makefile for:	XFree86 aout libs
# Date created:		28 Feburary 2000
# Whom:			Jeremy Lea <reg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	XFree86-aoutlibs
PORTVERSION=	3.3.6.9
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	ade

MAINTAINER=	ports@FreeBSD.org

ONLY_FOR_ARCHS=	i386

NO_BUILD=	yes
PORTOBJFORMAT=	aout

USE_X_PREFIX=	yes

.include <bsd.port.pre.mk>

pre-configure:
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} 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
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/aout

.include <bsd.port.post.mk>