Perl Bindings for SDL
Requested by: Luca Lesinigo <luckyluke@softhome.net> PR: 44520 Submitted by: Klaus Goger <klaus.goger@reflex.at> Approved by: kris (mentor)
This commit is contained in:
parent
4fb08117fb
commit
4208f2b401
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69343
@ -563,6 +563,7 @@
|
||||
SUBDIR += p5-Religion
|
||||
SUBDIR += p5-ResourcePool
|
||||
SUBDIR += p5-Resources
|
||||
SUBDIR += p5-SDL
|
||||
SUBDIR += p5-SPOPS
|
||||
SUBDIR += p5-Search-Binary
|
||||
SUBDIR += p5-Server-FastPL
|
||||
|
70
devel/p5-SDL/Makefile
Normal file
70
devel/p5-SDL/Makefile
Normal file
@ -0,0 +1,70 @@
|
||||
# New Ports Collection Makefile for: p5-sdl
|
||||
# Date created: 2002-10-06
|
||||
# Whom: Klaus Goger <klaus.goger@reflex.at>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sdl
|
||||
PORTVERSION= 1.18.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.sdlperl.org/downloads/
|
||||
PKGNAMEPREFIX= p5-
|
||||
DISTNAME= SDL_perl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= klaus.goger@reflex.at
|
||||
|
||||
LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_SDL_TTF)
|
||||
LIB_DEPENDS+= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDL_NET)
|
||||
LIB_DEPENDS+= SDL_net.0:${PORTSDIR}/net/sdl_net
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDL_GFX)
|
||||
LIB_DEPENDS+= SDL_gfx.0:${PORTSDIR}/graphics/sdl_gfx
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDL_IMAGE)
|
||||
LIB_DEPENDS+= SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SDL_MIXER)
|
||||
LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
|
||||
.endif
|
||||
|
||||
USE_PERL5= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= SDL::Cursor.3 SDL::Rect.3 SDL::Color.3 SDL::TTFont.3 \
|
||||
SDL::App.3 SDL::Timer.3 SDL::Event.3 SDL::Console.3 \
|
||||
SDL::Mixer.3 SDL::Cdrom.3 SDL::Font.3 SDL::Surface.3 \
|
||||
SDL.3
|
||||
|
||||
pre-extract:
|
||||
.if !defined(WITHOUT_SDL_GFX)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_SDL_GFX."
|
||||
.endif
|
||||
.if !defined(WITHOUT_SDL_IMAGE)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_SDL_IMAGE."
|
||||
.endif
|
||||
.if !defined(WITHOUT_SDL_MIXER)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_SDL_MIXER."
|
||||
.endif
|
||||
.if !defined(WITHOUT_SDL_NET)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_SDL_NET."
|
||||
.endif
|
||||
.if !defined(WITHOUT_SDL_TTF)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_SDL_TTF."
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC}; ${PERL} ${WRKSRC}/Makefile.freebsd
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
devel/p5-SDL/distinfo
Normal file
1
devel/p5-SDL/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (SDL_perl-1.18.7.tar.gz) = b69f6affc8aa580fefc0331f345f6c8c
|
1
devel/p5-SDL/pkg-comment
Normal file
1
devel/p5-SDL/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Perl Bindings for SDL
|
4
devel/p5-SDL/pkg-descr
Normal file
4
devel/p5-SDL/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Programming SDL with Perl
|
||||
|
||||
Author: David J. Goehrig
|
||||
WWW: http://www.sdlperl.org
|
30
devel/p5-SDL/pkg-plist
Normal file
30
devel/p5-SDL/pkg-plist
Normal file
@ -0,0 +1,30 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SDL_perl/SDL_perl.so
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SDL_perl/SDL_perl.bs
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SDL_perl/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SDL/autosplit.ix
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Cursor.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/TTFont.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Color.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Timer.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/App.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Music.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Event.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/OpenGL.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/OpenGL/Model.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/OpenGL/Cube.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Mixer.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Sound.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Surface.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Rect.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Palette.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Console.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Cdrom.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/FontTool.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Font.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/Shell.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/GraphicTool.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL_perl.pm
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SDL_perl
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL/OpenGL
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SDL
|
Loading…
Reference in New Issue
Block a user