summaryrefslogtreecommitdiffstats
path: root/devel/sdl_ldbad/Makefile
blob: 79b4dc2e9315d4a6511697b6e7aa3551a4bcc4c8 (plain)
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
# New ports collection makefile for:	sdl_ldbad
# Date created:				17 April 2002
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	sdl_ldbad
PORTVERSION=	1.0
CATEGORIES=	devel
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	sobomax@FreeBSD.org

LIB_DEPENDS=	SDL-1.1.4:${PORTSDIR}/devel/sdl12

SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-fetch:
	@${DO_NADA}

do-install:
	${LN} -shf ${LOCALBASE}/bin/sdl11-config ${PREFIX}/bin/sdl-config
	${LN} -shf ${LOCALBASE}/include/SDL11 ${PREFIX}/include/SDL
.for lib in SDL-1.1.a SDL-1.1.so SDL-1.1.so.4 SDLmain-1.1.a
	${LN} -shf ${LOCALBASE}/lib/${lib} ${PREFIX}/lib/${lib:S/-1.1//}
.endfor
	${LN} -shf ${LOCALBASE}/share/aclocal/sdl11.m4 ${PREFIX}/share/aclocal/sdl.m4

.include <bsd.port.mk>
OpenPOWER on IntegriCloud