aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ming/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-25 12:32:36 +0800
committerknu <knu@FreeBSD.org>2000-10-25 12:32:36 +0800
commit7338336f25bcbd9811c15c61f11c87d3a1b49e8d (patch)
tree47840ede24dd1f608868aeaa099c9778e8a78a2b /graphics/ming/files
parent95a693f259b3b935a4c6b7c2fa8893ed3f572198 (diff)
downloadfreebsd-ports-gnome-7338336f25bcbd9811c15c61f11c87d3a1b49e8d.tar.gz
freebsd-ports-gnome-7338336f25bcbd9811c15c61f11c87d3a1b49e8d.tar.zst
freebsd-ports-gnome-7338336f25bcbd9811c15c61f11c87d3a1b49e8d.zip
Update to 0.0.3a.
Diffstat (limited to 'graphics/ming/files')
-rw-r--r--graphics/ming/files/Makefile44
1 files changed, 40 insertions, 4 deletions
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/