pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ming Import ming from pkgsrc-wip. Packaged b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92888c9a5aab
branches:  trunk
changeset: 502303:92888c9a5aab
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Nov 04 02:47:10 2005 +0000

description:
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:

 graphics/ming/DESCR            |   3 +++
 graphics/ming/Makefile         |  15 +++++++++++++++
 graphics/ming/Makefile.common  |  11 +++++++++++
 graphics/ming/PLIST            |   7 +++++++
 graphics/ming/buildlink3.mk    |  18 ++++++++++++++++++
 graphics/ming/distinfo         |   7 +++++++
 graphics/ming/patches/patch-aa |  24 ++++++++++++++++++++++++
 graphics/ming/patches/patch-ab |  28 ++++++++++++++++++++++++++++
 8 files changed, 113 insertions(+), 0 deletions(-)

diffs (145 lines):

diff -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/DESCR       Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/Makefile    Fri Nov 04 02:47:10 2005 +0000
@@ -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@localhost
+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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/Makefile.common     Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/PLIST       Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/buildlink3.mk       Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/distinfo    Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/patches/patch-aa    Fri Nov 04 02:47:10 2005 +0000
@@ -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 -r b001cd99b8a2 -r 92888c9a5aab graphics/ming/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ming/patches/patch-ab    Fri Nov 04 02:47:10 2005 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index