aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2011-12-27 15:32:44 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2011-12-27 15:32:44 +0000
commiteb247292cd67601fb5a6a81c8110606b641303be (patch)
tree8ac442ae071ad8b06973f2843e1b5b50561f16c1 /graphics
parentbc3804b869152a2c5bb0e69ea309883fc04eb26e (diff)
downloadports-eb247292cd67601fb5a6a81c8110606b641303be.tar.gz
ports-eb247292cd67601fb5a6a81c8110606b641303be.zip
- Add a new port: graphics/pear-IO_SWF
PEAR library for reading/writing SWF binary WWW: http://openpear.org/package/IO_SW
Notes
Notes: svn path=/head/; revision=288112
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/pear-IO_SWF/Makefile79
-rw-r--r--graphics/pear-IO_SWF/distinfo2
-rw-r--r--graphics/pear-IO_SWF/pkg-descr3
4 files changed, 85 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index b83d6cace0d0..7afc1915ddca 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -683,6 +683,7 @@
SUBDIR += passepartout
SUBDIR += pdf2svg
SUBDIR += pear-Horde_Image
+ SUBDIR += pear-IO_SWF
SUBDIR += pear-Image_3D
SUBDIR += pear-Image_Barcode
SUBDIR += pear-Image_Canvas
diff --git a/graphics/pear-IO_SWF/Makefile b/graphics/pear-IO_SWF/Makefile
new file mode 100644
index 000000000000..4451de353dfa
--- /dev/null
+++ b/graphics/pear-IO_SWF/Makefile
@@ -0,0 +1,79 @@
+# New ports collection makefile for: pear-IO_SWF
+# Date created: 2011-11-02
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO_SWF
+PORTVERSION= 2.1.6
+CATEGORIES= graphics www pear
+MASTER_SITES= http://openpear.org/get/ \
+ LOCAL
+MASTER_SITE_SUBDIR= tota/${PKGNAMEPREFIX}${PORTNAME}
+PKGNAMEPREFIX= pear-
+
+MAINTAINER= yoya@awm.jp
+COMMENT= PEAR library for reading/writing SWF binary
+
+LICENSE= MIT
+
+RUN_DEPENDS= pear-IO_Bit>0:${PORTSDIR}/devel/pear-IO_Bit \
+ ${PEARDIR}/.channels/openpear.org.reg:${PORTSDIR}/devel/pear-channel-openpear
+
+USE_PHP= yes
+PEAR_CHANNEL= openpear
+
+FILES= IO/SWF.php IO/SWF/ActionEditor.php \
+ IO/SWF/Bitmap.php IO/SWF/Decompiler.php \
+ IO/SWF/Editor.php IO/SWF/Exception.php \
+ IO/SWF/Former.php IO/SWF/JPEG.php \
+ IO/SWF/Lossless.php IO/SWF/Tag.php \
+ IO/SWF/Tag/Action.php IO/SWF/Tag/BGColor.php \
+ IO/SWF/Tag/Base.php IO/SWF/Tag/Button.php \
+ IO/SWF/Tag/EditText.php IO/SWF/Tag/Font.php \
+ IO/SWF/Tag/FrameLabel.php IO/SWF/Tag/Jpeg.php \
+ IO/SWF/Tag/Lossless.php IO/SWF/Tag/Place.php \
+ IO/SWF/Tag/Remove.php IO/SWF/Tag/Shape.php \
+ IO/SWF/Tag/Sprite.php IO/SWF/Tag/Text.php \
+ IO/SWF/Type.php IO/SWF/Type/Action.php \
+ IO/SWF/Type/BUTTONCONDACTION.php \
+ IO/SWF/Type/BUTTONRECORD.php \
+ IO/SWF/Type/CLIPACTIONRECORD.php \
+ IO/SWF/Type/CLIPACTIONS.php \
+ IO/SWF/Type/CLIPEVENTFLAGS.php \
+ IO/SWF/Type/CXFORM.php \
+ IO/SWF/Type/CXFORMWITHALPHA.php \
+ IO/SWF/Type/Double.php IO/SWF/Type/FILLSTYLE.php \
+ IO/SWF/Type/FILLSTYLEARRAY.php \
+ IO/SWF/Type/FILTER.php IO/SWF/Type/FILTERLIST.php \
+ IO/SWF/Type/Float.php IO/SWF/Type/GLYPHENTRY.php \
+ IO/SWF/Type/KERNINGRECORD.php \
+ IO/SWF/Type/LANGCODE.php IO/SWF/Type/LINESTYLE.php \
+ IO/SWF/Type/LINESTYLEARRAY.php \
+ IO/SWF/Type/MATRIX.php IO/SWF/Type/RECT.php \
+ IO/SWF/Type/RGB.php IO/SWF/Type/RGBA.php \
+ IO/SWF/Type/SHAPE.php IO/SWF/Type/String.php \
+ IO/SWF/Type/TEXTRECORD.php
+EXAMPLES= get_bitmapsize.php jpeg_dump.php \
+ swfactioneditor.php swfconvlossless2pngjpeg.php \
+ swfcopy.php swfcountshapeedges.php \
+ swfdecompile.php swfdeformeshape.php swfdump.php \
+ swfgetmovieclip.php swflistmovieclip.php \
+ swfrebuild.php swfreplaceactionstrings.php \
+ swfreplacebitmapdata.php swfreplaceeditstring.php \
+ swfreplacemovieclip.php swfselectbycids.php \
+ swfsetactionvariables.php swfsetbgcolor.php
+_EXAMPLESDIR= sample
+
+x-generate-files: extract
+ @${FIND} ${WRKSRC}/IO -type f | ${SORT} | ${SED} 's@${WRKSRC}/@@' |\
+ ${FMT} -50 | ${SED} -e 's@^@ @' -e 's@$$@ \\@'
+
+x-generate-examples: extract
+ @${FIND} ${WRKSRC}/sample -type f | ${SORT} | ${SED} 's@${WRKSRC}/sample/@@' |\
+ ${FMT} -50 | ${SED} -e 's@^@ @' -e 's@$$@ \\@'
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/graphics/pear-IO_SWF/distinfo b/graphics/pear-IO_SWF/distinfo
new file mode 100644
index 000000000000..f0f467443095
--- /dev/null
+++ b/graphics/pear-IO_SWF/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PEAR/IO_SWF-2.1.6.tgz) = 2392db77631fe575d6d4f6d639560f79bcb1c54284bc0adba06ed4a2ecd15627
+SIZE (PEAR/IO_SWF-2.1.6.tgz) = 44442
diff --git a/graphics/pear-IO_SWF/pkg-descr b/graphics/pear-IO_SWF/pkg-descr
new file mode 100644
index 000000000000..2851df419d9f
--- /dev/null
+++ b/graphics/pear-IO_SWF/pkg-descr
@@ -0,0 +1,3 @@
+PEAR library for reading/writing SWF binary
+
+WWW: http://openpear.org/package/IO_SW