aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-SDL
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-03 14:34:09 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-03 14:34:09 +0000
commit4208f2b40175bdc25c1867fbc42203d1994c7d48 (patch)
tree5a21129eb3c63dee740527023544e36ffa6e6aa8 /devel/p5-SDL
parent4fb08117fbed62780341e8aad88a8a7d3e88e7d1 (diff)
downloadports-4208f2b40175bdc25c1867fbc42203d1994c7d48.tar.gz
ports-4208f2b40175bdc25c1867fbc42203d1994c7d48.zip
Notes
Diffstat (limited to 'devel/p5-SDL')
-rw-r--r--devel/p5-SDL/Makefile70
-rw-r--r--devel/p5-SDL/distinfo1
-rw-r--r--devel/p5-SDL/pkg-comment1
-rw-r--r--devel/p5-SDL/pkg-descr4
-rw-r--r--devel/p5-SDL/pkg-plist30
5 files changed, 106 insertions, 0 deletions
diff --git a/devel/p5-SDL/Makefile b/devel/p5-SDL/Makefile
new file mode 100644
index 000000000000..301bbf4999ff
--- /dev/null
+++ b/devel/p5-SDL/Makefile
@@ -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>
diff --git a/devel/p5-SDL/distinfo b/devel/p5-SDL/distinfo
new file mode 100644
index 000000000000..6eb5786eda15
--- /dev/null
+++ b/devel/p5-SDL/distinfo
@@ -0,0 +1 @@
+MD5 (SDL_perl-1.18.7.tar.gz) = b69f6affc8aa580fefc0331f345f6c8c
diff --git a/devel/p5-SDL/pkg-comment b/devel/p5-SDL/pkg-comment
new file mode 100644
index 000000000000..870fc02cb2f3
--- /dev/null
+++ b/devel/p5-SDL/pkg-comment
@@ -0,0 +1 @@
+Perl Bindings for SDL
diff --git a/devel/p5-SDL/pkg-descr b/devel/p5-SDL/pkg-descr
new file mode 100644
index 000000000000..4dfd27d1bad8
--- /dev/null
+++ b/devel/p5-SDL/pkg-descr
@@ -0,0 +1,4 @@
+Programming SDL with Perl
+
+Author: David J. Goehrig
+WWW: http://www.sdlperl.org
diff --git a/devel/p5-SDL/pkg-plist b/devel/p5-SDL/pkg-plist
new file mode 100644
index 000000000000..a3383e3fc28e
--- /dev/null
+++ b/devel/p5-SDL/pkg-plist
@@ -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