aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-ming
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-18 07:02:14 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-18 07:02:14 +0000
commit6a74f4b766bb8f88336b65dcbdb9c75240f604b4 (patch)
tree9ce2c186c7ab22a034ef9afba4410cabab02eace /graphics/p5-ming
parent87830c435a00f6a73a6b0073c98fedcc9fa078e2 (diff)
downloadports-6a74f4b766bb8f88336b65dcbdb9c75240f604b4.tar.gz
ports-6a74f4b766bb8f88336b65dcbdb9c75240f604b4.zip
Notes
Diffstat (limited to 'graphics/p5-ming')
-rw-r--r--graphics/p5-ming/Makefile52
-rw-r--r--graphics/p5-ming/files/patch-Makefile.PL20
-rw-r--r--graphics/p5-ming/pkg-comment1
-rw-r--r--graphics/p5-ming/pkg-descr4
-rw-r--r--graphics/p5-ming/pkg-plist27
5 files changed, 104 insertions, 0 deletions
diff --git a/graphics/p5-ming/Makefile b/graphics/p5-ming/Makefile
new file mode 100644
index 000000000000..a6b53d1958cd
--- /dev/null
+++ b/graphics/p5-ming/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: p5-ming
+# Date created: 18 September 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ming
+PORTVERSION= 0.2a
+CATEGORIES= graphics perl5
+MASTER_SITES= # none
+PKGNAMEPREFIX= p5-
+DISTFILES= # none
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
+LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
+
+USE_PERL5= yes
+
+MD5_FILE= ${.CURDIR}/../ming/distinfo
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/perl_ext
+PERL_CONFIGURE= yes
+CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= SWF.3 \
+ SWF::Action.3 \
+ SWF::Bitmap.3 \
+ SWF::Button.3 \
+ SWF::DisplayItem.3 \
+ SWF::Morph.3 \
+ SWF::Shape.3 \
+ SWF::Sprite.3
+
+EXAMPLES= examples/*
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/perl5/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/perl5/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-ming/files/patch-Makefile.PL b/graphics/p5-ming/files/patch-Makefile.PL
new file mode 100644
index 000000000000..76d6e0264de9
--- /dev/null
+++ b/graphics/p5-ming/files/patch-Makefile.PL
@@ -0,0 +1,20 @@
+--- Makefile.PL.orig Sat Aug 18 02:05:50 2001
++++ Makefile.PL Tue Sep 18 15:09:21 2001
+@@ -37,14 +37,14 @@
+ WriteMakefile(
+ 'NAME' => 'SWF',
+ 'VERSION_FROM' => 'SWF.pm', # finds $VERSION
+- 'LIBS' => [''], # e.g., '-lm'
++ 'LIBS' => ["-L$ENV{LOCALBASE}/lib -lming"], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+ 'INC' => '', # e.g., '-I/usr/include/other'
+- 'MYEXTLIB' => $MING_DIR . '/libming.a',
++# 'MYEXTLIB' => $MING_DIR . '/libming.a',
+ );
+
+ sub ming_is_compiled{
+- return undef unless (-e "$MING_DIR/libming.a");
++# return undef unless (-e "$MING_DIR/libming.a");
+ return 1;
+ }
+
diff --git a/graphics/p5-ming/pkg-comment b/graphics/p5-ming/pkg-comment
new file mode 100644
index 000000000000..499a35ad152a
--- /dev/null
+++ b/graphics/p5-ming/pkg-comment
@@ -0,0 +1 @@
+Perl5 module for Ming which allows you to create Flash 4/5 movies
diff --git a/graphics/p5-ming/pkg-descr b/graphics/p5-ming/pkg-descr
new file mode 100644
index 000000000000..911636f161fd
--- /dev/null
+++ b/graphics/p5-ming/pkg-descr
@@ -0,0 +1,4 @@
+This is a Perl5 module for the Ming library.
+Ming allows you to create Flash 4/5 (TM) movies.
+
+Author: Soheil Seyfaie <soheil@netcom.ca>
diff --git a/graphics/p5-ming/pkg-plist b/graphics/p5-ming/pkg-plist
new file mode 100644
index 000000000000..6dd154574b06
--- /dev/null
+++ b/graphics/p5-ming/pkg-plist
@@ -0,0 +1,27 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Action.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Bitmap.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Button.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/DisplayItem.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Fill.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Font.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Gradient.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Morph.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Movie.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Shape.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Sound.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Sprite.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/Text.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF/TextField.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SWF
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SWF/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SWF/SWF.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SWF/SWF.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SWF
+%%PORTDOCS%%share/examples/perl5/ming/animation.cgi
+%%PORTDOCS%%share/examples/perl5/ming/jpegfill.cgi
+%%PORTDOCS%%share/examples/perl5/ming/morph.cgi
+%%PORTDOCS%%share/examples/perl5/ming/shape.cgi
+%%PORTDOCS%%share/examples/perl5/ming/sprite.cgi
+%%PORTDOCS%%@dirrm share/examples/perl5/ming
+%%PORTDOCS%%@unexec rmdir %D/share/examples/perl5 2>/dev/null || true