mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Update ming to 0.2a.
This commit is contained in:
parent
924ce8f821
commit
1402ed0dcc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47936
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.1.1
|
||||
PORTVERSION= 0.2a
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.opaque.net/ming/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-examples${EXTRACT_SUFX}
|
||||
@ -40,7 +40,9 @@ post-extract:
|
||||
${SED} -e 's:"\.\./\.\./ming\.h":<ming.h>:g' \
|
||||
${WRKSRC}/ming.h > ${WRKSRC}/mingpp.h
|
||||
cd ${WRKSRC}/../util && \
|
||||
${RM} bindump.c hexdump.c listmp3.c
|
||||
${RM} bindump.c decompile5.c hexdump.c listmp3.c
|
||||
# cd ${WRKSRC}/../php_ext && ${LN} -sf ming-4.0.6.c ming.c
|
||||
${RM} -rf ${WRKSRC}/../examples/results
|
||||
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (ming-0.1.1.tgz) = d3da8902e238266d2d8f7c1ec8e1668a
|
||||
MD5 (ming-0.2a.tgz) = 72b25da0af28d9cb025c2aaf3fd0185c
|
||||
MD5 (ming-examples.tgz) = 592953577628990479c9be78522da8de
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= ming
|
||||
SHLIB_MAJOR?= 2
|
||||
SHLIB_MAJOR?= 3
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= -I${.CURDIR}/actioncompiler -I${.CURDIR}/blocks -I${LOCALBASE}/include
|
||||
LDADD= -lm
|
||||
@ -12,12 +12,16 @@ SRCS= blocklist.c \
|
||||
movie.c \
|
||||
movieclip.c \
|
||||
position.c \
|
||||
shape_cubic.c \
|
||||
shape_util.c \
|
||||
text_util.c \
|
||||
actioncompiler/assembler.c \
|
||||
actioncompiler/compile.c \
|
||||
actioncompiler/compileaction.c \
|
||||
actioncompiler/compiler.tab.c \
|
||||
actioncompiler/lex.yy.c \
|
||||
actioncompiler/lex.swf4.c \
|
||||
actioncompiler/lex.swf5.c \
|
||||
actioncompiler/swf4compiler.tab.c \
|
||||
actioncompiler/swf5compiler.tab.c \
|
||||
blocks/action.c \
|
||||
blocks/bitmap.c \
|
||||
blocks/block.c \
|
||||
@ -41,6 +45,7 @@ SRCS= blocklist.c \
|
||||
blocks/mp3.c \
|
||||
blocks/output.c \
|
||||
blocks/outputblock.c \
|
||||
blocks/placeobject.c \
|
||||
blocks/rect.c \
|
||||
blocks/shape.c \
|
||||
blocks/soundstream.c \
|
||||
@ -57,6 +62,7 @@ INCS= blocklist.h \
|
||||
movie.h \
|
||||
movieclip.h \
|
||||
position.h \
|
||||
shape_cubic.h \
|
||||
shape_util.h \
|
||||
text_util.h
|
||||
|
||||
@ -89,8 +95,9 @@ pre-_includeinstall:
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
|
||||
${.CURDIR}/blocks/block.h ${.CURDIR}/blocks/cxform.h \
|
||||
${.CURDIR}/blocks/error.h ${.CURDIR}/blocks/input.h \
|
||||
${.CURDIR}/blocks/matrix.h ${.CURDIR}/blocks/outputblock.h \
|
||||
${.CURDIR}/blocks/error.h ${.CURDIR}/blocks/exports.h \
|
||||
${.CURDIR}/blocks/input.h ${.CURDIR}/blocks/matrix.h \
|
||||
${.CURDIR}/blocks/outputblock.h ${.CURDIR}/blocks/placeobject.h \
|
||||
${.CURDIR}/blocks/sound.h ${.CURDIR}/blocks/sprite.h \
|
||||
${.CURDIR}/blocks/swf.h ${.CURDIR}/blocks/blocktypes.h \
|
||||
${.CURDIR}/blocks/character.h ${.CURDIR}/blocks/libswf.h \
|
||||
|
@ -15,6 +15,7 @@ include/ming/ming.h
|
||||
include/ming/movie.h
|
||||
include/ming/movieclip.h
|
||||
include/ming/position.h
|
||||
include/ming/shape_cubic.h
|
||||
include/ming/shape_util.h
|
||||
include/ming/text_util.h
|
||||
include/ming/blocks/block.h
|
||||
@ -22,12 +23,14 @@ include/ming/blocks/blocktypes.h
|
||||
include/ming/blocks/character.h
|
||||
include/ming/blocks/cxform.h
|
||||
include/ming/blocks/error.h
|
||||
include/ming/blocks/exports.h
|
||||
include/ming/blocks/input.h
|
||||
include/ming/blocks/libswf.h
|
||||
include/ming/blocks/matrix.h
|
||||
include/ming/blocks/method.h
|
||||
include/ming/blocks/output.h
|
||||
include/ming/blocks/outputblock.h
|
||||
include/ming/blocks/placeobject.h
|
||||
include/ming/blocks/rect.h
|
||||
include/ming/blocks/sound.h
|
||||
include/ming/blocks/sprite.h
|
||||
@ -37,7 +40,7 @@ include/ming/mingpp.h
|
||||
@dirrm include/ming
|
||||
lib/libming.a
|
||||
lib/libming.so
|
||||
lib/libming.so.2
|
||||
lib/libming.so.3
|
||||
%%PORTDOCS%%share/doc/ming/CHANGES
|
||||
%%PORTDOCS%%share/doc/ming/CREDITS
|
||||
%%PORTDOCS%%share/doc/ming/README
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.1.1
|
||||
PORTVERSION= 0.2a
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -15,7 +15,7 @@ DISTFILES= # none
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
|
||||
LIB_DEPENDS= ming.2:${PORTSDIR}/graphics/ming
|
||||
LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
--- Makefile.orig Mon Mar 19 10:26:33 2001
|
||||
+++ Makefile Tue Mar 20 18:28:05 2001
|
||||
--- Makefile.orig Sat Aug 18 02:05:55 2001
|
||||
+++ Makefile Tue Sep 18 14:44:34 2001
|
||||
@@ -1,13 +1,13 @@
|
||||
#PYINCDIR = /usr/local/include/python2.0
|
||||
#PYLIBDIR = /usr/local/lib/python2.0
|
||||
|
||||
-PYINCDIR = /usr/include/python1.5
|
||||
-PYLIBDIR = /usr/lib/python1.5
|
||||
-PYINCDIR = /usr/local/include/python2.0
|
||||
-PYLIBDIR = /usr/local/lib/python2.0
|
||||
+PYINCDIR = ${LOCALBASE}/include/${PYTHON_VERSION}
|
||||
+PYLIBDIR = ${LOCALBASE}/lib/${PYTHON_VERSION}
|
||||
|
||||
#PYINCDIR = /usr/include/python1.5
|
||||
#PYLIBDIR = /usr/lib/python1.5
|
||||
|
||||
-all:
|
||||
+all: mingcmodule.so
|
||||
|
||||
mingcmodule.so: ming_wrap.o ../libming.a
|
||||
- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o ../libming.a
|
||||
+ ${CC} -g -Wall -L .. -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
|
||||
mingcmodule.so: ming_wrap.o
|
||||
- gcc -g -Wall -shared -o mingcmodule.so ming_wrap.o -lming
|
||||
+ ${CC} -g -Wall -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
|
||||
|
||||
mingc.pyd: ming_wrap.o
|
||||
dllwrap --dllname mingc.pyd --driver-name gcc --def mingc.def \
|
||||
@ -25,9 +25,9 @@
|
||||
- gcc -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c
|
||||
+ ${CC} ${CFLAGS} -g -Wall -I .. -I ${PYINCDIR} -fpic -c ming_wrap.c
|
||||
|
||||
swig:
|
||||
swig -I.. -python ming.i
|
||||
@@ -24,4 +24,4 @@
|
||||
../libming.a:
|
||||
cd ..; make static
|
||||
@@ -27,4 +27,4 @@
|
||||
rm -f mingcmodule.so core *~ *.o ming.pyc
|
||||
|
||||
install:
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.1.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.2a
|
||||
CATEGORIES= graphics ruby
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -17,7 +16,7 @@ MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel \
|
||||
${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
|
||||
LIB_DEPENDS= ming.2:${PORTSDIR}/graphics/ming
|
||||
LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
Loading…
Reference in New Issue
Block a user