diff options
author | minskim <minskim> | 2005-11-04 02:59:54 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-11-04 02:59:54 +0000 |
commit | 23e7c8a4e607b70c3b4ea253189c99910bcfe2b1 (patch) | |
tree | 3495d07795e9232d747aa789693470c258721792 | |
parent | c806551fc057f8af8e98d4d7176f70e70946e386 (diff) | |
download | pkgsrc-23e7c8a4e607b70c3b4ea253189c99910bcfe2b1.tar.gz |
Move ming to the category that it should belong to.
-rw-r--r-- | multimedia/ming/DESCR | 3 | ||||
-rw-r--r-- | multimedia/ming/Makefile | 15 | ||||
-rw-r--r-- | multimedia/ming/Makefile.common | 11 | ||||
-rw-r--r-- | multimedia/ming/PLIST | 7 | ||||
-rw-r--r-- | multimedia/ming/buildlink3.mk | 18 | ||||
-rw-r--r-- | multimedia/ming/distinfo | 7 | ||||
-rw-r--r-- | multimedia/ming/patches/patch-aa | 24 | ||||
-rw-r--r-- | multimedia/ming/patches/patch-ab | 28 |
8 files changed, 113 insertions, 0 deletions
diff --git a/multimedia/ming/DESCR b/multimedia/ming/DESCR new file mode 100644 index 00000000000..855ec482d23 --- /dev/null +++ b/multimedia/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/multimedia/ming/Makefile b/multimedia/ming/Makefile new file mode 100644 index 00000000000..bc25cdfcc44 --- /dev/null +++ b/multimedia/ming/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/11/04 02:59:54 minskim Exp $ +# + +DISTNAME= ${MING_DISTNAME} +PKGNAME= ${MING_PKGNAME} +CATEGORIES= multimedia +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 "../../multimedia/ming/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/ming/Makefile.common b/multimedia/ming/Makefile.common new file mode 100644 index 00000000000..9421a1c335d --- /dev/null +++ b/multimedia/ming/Makefile.common @@ -0,0 +1,11 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2005/11/04 02:59:54 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}/../../multimedia/ming/distinfo +COMMON_FILESDIR?= ${.CURDIR}/../../multimedia/ming/files +PATCHDIR?= ${.CURDIR}/../../multimedia/ming/patches diff --git a/multimedia/ming/PLIST b/multimedia/ming/PLIST new file mode 100644 index 00000000000..0ac9d9a9f98 --- /dev/null +++ b/multimedia/ming/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/04 02:59:54 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/multimedia/ming/buildlink3.mk b/multimedia/ming/buildlink3.mk new file mode 100644 index 00000000000..7e92ab657bf --- /dev/null +++ b/multimedia/ming/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/11/04 02:59:54 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?= ../../multimedia/ming +.endif # MING_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/multimedia/ming/distinfo b/multimedia/ming/distinfo new file mode 100644 index 00000000000..b18b34c86f0 --- /dev/null +++ b/multimedia/ming/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/11/04 02:59:54 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/multimedia/ming/patches/patch-aa b/multimedia/ming/patches/patch-aa new file mode 100644 index 00000000000..4653d2fd8cd --- /dev/null +++ b/multimedia/ming/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/11/04 02:59:54 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/multimedia/ming/patches/patch-ab b/multimedia/ming/patches/patch-ab new file mode 100644 index 00000000000..794e20753d3 --- /dev/null +++ b/multimedia/ming/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/11/04 02:59:54 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} |