mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Update to 0.0.3a.
This commit is contained in:
parent
66743463bd
commit
315855ac36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34211
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.0.2e
|
||||
PORTVERSION= 0.0.3a
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.opaque.net/ming/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -24,17 +24,4 @@ DOCS= CHANGES \
|
||||
pre-build:
|
||||
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/include/ming
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ming
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/../${f} ${PREFIX}/share/doc/ming/
|
||||
.endfor
|
||||
${CP} -R ${WRKSRC}/../docs/* ${PREFIX}/share/doc/ming/
|
||||
${LN} -sf ../doc/ming/examples ${PREFIX}/share/examples/ming
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ming-0.0.2e.tgz) = affc6a0a45d76674cd4dba738a07efc2
|
||||
MD5 (ming-0.0.3a.tgz) = 6bf8c311a76c9fd6aefab9536e31bdd4
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= ming
|
||||
SHLIB_MAJOR?= 0
|
||||
SHLIB_MAJOR?= 1
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= -I${.CURDIR}/actioncompiler -I${.CURDIR}/blocks -I${LOCALBASE}/include
|
||||
LDADD= -lm
|
||||
@ -10,24 +10,29 @@ SRCS= blocklist.c \
|
||||
movie.c \
|
||||
movieclip.c \
|
||||
position.c \
|
||||
shape.c \
|
||||
actioncompiler/compile.c \
|
||||
actioncompiler/compileaction.c \
|
||||
actioncompiler/compiler.tab.c \
|
||||
actioncompiler/lex.yy.c \
|
||||
blocks/action.c \
|
||||
blocks/bitmap.c \
|
||||
blocks/block.c \
|
||||
blocks/browserfont.c \
|
||||
blocks/button.c \
|
||||
blocks/character.c \
|
||||
blocks/cxform.c \
|
||||
blocks/dbl.c \
|
||||
blocks/fill.c \
|
||||
blocks/fillstyle.c \
|
||||
blocks/font.c \
|
||||
blocks/fontinfo.c \
|
||||
blocks/gradient.c \
|
||||
blocks/jpeg.c \
|
||||
blocks/linestyle.c \
|
||||
blocks/loadfont.c \
|
||||
blocks/matrix.c \
|
||||
blocks/method.c \
|
||||
blocks/morph.c \
|
||||
blocks/mp3.c \
|
||||
blocks/output.c \
|
||||
blocks/outputblock.c \
|
||||
@ -37,11 +42,42 @@ SRCS= blocklist.c \
|
||||
blocks/sprite.c \
|
||||
blocks/text.c \
|
||||
blocks/textfield.c
|
||||
INCS= blocktypes.h \
|
||||
INCS= blocklist.h \
|
||||
displaylist.h \
|
||||
fill.h \
|
||||
libming.h \
|
||||
ming.h \
|
||||
swf.h
|
||||
movie.h \
|
||||
movieclip.h \
|
||||
position.h \
|
||||
shape.h \
|
||||
blocks/swf.h
|
||||
|
||||
NOMAN= YES
|
||||
LIBDIR= ${LOCALBASE}/lib
|
||||
INCDIR= ${LOCALBASE}/include/ming
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# For FreeBSD 3.x or older
|
||||
.if !target(_includeinstall)
|
||||
_includeinstall:
|
||||
.if defined(INCS)
|
||||
.for header in ${INCS}
|
||||
cd ${.CURDIR} && \
|
||||
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
|
||||
${header} ${DESTDIR}${INCDIR}
|
||||
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
beforeinstall: _includeinstall
|
||||
.endif
|
||||
|
||||
_includeinstall: pre-_includeinstall
|
||||
|
||||
pre-_includeinstall:
|
||||
mkdir -p ${INCDIR}/blocks
|
||||
|
||||
beforeinstall:
|
||||
mv ${INCDIR}/swf.h ${INCDIR}/blocks/
|
||||
|
@ -1,62 +1,15 @@
|
||||
include/ming/blocktypes.h
|
||||
include/ming/blocklist.h
|
||||
include/ming/displaylist.h
|
||||
include/ming/fill.h
|
||||
include/ming/libming.h
|
||||
include/ming/ming.h
|
||||
include/ming/swf.h
|
||||
include/ming/movie.h
|
||||
include/ming/movieclip.h
|
||||
include/ming/position.h
|
||||
include/ming/shape.h
|
||||
include/ming/blocks/swf.h
|
||||
@dirrm include/ming/blocks
|
||||
@dirrm include/ming
|
||||
lib/libming.a
|
||||
lib/libming.so
|
||||
lib/libming.so.0
|
||||
share/doc/ming/CHANGES
|
||||
share/doc/ming/CREDITS
|
||||
share/doc/ming/Makefile
|
||||
share/doc/ming/README
|
||||
share/doc/ming/TODO
|
||||
share/doc/ming/index.html
|
||||
share/doc/ming/php-action.html
|
||||
share/doc/ming/php-button.html
|
||||
share/doc/ming/php-movie.html
|
||||
share/doc/ming/php-shape.html
|
||||
share/doc/ming/php-text.html
|
||||
share/doc/ming/phpref.html
|
||||
share/doc/ming/examples/action.html
|
||||
share/doc/ming/examples/action.php
|
||||
share/doc/ming/examples/alpha.dbl
|
||||
share/doc/ming/examples/alphafill.html
|
||||
share/doc/ming/examples/alphafill.jpg
|
||||
share/doc/ming/examples/alphafill.msk
|
||||
share/doc/ming/examples/alphafill.php
|
||||
share/doc/ming/examples/animation.html
|
||||
share/doc/ming/examples/animation.php
|
||||
share/doc/ming/examples/button.html
|
||||
share/doc/ming/examples/button.php
|
||||
share/doc/ming/examples/drag.html
|
||||
share/doc/ming/examples/drag.php
|
||||
share/doc/ming/examples/index.html
|
||||
share/doc/ming/examples/jpegfill.html
|
||||
share/doc/ming/examples/jpegfill.php
|
||||
share/doc/ming/examples/keypress.html
|
||||
share/doc/ming/examples/keypress.php
|
||||
share/doc/ming/examples/morph.html
|
||||
share/doc/ming/examples/morph.php
|
||||
share/doc/ming/examples/mousetrack.html
|
||||
share/doc/ming/examples/mousetrack.php
|
||||
share/doc/ming/examples/newbutton.html
|
||||
share/doc/ming/examples/newbutton.php
|
||||
share/doc/ming/examples/png.dbl
|
||||
share/doc/ming/examples/png.html
|
||||
share/doc/ming/examples/png.php
|
||||
share/doc/ming/examples/pngalpha.html
|
||||
share/doc/ming/examples/pngalpha.php
|
||||
share/doc/ming/examples/shape.html
|
||||
share/doc/ming/examples/shape.php
|
||||
share/doc/ming/examples/showswf.php
|
||||
share/doc/ming/examples/sprite.html
|
||||
share/doc/ming/examples/sprite.php
|
||||
share/doc/ming/examples/streammp3.html
|
||||
share/doc/ming/examples/streammp3.php
|
||||
share/doc/ming/examples/text.html
|
||||
share/doc/ming/examples/text.php
|
||||
share/doc/ming/images/curve.gif
|
||||
@dirrm share/doc/ming/examples
|
||||
@dirrm share/doc/ming/images
|
||||
@dirrm share/doc/ming
|
||||
share/examples/ming
|
||||
lib/libming.so.1
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.0.2e
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.0.3a
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= http://www.opaque.net/ming/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -16,7 +15,7 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${SWIG}:${PORTSDIR}/devel/SWIG-devel
|
||||
LIB_DEPENDS= ming.0:${PORTSDIR}/graphics/ming
|
||||
LIB_DEPENDS= ming.1:${PORTSDIR}/graphics/ming
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
@ -29,6 +28,9 @@ SWIG= swig1.3
|
||||
|
||||
EXAMPLES= shape.py test.py
|
||||
|
||||
post-extract:
|
||||
${LN} -sf ../ming.i ${WRKSRC}/
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- Makefile.orig Fri Oct 13 15:26:29 2000
|
||||
+++ Makefile Tue Oct 17 17:43:54 2000
|
||||
--- Makefile.orig Wed Oct 25 07:02:37 2000
|
||||
+++ Makefile Wed Oct 25 13:11:16 2000
|
||||
@@ -1,11 +1,10 @@
|
||||
all:
|
||||
- swig -python ming.i
|
||||
- swig -I.. -python ming.i
|
||||
- gcc -I .. -I /usr/include/python1.5/ -fpic -c ming_wrap.c
|
||||
- gcc -L .. -shared -o mingcmodule.so ming_wrap.o -lming
|
||||
+ ${SWIG} -python ming.i
|
||||
+ ${SWIG} -I.. -python ming.i
|
||||
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include/ming -I${LOCALBASE}/include/${PYTHON_VERSION} -fpic -c ming_wrap.c
|
||||
+ ${CC} -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= ming
|
||||
PORTVERSION= 0.0.2e
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.0.3a
|
||||
CATEGORIES= graphics ruby
|
||||
MASTER_SITES= http://www.opaque.net/ming/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -16,7 +15,7 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel
|
||||
LIB_DEPENDS= ming.0:${PORTSDIR}/graphics/ming
|
||||
LIB_DEPENDS= ming.1:${PORTSDIR}/graphics/ming
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
@ -33,7 +32,7 @@ SWIG= swig1.3
|
||||
EXAMPLES= shape.rb test.rb
|
||||
|
||||
post-extract:
|
||||
${LN} -sf ${WRKSRC}/../py_ext/*.i ${WRKSRC}/
|
||||
${LN} -sf ../ming.i ${WRKSRC}/
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/
|
||||
|
@ -1,17 +1,13 @@
|
||||
--- depend.orig Fri Oct 13 15:26:31 2000
|
||||
+++ depend Tue Oct 17 17:46:26 2000
|
||||
@@ -1,4 +1,4 @@
|
||||
-SWIGINC= ../py_ext
|
||||
+SWIGINC= .
|
||||
--- depend.orig Wed Oct 25 07:02:39 2000
|
||||
+++ depend Wed Oct 25 13:23:57 2000
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
OBJS+= ming_wrap.o
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
ming_wrap.o: ming_wrap.c
|
||||
|
||||
ming_wrap.c: ${SWIGINC}/blocklist.i ${SWIGINC}/blocktypes.i ${SWIGINC}/ming.i ${SWIGINC}/swf.i
|
||||
- swig -I${SWIGINC} -ruby ${SWIGINC}/ming.i
|
||||
+ ${SWIG} -I${SWIGINC} -ruby ${SWIGINC}/ming.i
|
||||
-ming_wrap.c: ../ming.i
|
||||
- swig -I.. -ruby ming.i
|
||||
+ming_wrap.c: ming.i
|
||||
+ ${SWIG} -ruby ming.i
|
||||
|
||||
clean: clean_local
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user