diff options
author | knu <knu@FreeBSD.org> | 2001-09-18 15:02:14 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-09-18 15:02:14 +0800 |
commit | 23640c491a8f42dd31b8b8348e4971375b7133e3 (patch) | |
tree | 4ef18f2781446111e5012082fe8bbc8d5d71ca4f /graphics | |
parent | da09979b85de2132cfdf43aa592f8bfea8736a34 (diff) | |
download | freebsd-ports-gnome-23640c491a8f42dd31b8b8348e4971375b7133e3.tar.gz freebsd-ports-gnome-23640c491a8f42dd31b8b8348e4971375b7133e3.tar.zst freebsd-ports-gnome-23640c491a8f42dd31b8b8348e4971375b7133e3.zip |
Add p5-ming, a Perl5 module for Ming which allows you to create Flash
4/5 movies.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/p5-ming/Makefile | 52 | ||||
-rw-r--r-- | graphics/p5-ming/files/patch-Makefile.PL | 20 | ||||
-rw-r--r-- | graphics/p5-ming/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/p5-ming/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/p5-ming/pkg-plist | 27 |
6 files changed, 105 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 32089717dcc6..d60024c348b8 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -189,6 +189,7 @@ SUBDIR += p5-Imager SUBDIR += p5-Imlib2 SUBDIR += p5-chart + SUBDIR += p5-ming SUBDIR += panorama SUBDIR += peps SUBDIR += pgperl 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 |