aboutsummaryrefslogtreecommitdiff
path: root/graphics/ming
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-25 04:32:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-25 04:32:36 +0000
commit315855ac364702ef5fcaecb83f00afe55bcab8e7 (patch)
tree74f6e42bd752280ec0873cfa83888e04e5ace0c9 /graphics/ming
parent66743463bd352c1ad4917b749dca3b89f7431f18 (diff)
downloadports-315855ac364702ef5fcaecb83f00afe55bcab8e7.tar.gz
ports-315855ac364702ef5fcaecb83f00afe55bcab8e7.zip
Notes
Diffstat (limited to 'graphics/ming')
-rw-r--r--graphics/ming/Makefile15
-rw-r--r--graphics/ming/distinfo2
-rw-r--r--graphics/ming/files/Makefile44
-rw-r--r--graphics/ming/pkg-plist69
4 files changed, 53 insertions, 77 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
index 8197e6db15bb..8077e30e6c75 100644
--- a/graphics/ming/Makefile
+++ b/graphics/ming/Makefile
@@ -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>
diff --git a/graphics/ming/distinfo b/graphics/ming/distinfo
index b8dba8e29c9a..2e0b33b86372 100644
--- a/graphics/ming/distinfo
+++ b/graphics/ming/distinfo
@@ -1 +1 @@
-MD5 (ming-0.0.2e.tgz) = affc6a0a45d76674cd4dba738a07efc2
+MD5 (ming-0.0.3a.tgz) = 6bf8c311a76c9fd6aefab9536e31bdd4
diff --git a/graphics/ming/files/Makefile b/graphics/ming/files/Makefile
index c16ed8c6fcc9..130a2a2731b9 100644
--- a/graphics/ming/files/Makefile
+++ b/graphics/ming/files/Makefile
@@ -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/
diff --git a/graphics/ming/pkg-plist b/graphics/ming/pkg-plist
index f630f1f53249..d2cffe3faf2f 100644
--- a/graphics/ming/pkg-plist
+++ b/graphics/ming/pkg-plist
@@ -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