diff options
author | minskim <minskim@pkgsrc.org> | 2005-11-04 02:47:10 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-11-04 02:47:10 +0000 |
commit | dd1680efd081125e78f19ab3a18e4401cefcfd24 (patch) | |
tree | 1d948aee6892a75632e09ed34c440ea87cf1e32c /graphics | |
parent | 75fc67afeff277ec0be84e24c97821f8b5b98d40 (diff) | |
download | pkgsrc-dd1680efd081125e78f19ab3a18e4401cefcfd24.tar.gz |
Import ming from pkgsrc-wip. Packaged by Michal Pasternak, and
modified by OBATA Akio.
Ming is a C library for generating SWF ("Flash") format movies, plus a
set of wrappers for using the library from C++ and popular scripting
languages like PHP, Python, and Ruby.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ming/DESCR | 3 | ||||
-rw-r--r-- | graphics/ming/Makefile | 15 | ||||
-rw-r--r-- | graphics/ming/Makefile.common | 11 | ||||
-rw-r--r-- | graphics/ming/PLIST | 7 | ||||
-rw-r--r-- | graphics/ming/buildlink3.mk | 18 | ||||
-rw-r--r-- | graphics/ming/distinfo | 7 | ||||
-rw-r--r-- | graphics/ming/patches/patch-aa | 24 | ||||
-rw-r--r-- | graphics/ming/patches/patch-ab | 28 |
8 files changed, 113 insertions, 0 deletions
diff --git a/graphics/ming/DESCR b/graphics/ming/DESCR new file mode 100644 index 00000000000..855ec482d23 --- /dev/null +++ b/graphics/ming/DESCR @@ -0,0 +1,3 @@ +Ming is a C library for generating SWF ("Flash") format movies, plus a +set of wrappers for using the library from C++ and popular scripting +languages like PHP, Python, and Ruby. diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile new file mode 100644 index 00000000000..68256ba6fa8 --- /dev/null +++ b/graphics/ming/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ +# + +DISTNAME= ${MING_DISTNAME} +PKGNAME= ${MING_PKGNAME} +CATEGORIES= graphics +MASTER_SITES= ${MING_MASTER_SITES} +EXTRACT_SUFX= ${MING_EXTRACT_SUFX} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://ming.sourceforge.net/ +COMMENT= Create SWF (Macromedia Flash) files with this library + +.include "../../graphics/ming/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ming/Makefile.common b/graphics/ming/Makefile.common new file mode 100644 index 00000000000..b4a0ae2dbf8 --- /dev/null +++ b/graphics/ming/Makefile.common @@ -0,0 +1,11 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ +# + +MING_DISTNAME= ming-0.2a +MING_PKGNAME= ming-0.2 +MING_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/} +MING_EXTRACT_SUFX= .tgz + +DISTINFO_FILE?= ${.CURDIR}/../ming/distinfo +COMMON_FILESDIR?= ${.CURDIR}/../ming/files +PATCHDIR?= ${.CURDIR}/../ming/patches diff --git a/graphics/ming/PLIST b/graphics/ming/PLIST new file mode 100644 index 00000000000..df629c8a00c --- /dev/null +++ b/graphics/ming/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ +include/ming.h +include/mingpp.h +lib/libming.a +lib/libming.so +lib/libming.so.0 +lib/libming.so.0.2 diff --git a/graphics/ming/buildlink3.mk b/graphics/ming/buildlink3.mk new file mode 100644 index 00000000000..131baa4970d --- /dev/null +++ b/graphics/ming/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MING_BUILDLINK3_MK:= ${MING_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= ming +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nming} +BUILDLINK_PACKAGES+= ming + +.if !empty(MING_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.ming+= ming>=0.2 +BUILDLINK_PKGSRCDIR.ming?= ../../graphics/ming +.endif # MING_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/ming/distinfo b/graphics/ming/distinfo new file mode 100644 index 00000000000..a94c4bbc0ce --- /dev/null +++ b/graphics/ming/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ + +SHA1 (ming-0.2a.tgz) = 9f8b4d9afcee51351b326e6f072352cc8ac013f5 +RMD160 (ming-0.2a.tgz) = 2dc888ca8ffda1e219002081973de8855b3faf61 +Size (ming-0.2a.tgz) = 316447 bytes +SHA1 (patch-aa) = ac4794d4d8684475d0166707f112cfb263defacb +SHA1 (patch-ab) = 82ce4f817902e0a589bf1bb0db5e5a1e4018eae6 diff --git a/graphics/ming/patches/patch-aa b/graphics/ming/patches/patch-aa new file mode 100644 index 00000000000..4508625d666 --- /dev/null +++ b/graphics/ming/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ + +--- Makefile.orig Fri Aug 17 19:05:49 2001 ++++ Makefile Sat Jan 3 22:31:08 2004 +@@ -1,15 +1,15 @@ + #CC = gcc -g -pg -a # profiling flags + #CC = gcc -O5 +-CC = gcc -g -Wall ++#CC = gcc -g -Wall + + #PREFIX = /usr/local +-PREFIX = /usr ++#PREFIX = /usr + LIBDIR = ${PREFIX}/lib + INCLUDEDIR = ${PREFIX}/include + +-all: dynamic #static ++all: dynamic static + +-install: install-common install-dynamic #install-static ++install: install-common install-dynamic install-static + + install-common: + install -d ${LIBDIR} diff --git a/graphics/ming/patches/patch-ab b/graphics/ming/patches/patch-ab new file mode 100644 index 00000000000..3dfcb260878 --- /dev/null +++ b/graphics/ming/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/11/04 02:47:10 minskim Exp $ + +--- py_ext/Makefile.orig 2001-08-18 02:05:55.000000000 +0900 ++++ py_ext/Makefile +@@ -7,7 +7,7 @@ PYLIBDIR = /usr/local/lib/python2.0 + all: + + mingcmodule.so: ming_wrap.o +- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o -lming ++ ${CC} ${LDFLAGS} -shared -o mingcmodule.so ming_wrap.o -lming + + mingc.pyd: ming_wrap.o + dllwrap --dllname mingc.pyd --driver-name gcc --def mingc.def \ +@@ -15,7 +15,7 @@ mingc.pyd: ming_wrap.o + --target=i386-mingw32 -Llib/ -lpython15 + + ming_wrap.o: ming_wrap.c +- gcc -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c ++ ${CC} ${CFLAGS} -I .. -fpic -c ming_wrap.c + + ../libming.a: + cd ..; make static +@@ -27,4 +27,4 @@ clean: + rm -f mingcmodule.so core *~ *.o ming.pyc + + install: +- cp mingcmodule.so ming.py ${PYLIBDIR}/site-packages ++ ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${PREFIX}/${PYSITELIB} |