diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-22 15:21:03 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-22 15:21:03 +0000 |
commit | 32d1ac699ebf16dac26d3fa25ee411eca5cd155f (patch) | |
tree | 005f127fd00401492cbbf0f65bee1b76389f2b92 /graphics/p5-ming | |
parent | 35cbf0976fb8564c1faca55b0006a547629a80d5 (diff) | |
download | ports-32d1ac699ebf16dac26d3fa25ee411eca5cd155f.tar.gz ports-32d1ac699ebf16dac26d3fa25ee411eca5cd155f.zip |
Notes
Diffstat (limited to 'graphics/p5-ming')
-rw-r--r-- | graphics/p5-ming/Makefile | 14 | ||||
-rw-r--r-- | graphics/p5-ming/files/patch-Makefile.PL | 33 | ||||
-rw-r--r-- | graphics/p5-ming/pkg-descr | 2 |
3 files changed, 8 insertions, 41 deletions
diff --git a/graphics/p5-ming/Makefile b/graphics/p5-ming/Makefile index fafca79fcadd..8b4930172a71 100644 --- a/graphics/p5-ming/Makefile +++ b/graphics/p5-ming/Makefile @@ -1,18 +1,16 @@ -# New ports collection makefile for: p5-ming -# Date created: 18 September 2001 -# Whom: Akinori MUSHA aka knu <knu@idaemons.org> -# +# Created by: Akinori MUSHA aka knu <knu@idaemons.org> # $FreeBSD$ -# PORTNAME= ming -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= graphics perl5 PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl5 module for Ming which allows you to create Flash 4/5 movies +OPTIONS_DEFINE= EXAMPLES + CONFIGURE_ARGS= --enable-perl INSTALL_WRKSRC= ${WRKSRC}/perl_ext MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} @@ -59,8 +57,10 @@ MAN3= SWF.3 \ SWF::TextField.3 \ SWF::VideoStream.3 +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ cd ${INSTALL_WRKSRC}/examples/ && ${INSTALL_DATA} *.cgi ${EXAMPLESDIR}/ .endif diff --git a/graphics/p5-ming/files/patch-Makefile.PL b/graphics/p5-ming/files/patch-Makefile.PL deleted file mode 100644 index 7ef2bf8160c1..000000000000 --- a/graphics/p5-ming/files/patch-Makefile.PL +++ /dev/null @@ -1,33 +0,0 @@ ---- Makefile.PL.orig 2011-10-26 14:33:18.000000000 +0800 -+++ Makefile.PL 2011-11-20 17:28:21.555225857 +0800 -@@ -146,11 +146,9 @@ - clean => { - FILES => "@do_clean", - }, -- 'MYEXTLIB' => $MING_TOP_BUILDDIR . '/src/.libs/libming.a', - 'OBJECT' => "$XS_OBJECTS", - 'LDFROM' => "$LD_OBJECTS", - 'INC' => "-I$MING_TOP_SRCDIR/src -I$BUILDDIR -I$MING_TOP_BUILDDIR/src -I$SRCDIR", -- 'LIBS' => [ $libs ], - 'PM' => $PM_HASH, - 'MAN3PODS' => $MAN3_HASH, - 'TYPEMAPS' => ["$SRCDIR/typemap"], -@@ -164,17 +162,7 @@ - - sub ming_is_compiled - { -- my $libming = $MING_TOP_BUILDDIR."/src/.libs/libming.a"; -- -- if ( -e $libming ) -- { -- return 1; -- } -- else -- { -- print "$libming doesn't exist.\n"; -- return undef; -- } -+ return 1; - } - - # unused. At least it should take into account the configure flags by diff --git a/graphics/p5-ming/pkg-descr b/graphics/p5-ming/pkg-descr index 18b3ece94512..965cabedc058 100644 --- a/graphics/p5-ming/pkg-descr +++ b/graphics/p5-ming/pkg-descr @@ -1,4 +1,4 @@ -This is a Perl5 module for the Ming library. +This is the Perl 5 module for the Ming library. Ming allows you to create Flash 4/5 (TM) movies. WWW: http://www.libming.org/ |