884199b6e1
combined with a FreeBSD SDL package creates development environment more similar to SDL development environment on other platforms (mostly Linux). Please note that this package is only for developer's use - no package should use it as a dependency! Created due to massive number of complais from the Linux camp that local FreeBSD hacks (sdl-config --> sdl11-config, include/SDL --> include/SDL11 etc.) are making FreeBSD useless platform for SDL developer.
34 lines
798 B
Makefile
34 lines
798 B
Makefile
# 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>
|